[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenEdridge%2Frust-fs-mock" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenEdridge/rust-fs-mock on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 731ed9f570f3047df76beedc60d40746bf81f46cce57864797f8de35c7773d79 [INFO] running `Command { std: "docker" "start" "-a" "731ed9f570f3047df76beedc60d40746bf81f46cce57864797f8de35c7773d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "731ed9f570f3047df76beedc60d40746bf81f46cce57864797f8de35c7773d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731ed9f570f3047df76beedc60d40746bf81f46cce57864797f8de35c7773d79", kill_on_drop: false }` [INFO] [stdout] 731ed9f570f3047df76beedc60d40746bf81f46cce57864797f8de35c7773d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6ef00f05304036a268d9f896b8ed3ad35f2fe3e82cec90e30e75965ebf3a0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b6ef00f05304036a268d9f896b8ed3ad35f2fe3e82cec90e30e75965ebf3a0d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust-fs-mock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:1556:36 [INFO] [stdout] | [INFO] [stdout] 1556 | pub fn remove_file>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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>(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:1630:41 [INFO] [stdout] | [INFO] [stdout] 1630 | pub fn symlink_metadata>(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: `from` [INFO] [stdout] --> src/lib.rs:1674:47 [INFO] [stdout] | [INFO] [stdout] 1674 | pub fn rename, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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:1727:54 [INFO] [stdout] | [INFO] [stdout] 1727 | pub fn copy, Q: AsRef>(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: `src` [INFO] [stdout] --> src/lib.rs:1767:50 [INFO] [stdout] | [INFO] [stdout] 1767 | pub fn hard_link, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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>(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:1872:37 [INFO] [stdout] | [INFO] [stdout] 1872 | pub fn canonicalize>(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:1992:35 [INFO] [stdout] | [INFO] [stdout] 1992 | pub fn remove_dir>(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>(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>(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:2140:40 [INFO] [stdout] | [INFO] [stdout] 2140 | pub fn set_permissions>(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>(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: `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] [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [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 { [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: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: unused variable: `path` [INFO] [stdout] --> src/lib.rs:1556:36 [INFO] [stdout] | [INFO] [stdout] 1556 | pub fn remove_file>(path: P) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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>(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:1630:41 [INFO] [stdout] | [INFO] [stdout] 1630 | pub fn symlink_metadata>(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: `from` [INFO] [stdout] --> src/lib.rs:1674:47 [INFO] [stdout] | [INFO] [stdout] 1674 | pub fn rename, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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:1727:54 [INFO] [stdout] | [INFO] [stdout] 1727 | pub fn copy, Q: AsRef>(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: `src` [INFO] [stdout] --> src/lib.rs:1767:50 [INFO] [stdout] | [INFO] [stdout] 1767 | pub fn hard_link, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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, Q: AsRef>(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>(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:1872:37 [INFO] [stdout] | [INFO] [stdout] 1872 | pub fn canonicalize>(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:1992:35 [INFO] [stdout] | [INFO] [stdout] 1992 | pub fn remove_dir>(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>(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>(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:2140:40 [INFO] [stdout] | [INFO] [stdout] 2140 | pub fn set_permissions>(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>(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: `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] [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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 { [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] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [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 { [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: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: 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] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_dir_all` [INFO] [stdout] --> src/lib.rs:2209:8 [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: associated function is never used: `create_dir_all` [INFO] [stdout] --> src/lib.rs:2209:8 [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: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "6b6ef00f05304036a268d9f896b8ed3ad35f2fe3e82cec90e30e75965ebf3a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6ef00f05304036a268d9f896b8ed3ad35f2fe3e82cec90e30e75965ebf3a0d", kill_on_drop: false }` [INFO] [stdout] 6b6ef00f05304036a268d9f896b8ed3ad35f2fe3e82cec90e30e75965ebf3a0d