[INFO] cloning repository https://github.com/bigbigtor/filesystem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbigtor/filesystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbigtor%2Ffilesystem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbigtor%2Ffilesystem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0fb54371dae1c48ae3cd0aea7fd78804c946792
[INFO] checking bigbigtor/filesystem against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbigtor%2Ffilesystem" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bigbigtor/filesystem
[INFO] finished tweaking git repo https://github.com/bigbigtor/filesystem
[INFO] tweaked toml for git repo https://github.com/bigbigtor/filesystem written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bigbigtor/filesystem on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bigbigtor/filesystem 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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] f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524
[INFO] running `Command { std: "docker" "start" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524", 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" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524", 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" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking filesystem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/inode.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/inode.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Inode {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  7 |     inode_type: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  8 |     permissions: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]  9 |     atime: u16,          //access time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     mtime: u16,          //data modification time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     ctime: u16,          //inode modification time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     link_number: u16,    //number of link entries in directory
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 13 |     log_byte_size: u16,  //size in logic bytes
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 14 |     oc_data_blocks: u16, //number of ocupied data blocks
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     direct_pointers: [u16; 12],
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     indirect_pointers: [u16; 3], //[0] simple indirect, [1] double indirect, [2] triple indirect
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     padding: [u8; 20],
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/superblock.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Superblock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  8 |     first_bitmap_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     last_bitmap_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     first_inode_block: u16,
[INFO] [stdout] 11 |     last_inode_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     first_data_block: u16,
[INFO] [stdout] 13 |     last_data_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     root_dir_inode: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     first_free_inode: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     free_blocks: u16,
[INFO] [stdout] 17 |     free_inodes: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     total_blocks: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 19 |     total_inodes: u16,
[INFO] [stdout] 20 |     padding: [u8; 1000],
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u16`
[INFO] [stdout]   --> src/bitmap.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 44 -         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout] 44 +         device.read_block(block, &mut buf)?;
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 44 -         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout] 44 +         device.read_block(<u16 as Into<_>>::into(block), &mut buf)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u16`
[INFO] [stdout]   --> src/bitmap.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         device.write_block(block.into(), &buf)?;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 50 -         device.write_block(block.into(), &buf)?;
[INFO] [stdout] 50 +         device.write_block(block, &buf)?;
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 50 -         device.write_block(block.into(), &buf)?;
[INFO] [stdout] 50 +         device.write_block(<u16 as Into<_>>::into(block), &buf)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `filesystem` (lib) due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/inode.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Inode {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  7 |     inode_type: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  8 |     permissions: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]  9 |     atime: u16,          //access time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     mtime: u16,          //data modification time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     ctime: u16,          //inode modification time
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     link_number: u16,    //number of link entries in directory
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 13 |     log_byte_size: u16,  //size in logic bytes
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 14 |     oc_data_blocks: u16, //number of ocupied data blocks
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     direct_pointers: [u16; 12],
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     indirect_pointers: [u16; 3], //[0] simple indirect, [1] double indirect, [2] triple indirect
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     padding: [u8; 20],
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/superblock.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Superblock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  8 |     first_bitmap_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     last_bitmap_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     first_inode_block: u16,
[INFO] [stdout] 11 |     last_inode_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     first_data_block: u16,
[INFO] [stdout] 13 |     last_data_block: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     root_dir_inode: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     first_free_inode: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     free_blocks: u16,
[INFO] [stdout] 17 |     free_inodes: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     total_blocks: u16,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 19 |     total_inodes: u16,
[INFO] [stdout] 20 |     padding: [u8; 1000],
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u16`
[INFO] [stdout]   --> src/bitmap.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 44 -         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout] 44 +         device.read_block(block, &mut buf)?;
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 44 -         device.read_block(block.into(), &mut buf)?;
[INFO] [stdout] 44 +         device.read_block(<u16 as Into<_>>::into(block), &mut buf)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `u16`
[INFO] [stdout]   --> src/bitmap.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         device.write_block(block.into(), &buf)?;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 50 -         device.write_block(block.into(), &buf)?;
[INFO] [stdout] 50 +         device.write_block(block, &buf)?;
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 50 -         device.write_block(block.into(), &buf)?;
[INFO] [stdout] 50 +         device.write_block(<u16 as Into<_>>::into(block), &buf)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `filesystem` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524", kill_on_drop: false }`
[INFO] [stdout] f4a0fcb394e6f45366f9f64455ac9fa4f68aff2ef975678f279f928d02a90524
