[INFO] cloning repository https://github.com/stay-on-main/fs_fs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stay-on-main/fs_fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs_fs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs_fs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aecf2fceebaa52c2c3a3779ffd6855fe3d8cfb2d [INFO] checking stay-on-main/fs_fs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs_fs" "/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/stay-on-main/fs_fs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stay-on-main/fs_fs [INFO] finished tweaking git repo https://github.com/stay-on-main/fs_fs [INFO] tweaked toml for git repo https://github.com/stay-on-main/fs_fs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/stay-on-main/fs_fs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a993780b2024b9f29c5fb4ed5b74da46bbace37f8cbf5140c3be9cb670c808 [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" "32a993780b2024b9f29c5fb4ed5b74da46bbace37f8cbf5140c3be9cb670c808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a993780b2024b9f29c5fb4ed5b74da46bbace37f8cbf5140c3be9cb670c808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a993780b2024b9f29c5fb4ed5b74da46bbace37f8cbf5140c3be9cb670c808", kill_on_drop: false }` [INFO] [stdout] 32a993780b2024b9f29c5fb4ed5b74da46bbace37f8cbf5140c3be9cb670c808 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 07b91d46f6080b600209c87732deebdaa5f6390c6a57c3bcb15cbda7e9b05b51 [INFO] running `Command { std: "docker" "start" "-a" "07b91d46f6080b600209c87732deebdaa5f6390c6a57c3bcb15cbda7e9b05b51", kill_on_drop: false }` [INFO] [stderr] Checking zzz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn open(cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_cluster` [INFO] [stdout] --> src/main.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parrent_cluster` [INFO] [stdout] --> src/main.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_cluster` [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parrent_cluster` [INFO] [stdout] --> src/main.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn open(cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_cluster` [INFO] [stdout] --> src/main.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parrent_cluster` [INFO] [stdout] --> src/main.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_cluster` [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parrent_cluster` [INFO] [stdout] --> src/main.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn open(cluster: u32) -> 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` [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn create() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content_cluster` [INFO] [stdout] --> src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn content_cluster(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn delete(self) -> Result<()>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parrent` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | parrent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_new` [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_new` [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rename` [INFO] [stdout] --> src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn update(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_file` [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_dir` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_dir(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parrent` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn parrent(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cluster` [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn cluster(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mark_as_removed` [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn mark_as_removed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir_entry` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | dir_entry: DirEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | stream: ClusterStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | stream: ClusterStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(cluster: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dir` [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | struct Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner` [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn inner(self) -> DirEntry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/main.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn find(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_open` [INFO] [stdout] --> src/main.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn file_open(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_create` [INFO] [stdout] --> src/main.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn file_create(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_open` [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn dir_open(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_create` [INFO] [stdout] --> src/main.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn dir_create(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/main.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn remove(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rename` [INFO] [stdout] --> src/main.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn rename(&self, name: &str, new_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/main.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn is_empty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn iter(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn open(cluster: u32) -> 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` [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn create() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content_cluster` [INFO] [stdout] --> src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn content_cluster(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn delete(self) -> Result<()>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parrent` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | parrent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_new` [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_new` [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rename` [INFO] [stdout] --> src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn update(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_file` [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_dir` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_dir(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parrent` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn parrent(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cluster` [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn cluster(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mark_as_removed` [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn mark_as_removed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir_entry` [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | dir_entry: DirEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | stream: ClusterStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | stream: ClusterStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(cluster: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dir` [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | struct Dir { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner` [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn inner(self) -> DirEntry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/main.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn find(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_open` [INFO] [stdout] --> src/main.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn file_open(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_create` [INFO] [stdout] --> src/main.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn file_create(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_open` [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn dir_open(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir_create` [INFO] [stdout] --> src/main.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn dir_create(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/main.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn remove(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rename` [INFO] [stdout] --> src/main.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn rename(&self, name: &str, new_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/main.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn is_empty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn iter(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "07b91d46f6080b600209c87732deebdaa5f6390c6a57c3bcb15cbda7e9b05b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b91d46f6080b600209c87732deebdaa5f6390c6a57c3bcb15cbda7e9b05b51", kill_on_drop: false }` [INFO] [stdout] 07b91d46f6080b600209c87732deebdaa5f6390c6a57c3bcb15cbda7e9b05b51