[INFO] cloning repository https://github.com/docfate111/ext2-parse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/docfate111/ext2-parse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdocfate111%2Fext2-parse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdocfate111%2Fext2-parse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 121efd70917d1ce9bc076482ba5f98db492728f0
[INFO] checking docfate111/ext2-parse against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdocfate111%2Fext2-parse" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/docfate111/ext2-parse on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/docfate111/ext2-parse
[INFO] finished tweaking git repo https://github.com/docfate111/ext2-parse
[INFO] tweaked toml for git repo https://github.com/docfate111/ext2-parse written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/docfate111/ext2-parse 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d998f67872835b63bc7a9f27185b35946c42ffb3384cddc2a41e7734e7f00ff
[INFO] running `Command { std: "docker" "start" "-a" "4d998f67872835b63bc7a9f27185b35946c42ffb3384cddc2a41e7734e7f00ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d998f67872835b63bc7a9f27185b35946c42ffb3384cddc2a41e7734e7f00ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d998f67872835b63bc7a9f27185b35946c42ffb3384cddc2a41e7734e7f00ff", kill_on_drop: false }`
[INFO] [stdout] 4d998f67872835b63bc7a9f27185b35946c42ffb3384cddc2a41e7734e7f00ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c62e3a9fa97a7cd37fae8a4cddc9c98e7be987306da393b74c31eefbdf698819
[INFO] running `Command { std: "docker" "start" "-a" "c62e3a9fa97a7cd37fae8a4cddc9c98e7be987306da393b74c31eefbdf698819", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking lab3b v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:400:5
[INFO] [stdout]     |
[INFO] [stdout] 400 |         if(n % 128 == 0 && inode_num <= inodes_per_group) {
[INFO] [stdout]     |           ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 400 -         if(n % 128 == 0 && inode_num <= inodes_per_group) {
[INFO] [stdout] 400 +         if n % 128 == 0 && inode_num <= inodes_per_group {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:400:5
[INFO] [stdout]     |
[INFO] [stdout] 400 |         if(n % 128 == 0 && inode_num <= inodes_per_group) {
[INFO] [stdout]     |           ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 400 -         if(n % 128 == 0 && inode_num <= inodes_per_group) {
[INFO] [stdout] 400 +         if n % 128 == 0 && inode_num <= inodes_per_group {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len_offset`
[INFO] [stdout]    --> src/main.rs:267:6
[INFO] [stdout]     |
[INFO] [stdout] 267 |     let len_offset = 4;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inode_num`
[INFO] [stdout]    --> src/main.rs:266:17
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:266:49
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:269:6
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut ptr = start;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `block_size` is never read
[INFO] [stdout]    --> src/main.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |     let mut block_size: usize = 0;
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `blocks_per_group` is never read
[INFO] [stdout]    --> src/main.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let mut blocks_per_group = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inodes_per_group` is never read
[INFO] [stdout]    --> src/main.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut inodes_per_group = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> src/main.rs:393:5
[INFO] [stdout]     |
[INFO] [stdout] 393 |     index = 1;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/main.rs:410:11
[INFO] [stdout]     |
[INFO] [stdout] 410 |                         for k in 0..12 {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/main.rs:415:11
[INFO] [stdout]     |
[INFO] [stdout] 415 |                         let base = [0, 256, 256*256+256];
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/main.rs:416:11
[INFO] [stdout]     |
[INFO] [stdout] 416 |                         for k in 12..15 {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | impl Dirent {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] 233 |     fn new(parent_num: u32, logical_offset: u32, block: &[u8]) -> Dirent {
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_dentry` is never used
[INFO] [stdout]    --> src/main.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_dirent` is never used
[INFO] [stdout]    --> src/main.rs:299:4
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn print_dirent(inode_num: u32, memmapd: &Mmap) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len_offset`
[INFO] [stdout]    --> src/main.rs:267:6
[INFO] [stdout]     |
[INFO] [stdout] 267 |     let len_offset = 4;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inode_num`
[INFO] [stdout]    --> src/main.rs:266:17
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:266:49
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:269:6
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut ptr = start;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `block_size` is never read
[INFO] [stdout]    --> src/main.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |     let mut block_size: usize = 0;
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `blocks_per_group` is never read
[INFO] [stdout]    --> src/main.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let mut blocks_per_group = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inodes_per_group` is never read
[INFO] [stdout]    --> src/main.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut inodes_per_group = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> src/main.rs:393:5
[INFO] [stdout]     |
[INFO] [stdout] 393 |     index = 1;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/main.rs:410:11
[INFO] [stdout]     |
[INFO] [stdout] 410 |                         for k in 0..12 {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/main.rs:415:11
[INFO] [stdout]     |
[INFO] [stdout] 415 |                         let base = [0, 256, 256*256+256];
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/main.rs:416:11
[INFO] [stdout]     |
[INFO] [stdout] 416 |                         for k in 12..15 {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | impl Dirent {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] 233 |     fn new(parent_num: u32, logical_offset: u32, block: &[u8]) -> Dirent {
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_dentry` is never used
[INFO] [stdout]    --> src/main.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn print_dentry(inode_num: u32, block_num: u32, data: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_dirent` is never used
[INFO] [stdout]    --> src/main.rs:299:4
[INFO] [stdout]     |
[INFO] [stdout] 299 | fn print_dirent(inode_num: u32, memmapd: &Mmap) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.23s
[INFO] running `Command { std: "docker" "inspect" "c62e3a9fa97a7cd37fae8a4cddc9c98e7be987306da393b74c31eefbdf698819", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c62e3a9fa97a7cd37fae8a4cddc9c98e7be987306da393b74c31eefbdf698819", kill_on_drop: false }`
[INFO] [stdout] c62e3a9fa97a7cd37fae8a4cddc9c98e7be987306da393b74c31eefbdf698819
