[INFO] cloning repository https://github.com/stay-on-main/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" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2381acf3a75cd2cc45cbf16f332d1fe4a5bcb729 [INFO] checking stay-on-main/fs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stay-on-main/fs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stay-on-main/fs [INFO] finished tweaking git repo https://github.com/stay-on-main/fs [INFO] tweaked toml for git repo https://github.com/stay-on-main/fs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/stay-on-main/fs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c28d61ff95c7a5619c5b416bbe19c0f5447c4c4b4b33b0c024d63bfcea0ecf [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" "84c28d61ff95c7a5619c5b416bbe19c0f5447c4c4b4b33b0c024d63bfcea0ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c28d61ff95c7a5619c5b416bbe19c0f5447c4c4b4b33b0c024d63bfcea0ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c28d61ff95c7a5619c5b416bbe19c0f5447c4c4b4b33b0c024d63bfcea0ecf", kill_on_drop: false }` [INFO] [stdout] 84c28d61ff95c7a5619c5b416bbe19c0f5447c4c4b4b33b0c024d63bfcea0ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 925eaa54be2576d0c7aab8b55c78d90c73332b0d608be3e7c195a94cb191fca6 [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" "925eaa54be2576d0c7aab8b55c78d90c73332b0d608be3e7c195a94cb191fca6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Seek`, `Write` [INFO] [stdout] --> src/fs/dir.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::fs::stream::{Seek, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Seek`, `Write` [INFO] [stdout] --> src/fs/dir.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::fs::stream::{Seek, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/fs/fs.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/fs/fs.rs:193:53 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/fs/fs.rs:252:37 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn cluster_to_sector(&self, cluster: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/fs/file.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fs/dir.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/fs/stream.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | SeekFrom::End(end) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat32` [INFO] [stdout] --> src/fs/fs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Fat32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat16` [INFO] [stdout] --> src/fs/fs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Fat16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat12` [INFO] [stdout] --> src/fs/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Fat12, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `io` [INFO] [stdout] --> src/fs/fs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | io: &'bd dyn BlockDeviceIo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `table_chain_delete` [INFO] [stdout] --> src/fs/fs.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn table_chain_delete(&self, cluster: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `table_chain_set_len` [INFO] [stdout] --> src/fs/fs.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadBlockSize` [INFO] [stdout] --> src/fs/sector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadBlockSize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PartitionOutOfStorageSpace` [INFO] [stdout] --> src/fs/sector.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | PartitionOutOfStorageSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReadError` [INFO] [stdout] --> src/fs/sector.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ReadError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WriteError` [INFO] [stdout] --> src/fs/sector.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WriteError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirEntryNotFile` [INFO] [stdout] --> src/fs/sector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | DirEntryNotFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileOrFolderDesntExist` [INFO] [stdout] --> src/fs/sector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | FileOrFolderDesntExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadCount` [INFO] [stdout] --> src/fs/sector.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | BadCount, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndOfFile` [INFO] [stdout] --> src/fs/sector.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | EndOfFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnExpectedEndOfFile` [INFO] [stdout] --> src/fs/sector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | UnExpectedEndOfFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLOCK_MIN_SIZE` [INFO] [stdout] --> src/fs/sector.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const BLOCK_MIN_SIZE: usize = 512; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/sector.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/sector.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/fs/file.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct File<'stream, 'bd: 'stream> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/fs/file.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read(&mut self, buff: &mut[u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/fs/file.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write(&mut self, buff: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seek` [INFO] [stdout] --> src/fs/file.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn seek(&mut self, offset: SeekFrom) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> src/fs/file.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/fs/file.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn close(mut self) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/fs/dir.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | data: [u8; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/fs/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Start(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Current` [INFO] [stdout] --> src/fs/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Current(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `End` [INFO] [stdout] --> src/fs/stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | End(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_len` [INFO] [stdout] --> src/fs/stream.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_len(&mut self, cluster_count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/fs/fs.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/fs/fs.rs:193:53 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/fs/fs.rs:252:37 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn cluster_to_sector(&self, cluster: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/fs/file.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/fs/dir.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => return None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/fs/stream.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | SeekFrom::End(end) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat32` [INFO] [stdout] --> src/fs/fs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Fat32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat16` [INFO] [stdout] --> src/fs/fs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Fat16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fat12` [INFO] [stdout] --> src/fs/fs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Fat12, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `io` [INFO] [stdout] --> src/fs/fs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | io: &'bd dyn BlockDeviceIo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `table_chain_delete` [INFO] [stdout] --> src/fs/fs.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn table_chain_delete(&self, cluster: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `table_chain_set_len` [INFO] [stdout] --> src/fs/fs.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadBlockSize` [INFO] [stdout] --> src/fs/sector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadBlockSize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PartitionOutOfStorageSpace` [INFO] [stdout] --> src/fs/sector.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | PartitionOutOfStorageSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReadError` [INFO] [stdout] --> src/fs/sector.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ReadError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WriteError` [INFO] [stdout] --> src/fs/sector.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WriteError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirEntryNotFile` [INFO] [stdout] --> src/fs/sector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | DirEntryNotFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileOrFolderDesntExist` [INFO] [stdout] --> src/fs/sector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | FileOrFolderDesntExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadCount` [INFO] [stdout] --> src/fs/sector.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | BadCount, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndOfFile` [INFO] [stdout] --> src/fs/sector.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | EndOfFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnExpectedEndOfFile` [INFO] [stdout] --> src/fs/sector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | UnExpectedEndOfFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLOCK_MIN_SIZE` [INFO] [stdout] --> src/fs/sector.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const BLOCK_MIN_SIZE: usize = 512; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/sector.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/sector.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/fs/file.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct File<'stream, 'bd: 'stream> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/fs/file.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read(&mut self, buff: &mut[u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/fs/file.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write(&mut self, buff: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `seek` [INFO] [stdout] --> src/fs/file.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn seek(&mut self, offset: SeekFrom) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> src/fs/file.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/fs/file.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn close(mut self) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/fs/dir.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | data: [u8; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/fs/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Start(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Current` [INFO] [stdout] --> src/fs/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Current(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `End` [INFO] [stdout] --> src/fs/stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | End(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_len` [INFO] [stdout] --> src/fs/stream.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_len(&mut self, cluster_count: u32) -> Result<(), FsErr> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "925eaa54be2576d0c7aab8b55c78d90c73332b0d608be3e7c195a94cb191fca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925eaa54be2576d0c7aab8b55c78d90c73332b0d608be3e7c195a94cb191fca6", kill_on_drop: false }` [INFO] [stdout] 925eaa54be2576d0c7aab8b55c78d90c73332b0d608be3e7c195a94cb191fca6