[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] testing stay-on-main/fs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stay-on-main/fs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-16/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" "+1.60.0" "fetch" "--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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1c8490aa5491b699b0c60b3599e3c1c7e595829a25e0c3e0c3814ff4357ad38 [INFO] running `Command { std: "docker" "start" "-a" "a1c8490aa5491b699b0c60b3599e3c1c7e595829a25e0c3e0c3814ff4357ad38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1c8490aa5491b699b0c60b3599e3c1c7e595829a25e0c3e0c3814ff4357ad38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c8490aa5491b699b0c60b3599e3c1c7e595829a25e0c3e0c3814ff4357ad38", kill_on_drop: false }` [INFO] [stdout] a1c8490aa5491b699b0c60b3599e3c1c7e595829a25e0c3e0c3814ff4357ad38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6ae88942e7f991258382166f8850f384171002384bd5654843da5945cda8361 [INFO] running `Command { std: "docker" "start" "-a" "f6ae88942e7f991258382166f8850f384171002384bd5654843da5945cda8361", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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 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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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" "f6ae88942e7f991258382166f8850f384171002384bd5654843da5945cda8361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ae88942e7f991258382166f8850f384171002384bd5654843da5945cda8361", kill_on_drop: false }` [INFO] [stdout] f6ae88942e7f991258382166f8850f384171002384bd5654843da5945cda8361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8edfaaeb9e6b87eb4a42a4eda2a8b0866fc502362104ba882c58280e89e19be5 [INFO] running `Command { std: "docker" "start" "-a" "8edfaaeb9e6b87eb4a42a4eda2a8b0866fc502362104ba882c58280e89e19be5", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fs/sector.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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 test [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "8edfaaeb9e6b87eb4a42a4eda2a8b0866fc502362104ba882c58280e89e19be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8edfaaeb9e6b87eb4a42a4eda2a8b0866fc502362104ba882c58280e89e19be5", kill_on_drop: false }` [INFO] [stdout] 8edfaaeb9e6b87eb4a42a4eda2a8b0866fc502362104ba882c58280e89e19be5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31ba00630d8750a012e4c3f0c5fa86ca48247190e3b08d2a3a409467547c418d [INFO] running `Command { std: "docker" "start" "-a" "31ba00630d8750a012e4c3f0c5fa86ca48247190e3b08d2a3a409467547c418d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Seek`, `Write` [INFO] [stderr] --> src/fs/dir.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::fs::stream::{Seek, Read, Write}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cluster` [INFO] [stderr] --> src/fs/fs.rs:193:39 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/fs/fs.rs:193:53 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cluster` [INFO] [stderr] --> src/fs/fs.rs:252:37 [INFO] [stderr] | [INFO] [stderr] 252 | pub fn cluster_to_sector(&self, cluster: u32) -> u32 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/fs/file.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/fs/dir.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | Err(e) => return None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/fs/stream.rs:113:27 [INFO] [stderr] | [INFO] [stderr] 113 | SeekFrom::End(end) => todo!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fat32` [INFO] [stderr] --> src/fs/fs.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Fat32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fat16` [INFO] [stderr] --> src/fs/fs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Fat16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fat12` [INFO] [stderr] --> src/fs/fs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Fat12, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `io` [INFO] [stderr] --> src/fs/fs.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | io: &'bd dyn BlockDeviceIo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `table_chain_delete` [INFO] [stderr] --> src/fs/fs.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn table_chain_delete(&self, cluster: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `table_chain_set_len` [INFO] [stderr] --> src/fs/fs.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn table_chain_set_len(&self, cluster: u32, count: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadBlockSize` [INFO] [stderr] --> src/fs/sector.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | BadBlockSize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PartitionOutOfStorageSpace` [INFO] [stderr] --> src/fs/sector.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | PartitionOutOfStorageSpace, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReadError` [INFO] [stderr] --> src/fs/sector.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ReadError, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WriteError` [INFO] [stderr] --> src/fs/sector.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | WriteError, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DirEntryNotFile` [INFO] [stderr] --> src/fs/sector.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | DirEntryNotFile, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FileOrFolderDesntExist` [INFO] [stderr] --> src/fs/sector.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | FileOrFolderDesntExist, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadCount` [INFO] [stderr] --> src/fs/sector.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | BadCount, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EndOfFile` [INFO] [stderr] --> src/fs/sector.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | EndOfFile, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnExpectedEndOfFile` [INFO] [stderr] --> src/fs/sector.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | UnExpectedEndOfFile, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FsErr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fs/sector.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Copy, Clone, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLOCK_MIN_SIZE` [INFO] [stderr] --> src/fs/sector.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | const BLOCK_MIN_SIZE: usize = 512; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/fs/sector.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/fs/sector.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn new(io: &'bd dyn BlockDeviceIo) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `File` [INFO] [stderr] --> src/fs/file.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct File<'stream, 'bd: 'stream> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read` [INFO] [stderr] --> src/fs/file.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn read(&mut self, buff: &mut[u8]) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write` [INFO] [stderr] --> src/fs/file.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn write(&mut self, buff: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `seek` [INFO] [stderr] --> src/fs/file.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn seek(&mut self, offset: SeekFrom) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `resize` [INFO] [stderr] --> src/fs/file.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn resize(&mut self, size: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `close` [INFO] [stderr] --> src/fs/file.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn close(mut self) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data` [INFO] [stderr] --> src/fs/dir.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | data: [u8; 32], [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Start` [INFO] [stderr] --> src/fs/stream.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Start(u32), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Current` [INFO] [stderr] --> src/fs/stream.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Current(i32), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `End` [INFO] [stderr] --> src/fs/stream.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | End(i32), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_len` [INFO] [stderr] --> src/fs/stream.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_len(&mut self, cluster_count: u32) -> Result<(), FsErr> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stream` (bin "stream" test) generated 36 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stream-a74b01ca43bfe460) [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] running `Command { std: "docker" "inspect" "31ba00630d8750a012e4c3f0c5fa86ca48247190e3b08d2a3a409467547c418d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ba00630d8750a012e4c3f0c5fa86ca48247190e3b08d2a3a409467547c418d", kill_on_drop: false }` [INFO] [stdout] 31ba00630d8750a012e4c3f0c5fa86ca48247190e3b08d2a3a409467547c418d