[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] testing stay-on-main/fs_fs against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Ffs_fs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stay-on-main/fs_fs on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da048ad59ac26e383a19a8dab8ca6d7b437a47fc1f567af75ed86bfc30d6d661 [INFO] running `Command { std: "docker" "start" "-a" "da048ad59ac26e383a19a8dab8ca6d7b437a47fc1f567af75ed86bfc30d6d661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da048ad59ac26e383a19a8dab8ca6d7b437a47fc1f567af75ed86bfc30d6d661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da048ad59ac26e383a19a8dab8ca6d7b437a47fc1f567af75ed86bfc30d6d661", kill_on_drop: false }` [INFO] [stdout] da048ad59ac26e383a19a8dab8ca6d7b437a47fc1f567af75ed86bfc30d6d661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0652c9a8efb94eac2259934b0087f0cd947551faa626230ca9095c9e514cbac0 [INFO] running `Command { std: "docker" "start" "-a" "0652c9a8efb94eac2259934b0087f0cd947551faa626230ca9095c9e514cbac0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "0652c9a8efb94eac2259934b0087f0cd947551faa626230ca9095c9e514cbac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0652c9a8efb94eac2259934b0087f0cd947551faa626230ca9095c9e514cbac0", kill_on_drop: false }` [INFO] [stdout] 0652c9a8efb94eac2259934b0087f0cd947551faa626230ca9095c9e514cbac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c61b716757d9588cb1f2cc080de1be00d5e03576fcca37fc57b8bf63caeb55a0 [INFO] running `Command { std: "docker" "start" "-a" "c61b716757d9588cb1f2cc080de1be00d5e03576fcca37fc57b8bf63caeb55a0", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "c61b716757d9588cb1f2cc080de1be00d5e03576fcca37fc57b8bf63caeb55a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61b716757d9588cb1f2cc080de1be00d5e03576fcca37fc57b8bf63caeb55a0", kill_on_drop: false }` [INFO] [stdout] c61b716757d9588cb1f2cc080de1be00d5e03576fcca37fc57b8bf63caeb55a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 703046f72ad2fb93a778916a63b9475fa7511ac76a781ec2da816931cb38e379 [INFO] running `Command { std: "docker" "start" "-a" "703046f72ad2fb93a778916a63b9475fa7511ac76a781ec2da816931cb38e379", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/main.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/main.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cluster` [INFO] [stderr] --> src/main.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | fn open(cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/main.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content_cluster` [INFO] [stderr] --> src/main.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parrent_cluster` [INFO] [stderr] --> src/main.rs:60:51 [INFO] [stderr] | [INFO] [stderr] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/main.rs:64:16 [INFO] [stderr] | [INFO] [stderr] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content_cluster` [INFO] [stderr] --> src/main.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parrent_cluster` [INFO] [stderr] --> src/main.rs:64:50 [INFO] [stderr] | [INFO] [stderr] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parrent_cluster` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/main.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/main.rs:84:23 [INFO] [stderr] | [INFO] [stderr] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/main.rs:129:24 [INFO] [stderr] | [INFO] [stderr] 129 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/main.rs:135:25 [INFO] [stderr] | [INFO] [stderr] 135 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:145:24 [INFO] [stderr] | [INFO] [stderr] 145 | fn seek(&mut self, pos: SeekFrom) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir_entry` [INFO] [stderr] --> src/main.rs:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `open` [INFO] [stderr] --> src/main.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn open(cluster: u32) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create` [INFO] [stderr] --> src/main.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | fn create() -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `close` [INFO] [stderr] --> src/main.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | fn close(self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `content_cluster` [INFO] [stderr] --> src/main.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | fn content_cluster(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete` [INFO] [stderr] --> src/main.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | fn delete(self) -> Result<()>{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parrent` [INFO] [stderr] --> src/main.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | parrent: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `file_new` [INFO] [stderr] --> src/main.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | fn file_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dir_new` [INFO] [stderr] --> src/main.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | fn dir_new(name: &str, content_cluster: u32, parrent_cluster: u32) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rename` [INFO] [stderr] --> src/main.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | fn rename(&mut self, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/main.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn update(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_file` [INFO] [stderr] --> src/main.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | fn is_file(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_dir` [INFO] [stderr] --> src/main.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | fn is_dir(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compare` [INFO] [stderr] --> src/main.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn compare(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parrent` [INFO] [stderr] --> src/main.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | fn parrent(&self) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cluster` [INFO] [stderr] --> src/main.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | fn cluster(&self) -> u32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/main.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | fn size(&self) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `mark_as_removed` [INFO] [stderr] --> src/main.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | fn mark_as_removed(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dir_entry` [INFO] [stderr] --> src/main.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | dir_entry: DirEntry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stream` [INFO] [stderr] --> src/main.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | stream: ClusterStream, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `close` [INFO] [stderr] --> src/main.rs:123:8 [INFO] [stderr] | [INFO] [stderr] 123 | fn close(self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stream` [INFO] [stderr] --> src/main.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | stream: ClusterStream, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | fn new(cluster: u32) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Dir` [INFO] [stderr] --> src/main.rs:169:8 [INFO] [stderr] | [INFO] [stderr] 169 | struct Dir { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inner` [INFO] [stderr] --> src/main.rs:174:8 [INFO] [stderr] | [INFO] [stderr] 174 | fn inner(self) -> DirEntry { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/main.rs:178:8 [INFO] [stderr] | [INFO] [stderr] 178 | fn add(&self, dir_entry: &DirEntry) -> Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:182:8 [INFO] [stderr] | [INFO] [stderr] 182 | fn new(dir_entry: DirEntry) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/main.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 190 | fn find(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `file_open` [INFO] [stderr] --> src/main.rs:202:12 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn file_open(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `file_create` [INFO] [stderr] --> src/main.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn file_create(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dir_open` [INFO] [stderr] --> src/main.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn dir_open(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dir_create` [INFO] [stderr] --> src/main.rs:219:12 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn dir_create(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove` [INFO] [stderr] --> src/main.rs:231:12 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn remove(&self, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rename` [INFO] [stderr] --> src/main.rs:260:12 [INFO] [stderr] | [INFO] [stderr] 260 | pub fn rename(&self, name: &str, new_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_empty` [INFO] [stderr] --> src/main.rs:266:12 [INFO] [stderr] | [INFO] [stderr] 266 | pub fn is_empty(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iter` [INFO] [stderr] --> src/main.rs:278:12 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn iter(&self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zzz` (bin "zzz" test) generated 52 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zzz-38d85b76883d320c) [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" "703046f72ad2fb93a778916a63b9475fa7511ac76a781ec2da816931cb38e379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703046f72ad2fb93a778916a63b9475fa7511ac76a781ec2da816931cb38e379", kill_on_drop: false }` [INFO] [stdout] 703046f72ad2fb93a778916a63b9475fa7511ac76a781ec2da816931cb38e379