[INFO] cloning repository https://github.com/BenEdridge/rust-fs-mock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenEdridge/rust-fs-mock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenEdridge%2Frust-fs-mock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenEdridge%2Frust-fs-mock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 75569afb7e963aeaf0b0fbbc497423f54e6b561a
[INFO] checking BenEdridge/rust-fs-mock against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenEdridge%2Frust-fs-mock" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BenEdridge/rust-fs-mock on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BenEdridge/rust-fs-mock
[INFO] finished tweaking git repo https://github.com/BenEdridge/rust-fs-mock
[INFO] tweaked toml for git repo https://github.com/BenEdridge/rust-fs-mock written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/BenEdridge/rust-fs-mock 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae04e87d728181754b79a4a015a045bdd366bbc6aa7a0120c9b1180d7b6b0406
[INFO] running `Command { std: "docker" "start" "-a" "ae04e87d728181754b79a4a015a045bdd366bbc6aa7a0120c9b1180d7b6b0406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae04e87d728181754b79a4a015a045bdd366bbc6aa7a0120c9b1180d7b6b0406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae04e87d728181754b79a4a015a045bdd366bbc6aa7a0120c9b1180d7b6b0406", kill_on_drop: false }`
[INFO] [stdout] ae04e87d728181754b79a4a015a045bdd366bbc6aa7a0120c9b1180d7b6b0406
[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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a888b467694d913c94d7619320566e48e9f81cdabdbb0b8c2c1e06323571eddf
[INFO] running `Command { std: "docker" "start" "-a" "a888b467694d913c94d7619320566e48e9f81cdabdbb0b8c2c1e06323571eddf", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-fs-mock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/lib.rs:485:27
[INFO] [stdout]     |
[INFO] [stdout] 485 |     pub fn set_len(&self, size: u64) -> io::Result<()> {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perm`
[INFO] [stdout]    --> src/lib.rs:584:35
[INFO] [stdout]     |
[INFO] [stdout] 584 |     pub fn set_permissions(&self, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:610:19
[INFO] [stdout]     |
[INFO] [stdout] 610 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:617:24
[INFO] [stdout]     |
[INFO] [stdout] 617 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:621:33
[INFO] [stdout]     |
[INFO] [stdout] 621 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:638:25
[INFO] [stdout]     |
[INFO] [stdout] 638 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:642:34
[INFO] [stdout]     |
[INFO] [stdout] 642 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/lib.rs:657:24
[INFO] [stdout]     |
[INFO] [stdout] 657 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:663:24
[INFO] [stdout]     |
[INFO] [stdout] 663 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:667:33
[INFO] [stdout]     |
[INFO] [stdout] 667 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:684:25
[INFO] [stdout]     |
[INFO] [stdout] 684 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:688:34
[INFO] [stdout]     |
[INFO] [stdout] 688 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/lib.rs:703:24
[INFO] [stdout]     |
[INFO] [stdout] 703 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/lib.rs:722:5
[INFO] [stdout]     |
[INFO] [stdout] 722 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 723 |         OpenOptions::new()
[INFO] [stdout]     |         ------------------ recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read`
[INFO] [stdout]    --> src/lib.rs:739:28
[INFO] [stdout]     |
[INFO] [stdout] 739 |     pub fn read(&mut self, read: bool) -> &mut Self {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]    --> src/lib.rs:761:29
[INFO] [stdout]     |
[INFO] [stdout] 761 |     pub fn write(&mut self, write: bool) -> &mut Self {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `append`
[INFO] [stdout]    --> src/lib.rs:807:30
[INFO] [stdout]     |
[INFO] [stdout] 807 |     pub fn append(&mut self, append: bool) -> &mut Self {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_append`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `truncate`
[INFO] [stdout]    --> src/lib.rs:828:32
[INFO] [stdout]     |
[INFO] [stdout] 828 |     pub fn truncate(&mut self, truncate: bool) -> &mut Self {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `create`
[INFO] [stdout]    --> src/lib.rs:847:30
[INFO] [stdout]     |
[INFO] [stdout] 847 |     pub fn create(&mut self, create: bool) -> &mut Self {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `create_new`
[INFO] [stdout]    --> src/lib.rs:881:34
[INFO] [stdout]     |
[INFO] [stdout] 881 |     pub fn create_new(&mut self, create_new: bool) -> &mut Self {
[INFO] [stdout]     |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/lib.rs:934:21
[INFO] [stdout]     |
[INFO] [stdout] 934 |     fn _open(&self, path: &Path) -> io::Result<File> {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `readonly`
[INFO] [stdout]     --> src/lib.rs:1243:36
[INFO] [stdout]      |
[INFO] [stdout] 1243 |     pub fn set_readonly(&mut self, readonly: bool) {
[INFO] [stdout]      |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readonly`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1556:36
[INFO] [stdout]      |
[INFO] [stdout] 1556 | pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1595:33
[INFO] [stdout]      |
[INFO] [stdout] 1595 | pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stdout]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1630:41
[INFO] [stdout]      |
[INFO] [stdout] 1630 | pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stdout]      |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/lib.rs:1674:47
[INFO] [stdout]      |
[INFO] [stdout] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stdout]      |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/lib.rs:1674:56
[INFO] [stdout]      |
[INFO] [stdout] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                        ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/lib.rs:1727:45
[INFO] [stdout]      |
[INFO] [stdout] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stdout]      |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/lib.rs:1727:54
[INFO] [stdout]      |
[INFO] [stdout] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stdout]      |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]     --> src/lib.rs:1767:50
[INFO] [stdout]      |
[INFO] [stdout] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]     --> src/lib.rs:1767:58
[INFO] [stdout]      |
[INFO] [stdout] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]     --> src/lib.rs:1795:50
[INFO] [stdout]      |
[INFO] [stdout] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]     --> src/lib.rs:1795:58
[INFO] [stdout]      |
[INFO] [stdout] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1830:34
[INFO] [stdout]      |
[INFO] [stdout] 1830 | pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stdout]      |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1872:37
[INFO] [stdout]      |
[INFO] [stdout] 1872 | pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stdout]      |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1992:35
[INFO] [stdout]      |
[INFO] [stdout] 1992 | pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2030:39
[INFO] [stdout]      |
[INFO] [stdout] 2030 | pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2104:33
[INFO] [stdout]      |
[INFO] [stdout] 2104 | pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
[INFO] [stdout]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2140:40
[INFO] [stdout]      |
[INFO] [stdout] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]      |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perm`
[INFO] [stdout]     --> src/lib.rs:2140:49
[INFO] [stdout]      |
[INFO] [stdout] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]      |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2204:23
[INFO] [stdout]      |
[INFO] [stdout] 2204 |     fn _create(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2209:30
[INFO] [stdout]      |
[INFO] [stdout] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_dir_all` is never used
[INFO] [stdout]     --> src/lib.rs:2209:8
[INFO] [stdout]      |
[INFO] [stdout] 2145 | impl DirBuilder {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/lib.rs:485:27
[INFO] [stdout]     |
[INFO] [stdout] 485 |     pub fn set_len(&self, size: u64) -> io::Result<()> {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perm`
[INFO] [stdout]    --> src/lib.rs:584:35
[INFO] [stdout]     |
[INFO] [stdout] 584 |     pub fn set_permissions(&self, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:610:19
[INFO] [stdout]     |
[INFO] [stdout] 610 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:617:24
[INFO] [stdout]     |
[INFO] [stdout] 617 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:621:33
[INFO] [stdout]     |
[INFO] [stdout] 621 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:638:25
[INFO] [stdout]     |
[INFO] [stdout] 638 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:642:34
[INFO] [stdout]     |
[INFO] [stdout] 642 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/lib.rs:657:24
[INFO] [stdout]     |
[INFO] [stdout] 657 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:663:24
[INFO] [stdout]     |
[INFO] [stdout] 663 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:667:33
[INFO] [stdout]     |
[INFO] [stdout] 667 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:684:25
[INFO] [stdout]     |
[INFO] [stdout] 684 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout]    --> src/lib.rs:688:34
[INFO] [stdout]     |
[INFO] [stdout] 688 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/lib.rs:703:24
[INFO] [stdout]     |
[INFO] [stdout] 703 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/lib.rs:722:5
[INFO] [stdout]     |
[INFO] [stdout] 722 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 723 |         OpenOptions::new()
[INFO] [stdout]     |         ------------------ recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read`
[INFO] [stdout]    --> src/lib.rs:739:28
[INFO] [stdout]     |
[INFO] [stdout] 739 |     pub fn read(&mut self, read: bool) -> &mut Self {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]    --> src/lib.rs:761:29
[INFO] [stdout]     |
[INFO] [stdout] 761 |     pub fn write(&mut self, write: bool) -> &mut Self {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `append`
[INFO] [stdout]    --> src/lib.rs:807:30
[INFO] [stdout]     |
[INFO] [stdout] 807 |     pub fn append(&mut self, append: bool) -> &mut Self {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_append`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `truncate`
[INFO] [stdout]    --> src/lib.rs:828:32
[INFO] [stdout]     |
[INFO] [stdout] 828 |     pub fn truncate(&mut self, truncate: bool) -> &mut Self {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `create`
[INFO] [stdout]    --> src/lib.rs:847:30
[INFO] [stdout]     |
[INFO] [stdout] 847 |     pub fn create(&mut self, create: bool) -> &mut Self {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `create_new`
[INFO] [stdout]    --> src/lib.rs:881:34
[INFO] [stdout]     |
[INFO] [stdout] 881 |     pub fn create_new(&mut self, create_new: bool) -> &mut Self {
[INFO] [stdout]     |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/lib.rs:934:21
[INFO] [stdout]     |
[INFO] [stdout] 934 |     fn _open(&self, path: &Path) -> io::Result<File> {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `readonly`
[INFO] [stdout]     --> src/lib.rs:1243:36
[INFO] [stdout]      |
[INFO] [stdout] 1243 |     pub fn set_readonly(&mut self, readonly: bool) {
[INFO] [stdout]      |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readonly`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1556:36
[INFO] [stdout]      |
[INFO] [stdout] 1556 | pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1595:33
[INFO] [stdout]      |
[INFO] [stdout] 1595 | pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stdout]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1630:41
[INFO] [stdout]      |
[INFO] [stdout] 1630 | pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stdout]      |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/lib.rs:1674:47
[INFO] [stdout]      |
[INFO] [stdout] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stdout]      |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/lib.rs:1674:56
[INFO] [stdout]      |
[INFO] [stdout] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                        ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/lib.rs:1727:45
[INFO] [stdout]      |
[INFO] [stdout] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stdout]      |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/lib.rs:1727:54
[INFO] [stdout]      |
[INFO] [stdout] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stdout]      |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]     --> src/lib.rs:1767:50
[INFO] [stdout]      |
[INFO] [stdout] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]     --> src/lib.rs:1767:58
[INFO] [stdout]      |
[INFO] [stdout] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]     --> src/lib.rs:1795:50
[INFO] [stdout]      |
[INFO] [stdout] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dst`
[INFO] [stdout]     --> src/lib.rs:1795:58
[INFO] [stdout]      |
[INFO] [stdout] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stdout]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1830:34
[INFO] [stdout]      |
[INFO] [stdout] 1830 | pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stdout]      |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1872:37
[INFO] [stdout]      |
[INFO] [stdout] 1872 | pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stdout]      |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:1992:35
[INFO] [stdout]      |
[INFO] [stdout] 1992 | pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2030:39
[INFO] [stdout]      |
[INFO] [stdout] 2030 | pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stdout]      |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2104:33
[INFO] [stdout]      |
[INFO] [stdout] 2104 | pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
[INFO] [stdout]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2140:40
[INFO] [stdout]      |
[INFO] [stdout] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]      |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perm`
[INFO] [stdout]     --> src/lib.rs:2140:49
[INFO] [stdout]      |
[INFO] [stdout] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stdout]      |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2204:23
[INFO] [stdout]      |
[INFO] [stdout] 2204 |     fn _create(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]     --> src/lib.rs:2209:30
[INFO] [stdout]      |
[INFO] [stdout] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_dir_all` is never used
[INFO] [stdout]     --> src/lib.rs:2209:8
[INFO] [stdout]      |
[INFO] [stdout] 2145 | impl DirBuilder {
[INFO] [stdout]      | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let file = fs::read("path");
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let file = fs::read("path");
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "a888b467694d913c94d7619320566e48e9f81cdabdbb0b8c2c1e06323571eddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a888b467694d913c94d7619320566e48e9f81cdabdbb0b8c2c1e06323571eddf", kill_on_drop: false }`
[INFO] [stdout] a888b467694d913c94d7619320566e48e9f81cdabdbb0b8c2c1e06323571eddf
