[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] testing BenEdridge/rust-fs-mock against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenEdridge%2Frust-fs-mock" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BenEdridge/rust-fs-mock on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0313479f3a033b0db6287cea949c415e33f63489fee2430252884fbcd801ec8
[INFO] running `Command { std: "docker" "start" "-a" "b0313479f3a033b0db6287cea949c415e33f63489fee2430252884fbcd801ec8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0313479f3a033b0db6287cea949c415e33f63489fee2430252884fbcd801ec8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0313479f3a033b0db6287cea949c415e33f63489fee2430252884fbcd801ec8", kill_on_drop: false }`
[INFO] [stdout] b0313479f3a033b0db6287cea949c415e33f63489fee2430252884fbcd801ec8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8e92f5f3c9b4222bd79692a559f5c16e2f75fb6df546a0b9752a60828e28f2c1
[INFO] running `Command { std: "docker" "start" "-a" "8e92f5f3c9b4222bd79692a559f5c16e2f75fb6df546a0b9752a60828e28f2c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "8e92f5f3c9b4222bd79692a559f5c16e2f75fb6df546a0b9752a60828e28f2c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e92f5f3c9b4222bd79692a559f5c16e2f75fb6df546a0b9752a60828e28f2c1", kill_on_drop: false }`
[INFO] [stdout] 8e92f5f3c9b4222bd79692a559f5c16e2f75fb6df546a0b9752a60828e28f2c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fda56e215b5611a97d7e6eb087a120d95be2afc9b19b4abf7c3653e4d4e05817
[INFO] running `Command { std: "docker" "start" "-a" "fda56e215b5611a97d7e6eb087a120d95be2afc9b19b4abf7c3653e4d4e05817", kill_on_drop: false }`
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-fs-mock v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "fda56e215b5611a97d7e6eb087a120d95be2afc9b19b4abf7c3653e4d4e05817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fda56e215b5611a97d7e6eb087a120d95be2afc9b19b4abf7c3653e4d4e05817", kill_on_drop: false }`
[INFO] [stdout] fda56e215b5611a97d7e6eb087a120d95be2afc9b19b4abf7c3653e4d4e05817
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] af98673d4a057c0c3df69909a887660fcf22274c6e012bf28991474531c17a48
[INFO] running `Command { std: "docker" "start" "-a" "af98673d4a057c0c3df69909a887660fcf22274c6e012bf28991474531c17a48", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `size`
[INFO] [stderr]    --> src/lib.rs:485:27
[INFO] [stderr]     |
[INFO] [stderr] 485 |     pub fn set_len(&self, size: u64) -> io::Result<()> {
[INFO] [stderr]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perm`
[INFO] [stderr]    --> src/lib.rs:584:35
[INFO] [stderr]     |
[INFO] [stderr] 584 |     pub fn set_permissions(&self, perm: Permissions) -> io::Result<()> {
[INFO] [stderr]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]    --> src/lib.rs:610:19
[INFO] [stderr]     |
[INFO] [stderr] 610 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> src/lib.rs:617:24
[INFO] [stderr]     |
[INFO] [stderr] 617 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bufs`
[INFO] [stderr]    --> src/lib.rs:621:33
[INFO] [stderr]     |
[INFO] [stderr] 621 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> src/lib.rs:638:25
[INFO] [stderr]     |
[INFO] [stderr] 638 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stderr]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bufs`
[INFO] [stderr]    --> src/lib.rs:642:34
[INFO] [stderr]     |
[INFO] [stderr] 642 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stderr]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pos`
[INFO] [stderr]    --> src/lib.rs:657:24
[INFO] [stderr]     |
[INFO] [stderr] 657 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> src/lib.rs:663:24
[INFO] [stderr]     |
[INFO] [stderr] 663 |     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bufs`
[INFO] [stderr]    --> src/lib.rs:667:33
[INFO] [stderr]     |
[INFO] [stderr] 667 |     fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> src/lib.rs:684:25
[INFO] [stderr]     |
[INFO] [stderr] 684 |     fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stderr]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bufs`
[INFO] [stderr]    --> src/lib.rs:688:34
[INFO] [stderr]     |
[INFO] [stderr] 688 |     fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
[INFO] [stderr]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pos`
[INFO] [stderr]    --> src/lib.rs:703:24
[INFO] [stderr]     |
[INFO] [stderr] 703 |     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: function cannot return without recursing
[INFO] [stderr]    --> src/lib.rs:722:5
[INFO] [stderr]     |
[INFO] [stderr] 722 |     pub fn new() -> Self {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stderr] 723 |         OpenOptions::new()
[INFO] [stderr]     |         ------------------ recursive call site
[INFO] [stderr]     |
[INFO] [stderr]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stderr]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `read`
[INFO] [stderr]    --> src/lib.rs:739:28
[INFO] [stderr]     |
[INFO] [stderr] 739 |     pub fn read(&mut self, read: bool) -> &mut Self {
[INFO] [stderr]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `write`
[INFO] [stderr]    --> src/lib.rs:761:29
[INFO] [stderr]     |
[INFO] [stderr] 761 |     pub fn write(&mut self, write: bool) -> &mut Self {
[INFO] [stderr]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `append`
[INFO] [stderr]    --> src/lib.rs:807:30
[INFO] [stderr]     |
[INFO] [stderr] 807 |     pub fn append(&mut self, append: bool) -> &mut Self {
[INFO] [stderr]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_append`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `truncate`
[INFO] [stderr]    --> src/lib.rs:828:32
[INFO] [stderr]     |
[INFO] [stderr] 828 |     pub fn truncate(&mut self, truncate: bool) -> &mut Self {
[INFO] [stderr]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `create`
[INFO] [stderr]    --> src/lib.rs:847:30
[INFO] [stderr]     |
[INFO] [stderr] 847 |     pub fn create(&mut self, create: bool) -> &mut Self {
[INFO] [stderr]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `create_new`
[INFO] [stderr]    --> src/lib.rs:881:34
[INFO] [stderr]     |
[INFO] [stderr] 881 |     pub fn create_new(&mut self, create_new: bool) -> &mut Self {
[INFO] [stderr]     |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_new`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]    --> src/lib.rs:934:21
[INFO] [stderr]     |
[INFO] [stderr] 934 |     fn _open(&self, path: &Path) -> io::Result<File> {
[INFO] [stderr]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `readonly`
[INFO] [stderr]     --> src/lib.rs:1243:36
[INFO] [stderr]      |
[INFO] [stderr] 1243 |     pub fn set_readonly(&mut self, readonly: bool) {
[INFO] [stderr]      |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readonly`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1556:36
[INFO] [stderr]      |
[INFO] [stderr] 1556 | pub fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stderr]      |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1595:33
[INFO] [stderr]      |
[INFO] [stderr] 1595 | pub fn metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stderr]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1630:41
[INFO] [stderr]      |
[INFO] [stderr] 1630 | pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {
[INFO] [stderr]      |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `from`
[INFO] [stderr]     --> src/lib.rs:1674:47
[INFO] [stderr]      |
[INFO] [stderr] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stderr]      |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to`
[INFO] [stderr]     --> src/lib.rs:1674:56
[INFO] [stderr]      |
[INFO] [stderr] 1674 | pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> {
[INFO] [stderr]      |                                                        ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `from`
[INFO] [stderr]     --> src/lib.rs:1727:45
[INFO] [stderr]      |
[INFO] [stderr] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stderr]      |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to`
[INFO] [stderr]     --> src/lib.rs:1727:54
[INFO] [stderr]      |
[INFO] [stderr] 1727 | pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> {
[INFO] [stderr]      |                                                      ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `src`
[INFO] [stderr]     --> src/lib.rs:1767:50
[INFO] [stderr]      |
[INFO] [stderr] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stderr]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]     --> src/lib.rs:1767:58
[INFO] [stderr]      |
[INFO] [stderr] 1767 | pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stderr]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `src`
[INFO] [stderr]     --> src/lib.rs:1795:50
[INFO] [stderr]      |
[INFO] [stderr] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stderr]      |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dst`
[INFO] [stderr]     --> src/lib.rs:1795:58
[INFO] [stderr]      |
[INFO] [stderr] 1795 | pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> {
[INFO] [stderr]      |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_dst`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1830:34
[INFO] [stderr]      |
[INFO] [stderr] 1830 | pub fn read_link<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stderr]      |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1872:37
[INFO] [stderr]      |
[INFO] [stderr] 1872 | pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
[INFO] [stderr]      |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:1992:35
[INFO] [stderr]      |
[INFO] [stderr] 1992 | pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stderr]      |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:2030:39
[INFO] [stderr]      |
[INFO] [stderr] 2030 | pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
[INFO] [stderr]      |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:2104:33
[INFO] [stderr]      |
[INFO] [stderr] 2104 | pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
[INFO] [stderr]      |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:2140:40
[INFO] [stderr]      |
[INFO] [stderr] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stderr]      |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `perm`
[INFO] [stderr]     --> src/lib.rs:2140:49
[INFO] [stderr]      |
[INFO] [stderr] 2140 | pub fn set_permissions<P: AsRef<Path>>(path: P, perm: Permissions) -> io::Result<()> {
[INFO] [stderr]      |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_perm`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:2204:23
[INFO] [stderr]      |
[INFO] [stderr] 2204 |     fn _create(&self, path: &Path) -> io::Result<()> {
[INFO] [stderr]      |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]     --> src/lib.rs:2209:30
[INFO] [stderr]      |
[INFO] [stderr] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stderr]      |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: method `create_dir_all` is never used
[INFO] [stderr]     --> src/lib.rs:2209:8
[INFO] [stderr]      |
[INFO] [stderr] 2145 | impl DirBuilder {
[INFO] [stderr]      | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2209 |     fn create_dir_all(&self, path: &Path) -> io::Result<()> {
[INFO] [stderr]      |        ^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-fs-mock` (lib) generated 43 warnings (run `cargo fix --lib -p rust-fs-mock` to apply 41 suggestions)
[INFO] [stderr] warning: unused variable: `file`
[INFO] [stderr]  --> src/main.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let file = fs::read("path");
[INFO] [stderr]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-fs-mock` (bin "rust-fs-mock" test) generated 1 warning (run `cargo fix --bin "rust-fs-mock" -p rust-fs-mock --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-fs-mock` (lib test) generated 43 warnings (43 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rust-fs-mock/0d1b9b25343e4b61/deps/rust_fs_mock-0d1b9b25343e4b61)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/rust-fs-mock/4bd8e616ae4b8b4c/deps/rust_fs_mock-4bd8e616ae4b8b4c)
[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] [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 rust_fs_mock
[INFO] [stdout] 
[INFO] [stdout] running 62 tests
[INFO] [stdout] test src/lib.rs - File (line 34) - compile ... ok
[INFO] [stdout] test src/lib.rs - File (line 63) - compile ... ok
[INFO] [stdout] test src/lib.rs - File (line 47) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::sync_data (line 435) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirBuilder::create (line 2190) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::create (line 351) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::set_permissions (line 569) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::set_len (line 472) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::try_clone (line 515) - compile ... ok
[INFO] [stdout] test src/lib.rs - FileType::is_dir (line 1260) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::with_options (line 379) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - File::metadata (line 493) - compile ... ok
[INFO] [stdout] test src/lib.rs - FileType::is_symlink (line 1329) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::open (line 329) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::modified (line 1075) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirBuilder::new (line 2151) ... ok
[INFO] [stdout] test src/lib.rs - DirEntry::path (line 1383) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::permissions (line 1047) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions (line 163) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirEntry::file_name (line 1490) ... ok
[INFO] [stdout] test src/lib.rs - Metadata::is_dir (line 980) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::create_new (line 873) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::append (line 801) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::sync_all (line 404) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::accessed (line 1110) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::open (line 918) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirEntry::metadata (line 1426) ... ok
[INFO] [stdout] test src/lib.rs - Metadata::is_file (line 1008) - compile ... ok
[INFO] [stdout] test src/lib.rs - File::try_clone (line 529) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::new (line 715) - compile ... ok
[INFO] [stdout] test src/lib.rs - Permissions::readonly (line 1196) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::created (line 1143) - compile ... ok
[INFO] [stdout] test src/lib.rs - FileType::is_file (line 1293) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirEntry::file_type (line 1462) ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::create (line 841) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::len (line 1027) - compile ... ok
[INFO] [stdout] test src/lib.rs - hard_link (line 1758) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::truncate (line 822) - compile ... ok
[INFO] [stdout] test src/lib.rs - Permissions::set_readonly (line 1224) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions (line 154) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::read (line 733) - compile ... ok
[INFO] [stdout] test src/lib.rs - Metadata::file_type (line 957) - compile ... ok
[INFO] [stdout] test src/lib.rs - read_dir (line 2085) - compile ... ok
[INFO] [stdout] test src/lib.rs - remove_dir (line 1983) - compile ... ok
[INFO] [stdout] test src/lib.rs - OpenOptions::write (line 755) - compile ... ok
[INFO] [stdout] test src/lib.rs - soft_link (line 1786) - compile ... ok
[INFO] [stdout] test src/lib.rs - DirBuilder::recursive (line 2170) ... ok
[INFO] [stdout] test src/lib.rs - canonicalize (line 1863) - compile ... ok
[INFO] [stdout] test src/lib.rs - remove_file (line 1547) - compile ... ok
[INFO] [stdout] test src/lib.rs - remove_dir_all (line 2021) - compile ... ok
[INFO] [stdout] test src/lib.rs - metadata (line 1585) - compile ... ok
[INFO] [stdout] test src/lib.rs - rename (line 1665) - compile ... ok
[INFO] [stdout] test src/lib.rs - read (line 229) - compile ... ok
[INFO] [stdout] test src/lib.rs - read_to_string (line 268) - compile ... ok
[INFO] [stdout] test src/lib.rs - copy (line 1718) - compile ... ok
[INFO] [stdout] test src/lib.rs - create_dir (line 1904) - compile ... ok
[INFO] [stdout] test src/lib.rs - set_permissions (line 2129) - compile ... ok
[INFO] [stdout] test src/lib.rs - create_dir_all (line 1948) - compile ... ok
[INFO] [stdout] test src/lib.rs - write (line 300) - compile ... ok
[INFO] [stdout] test src/lib.rs - read_link (line 1821) - compile ... ok
[INFO] [stdout] test src/lib.rs - symlink_metadata (line 1620) - compile ... ok
[INFO] [stdout] test src/lib.rs - read_dir (line 2063) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - File::with_options (line 379) stdout ----
[INFO] [stdout] warning: the feature `with_options` has been stable since 1.58.0 and no longer requires an attribute to enable
[INFO] [stdout]    --> src/lib.rs:380:12
[INFO] [stdout]     |
[INFO] [stdout] 380 | #![feature(with_options)]
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_options` found for struct `File` in the current scope
[INFO] [stdout]    --> src/lib.rs:385:23
[INFO] [stdout]     |
[INFO] [stdout] 385 |     let mut f = File::with_options().read(true).open("foo.txt")?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^ function or associated item not found in `File`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions:
[INFO] [stdout]       File::open
[INFO] [stdout]       File::create
[INFO] [stdout]       File::create_new
[INFO] [stdout]    --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/fs.rs:569:4
[INFO] [stdout] help: there is an associated function `options` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 385 -     let mut f = File::with_options().read(true).open("foo.txt")?;
[INFO] [stdout] 385 +     let mut f = File::options().read(true).open("foo.txt")?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - File::with_options (line 379)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 61 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "af98673d4a057c0c3df69909a887660fcf22274c6e012bf28991474531c17a48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af98673d4a057c0c3df69909a887660fcf22274c6e012bf28991474531c17a48", kill_on_drop: false }`
[INFO] [stdout] af98673d4a057c0c3df69909a887660fcf22274c6e012bf28991474531c17a48
