[INFO] cloning repository https://github.com/connorescajeda/filesystem---project-9
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/connorescajeda/filesystem---project-9" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorescajeda%2Ffilesystem---project-9", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorescajeda%2Ffilesystem---project-9'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2adf83c68646fd12c1656f2782dbeb065137ca4f
[INFO] checking connorescajeda/filesystem---project-9 against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnorescajeda%2Ffilesystem---project-9" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/connorescajeda/filesystem---project-9
[INFO] finished tweaking git repo https://github.com/connorescajeda/filesystem---project-9
[INFO] tweaked toml for git repo https://github.com/connorescajeda/filesystem---project-9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/connorescajeda/filesystem---project-9 on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/connorescajeda/filesystem---project-9 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/gjf2a/ramdisk`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba
[INFO] running `Command { std: "docker" "start" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking ramdisk v0.1.4 (https://github.com/gjf2a/ramdisk#da8347c3)
[INFO] [stderr]     Checking filesystem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:699:25
[INFO] [stdout]     |
[INFO] [stdout] 699 |                 } else {;
[INFO] [stdout]     |                         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:699:25
[INFO] [stdout]     |
[INFO] [stdout] 699 |                 } else {;
[INFO] [stdout]     |                         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]     --> src/lib.rs:1075:9
[INFO] [stdout]      |
[INFO] [stdout] 1075 |     use core::num;
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inode_num` is never read
[INFO] [stdout]    --> src/lib.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut inode_num = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 214 |             inode_num = name_count;
[INFO] [stdout]     |             ---------------------- `inode_num` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:451:21
[INFO] [stdout]     |
[INFO] [stdout] 451 |                 let mut start_block = 2;
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:740:13
[INFO] [stdout]     |
[INFO] [stdout] 740 |         let mut og_file = self.open[fd];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/lib.rs:814:13
[INFO] [stdout]     |
[INFO] [stdout] 814 |         let max = 0;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_max`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:861:22
[INFO] [stdout]     |
[INFO] [stdout] 861 |                 for (i, value) in buffer.iter().enumerate(){
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:900:17
[INFO] [stdout]     |
[INFO] [stdout] 900 |             let mut file = file.unwrap();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:941:13
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let mut buffer = [0; BLOCK_SIZE];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/lib.rs:941:13
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let mut buffer = [0; BLOCK_SIZE];
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1003:13
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         let mut break_flag = false;
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_flag`
[INFO] [stdout]     --> src/lib.rs:1003:13
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         let mut break_flag = false;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inode` is never read
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct FileInfo<const MAX_BLOCKS: usize, const BLOCK_SIZE: usize> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 34 |     inode: Inode<MAX_BLOCKS, BLOCK_SIZE>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_buffer` is never read
[INFO] [stdout]   --> src/lib.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct FileSystem<
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     block_buffer: [u8; BLOCK_SIZE],
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileSystem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inode_num` is never read
[INFO] [stdout]    --> src/lib.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut inode_num = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 214 |             inode_num = name_count;
[INFO] [stdout]     |             ---------------------- `inode_num` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:451:21
[INFO] [stdout]     |
[INFO] [stdout] 451 |                 let mut start_block = 2;
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:740:13
[INFO] [stdout]     |
[INFO] [stdout] 740 |         let mut og_file = self.open[fd];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/lib.rs:814:13
[INFO] [stdout]     |
[INFO] [stdout] 814 |         let max = 0;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_max`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:861:22
[INFO] [stdout]     |
[INFO] [stdout] 861 |                 for (i, value) in buffer.iter().enumerate(){
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:900:17
[INFO] [stdout]     |
[INFO] [stdout] 900 |             let mut file = file.unwrap();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:941:13
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let mut buffer = [0; BLOCK_SIZE];
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/lib.rs:941:13
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let mut buffer = [0; BLOCK_SIZE];
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1003:13
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         let mut break_flag = false;
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_flag`
[INFO] [stdout]     --> src/lib.rs:1003:13
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         let mut break_flag = false;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inode` is never read
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct FileInfo<const MAX_BLOCKS: usize, const BLOCK_SIZE: usize> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 34 |     inode: Inode<MAX_BLOCKS, BLOCK_SIZE>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_buffer` is never read
[INFO] [stdout]   --> src/lib.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct FileSystem<
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     block_buffer: [u8; BLOCK_SIZE],
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileSystem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba", kill_on_drop: false }`
[INFO] [stdout] 0dab46c8cb34f71016dfd2af4bf21edc5ef2e127e422a683a794b3ca3947d6ba
