[INFO] cloning repository https://github.com/yuoo655/ext4_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuoo655/ext4_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuoo655%2Fext4_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuoo655%2Fext4_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2edc63c3b823031b0adb5d54e2d3d323e4dd743 [INFO] checking yuoo655/ext4_rs against master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuoo655%2Fext4_rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuoo655/ext4_rs on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] finished tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] tweaked toml for git repo https://github.com/yuoo655/ext4_rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yuoo655/ext4_rs 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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking yuoo655/ext4_rs against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuoo655%2Fext4_rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuoo655/ext4_rs on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] finished tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] tweaked toml for git repo https://github.com/yuoo655/ext4_rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yuoo655/ext4_rs 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking yuoo655/ext4_rs against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuoo655%2Fext4_rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuoo655/ext4_rs on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] finished tweaking git repo https://github.com/yuoo655/ext4_rs [INFO] tweaked toml for git repo https://github.com/yuoo655/ext4_rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yuoo655/ext4_rs 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42eec21d5340edcb9af9b9f324af6973ddb3aa85a772c6a5f5e1d5b3b3babe74 [INFO] running `Command { std: "docker" "start" "-a" "42eec21d5340edcb9af9b9f324af6973ddb3aa85a772c6a5f5e1d5b3b3babe74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42eec21d5340edcb9af9b9f324af6973ddb3aa85a772c6a5f5e1d5b3b3babe74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42eec21d5340edcb9af9b9f324af6973ddb3aa85a772c6a5f5e1d5b3b3babe74", kill_on_drop: false }` [INFO] [stdout] 42eec21d5340edcb9af9b9f324af6973ddb3aa85a772c6a5f5e1d5b3b3babe74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2163686fba1fce639772dad6a10e822b157cc622ec12ad4d3c0c7c7e07cf5df9 [INFO] running `Command { std: "docker" "start" "-a" "2163686fba1fce639772dad6a10e822b157cc622ec12ad4d3c0c7c7e07cf5df9", kill_on_drop: false }` [INFO] [stderr] Checking ext4_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ext4_lblk_t` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ext4_lblk_t = u32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Ext4LblkT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ext4_fsblk_t` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ext4_fsblk_t = u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Ext4FsblkT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_ACCMODE` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | O_ACCMODE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OAccmode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_RDONLY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | O_RDONLY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ORdonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_WRONLY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | O_WRONLY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OWronly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ext4_lblk_t` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ext4_lblk_t = u32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Ext4LblkT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_RDWR` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | O_RDWR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `ORdwr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_CREAT` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | O_CREAT, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OCreat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_EXCL` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | O_EXCL, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OExcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ext4_fsblk_t` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ext4_fsblk_t = u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Ext4FsblkT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOCTTY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | O_NOCTTY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ONoctty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_ACCMODE` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | O_ACCMODE, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OAccmode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_TRUNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | O_TRUNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OTrunc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_RDONLY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | O_RDONLY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ORdonly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_APPEND` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | O_APPEND, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OAppend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_WRONLY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | O_WRONLY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OWronly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_RDWR` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | O_RDWR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `ORdwr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NONBLOCK` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | O_NONBLOCK, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ONonblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_CREAT` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | O_CREAT, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OCreat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_SYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | O_SYNC, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OSync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_ASYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | O_ASYNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OAsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_EXCL` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | O_EXCL, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OExcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_LARGEFILE` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | O_LARGEFILE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `OLargefile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOCTTY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | O_NOCTTY, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ONoctty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DIRECTORY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | O_DIRECTORY, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ODirectory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_TRUNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | O_TRUNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OTrunc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOFOLLOW` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | O_NOFOLLOW, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ONofollow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_CLOEXEC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | O_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OCloexec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_APPEND` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | O_APPEND, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OAppend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DIRECT` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | O_DIRECT, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ODirect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NONBLOCK` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | O_NONBLOCK, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ONonblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOATIME` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | O_NOATIME, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ONoatime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_SYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | O_SYNC, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OSync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_PATH` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | O_PATH, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DSYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | O_DSYNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ODsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_ASYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | O_ASYNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OAsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string` [INFO] [stdout] --> src/ext4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::string; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_LARGEFILE` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | O_LARGEFILE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `OLargefile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/ext4.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DIRECTORY` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | O_DIRECTORY, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ODirectory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOFOLLOW` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | O_NOFOLLOW, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ONofollow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_CLOEXEC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | O_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OCloexec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DIRECT` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | O_DIRECT, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ODirect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_NOATIME` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | O_NOATIME, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ONoatime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_PATH` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | O_PATH, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `O_DSYNC` should have an upper camel case name [INFO] [stdout] --> src/consts.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | O_DSYNC, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ODsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string` [INFO] [stdout] --> src/ext4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::string; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use ext4::*; [INFO] [stdout] | ^^^^^^^ the name `ext4_ext_find_extent` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] 14 | pub use ext4_defs::*; [INFO] [stdout] | ------------ but the name `ext4_ext_find_extent` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/ext4.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use ext4::*; [INFO] [stdout] | ^^^^^^^ the name `ext4_ext_find_extent` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] 14 | pub use ext4_defs::*; [INFO] [stdout] | ------------ but the name `ext4_ext_find_extent` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot cast `dyn ext4::BlockDevice` to `dyn std::any::Any`, trait upcasting coercion is experimental [INFO] [stdout] --> src/ext4.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | (self as &dyn Any).downcast_ref::() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #65991 for more information [INFO] [stdout] = help: add `#![feature(trait_upcasting)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-17; consider upgrading it if it is out of date [INFO] [stdout] = note: required when coercing `&(dyn ext4::BlockDevice + 'static)` into `&(dyn std::any::Any + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot cast `dyn ext4::BlockDevice` to `dyn std::any::Any`, trait upcasting coercion is experimental [INFO] [stdout] --> src/ext4.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | (self as &dyn Any).downcast_ref::() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #65991 for more information [INFO] [stdout] = help: add `#![feature(trait_upcasting)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-17; consider upgrading it if it is out of date [INFO] [stdout] = note: required when coercing `&(dyn ext4::BlockDevice + 'static)` into `&(dyn std::any::Any + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> src/ext4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> src/ext4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/ext4.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | |fs: Weak, block_device: Arc| -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/ext4.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | |fs: Weak, block_device: Arc| -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iflags` is never read [INFO] [stdout] --> src/ext4.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut iflags = 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 `filetype` is never read [INFO] [stdout] --> src/ext4.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut filetype = DirEntryType::EXT4_DE_UNKNOWN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mp_name` [INFO] [stdout] --> src/ext4.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mp_name = mp.mount_name.as_bytes(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mp_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/ext4.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ext4.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let name = get_name( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_inode` [INFO] [stdout] --> src/ext4.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | parent_inode: &mut Ext4InodeRef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_inode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iflags` is never read [INFO] [stdout] --> src/ext4.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut iflags = 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: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut de = Ext4DirEntry::default(); [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 `filetype` is never read [INFO] [stdout] --> src/ext4.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut filetype = DirEntryType::EXT4_DE_UNKNOWN; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut root_inode_ref = Ext4InodeRef::get_inode_ref(self.self_ref.clone(), 2); [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/ext4.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut r; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `super_block` [INFO] [stdout] --> src/ext4.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let super_block = &self.super_block; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mp_name` [INFO] [stdout] --> src/ext4.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mp_name = mp.mount_name.as_bytes(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mp_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/ext4.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ext4.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let name = get_name( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_inode` [INFO] [stdout] --> src/ext4.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | parent_inode: &mut Ext4InodeRef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_inode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | let r = ext4_dir_add_entry(parent, child, name, name_len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut de = Ext4DirEntry::default(); [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: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let r = ext4_dir_add_entry(&mut child_inode_ref, child, ".", 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let r = ext4_dir_add_entry(&mut child_inode_ref, child, "..", 2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut root_inode_ref = Ext4InodeRef::get_inode_ref(self.self_ref.clone(), 2); [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/ext4.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut r; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `super_block` [INFO] [stdout] --> src/ext4.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let super_block = &self.super_block; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/ext4.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | let mut success = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let r = ext4_dir_try_insert_entry(parent, &mut ext4_block, child, path, len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | let mut success = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | let r = ext4_dir_add_entry(parent, child, name, name_len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let r = ext4_dir_add_entry(&mut child_inode_ref, child, ".", 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let r = ext4_dir_add_entry(&mut child_inode_ref, child, "..", 2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/ext4.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | let mut success = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let r = ext4_dir_try_insert_entry(parent, &mut ext4_block, child, path, len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ext4.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let name = get_name(en.name, en.name_len as usize).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | let mut success = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_size` [INFO] [stdout] --> src/ext4.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | let inode_size = inode_ref.fs().super_block.inode_size(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | let mut current_block: ext4_fsblk_t; [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/ext4.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let mut inode = &mut inode_ref.inner.inode; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/ext4.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let rc = ext4_ialloc_alloc_inode(child_inode_ref.fs(), &mut index, is_dir); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/ext4.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | let mut mode = 0 as u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ext4.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let name = get_name(en.name, en.name_len as usize).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | let mut inode = &mut child_inode_ref.inner.inode; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_ref` [INFO] [stdout] --> src/ext4.rs:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn ext4_dir_destroy_result(inode_ref: &mut Ext4InodeRef, result: &mut Ext4DirSearchResult) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_size` [INFO] [stdout] --> src/ext4.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | let inode_size = inode_ref.fs().super_block.inode_size(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | let mut current_block: ext4_fsblk_t; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `allocated` is never read [INFO] [stdout] --> src/ext4.rs:758:13 [INFO] [stdout] | [INFO] [stdout] 758 | let mut allocated: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create` [INFO] [stdout] --> src/ext4.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | create: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks_count` [INFO] [stdout] --> src/ext4.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 729 | blocks_count: &mut u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let mut inode = &mut inode_ref.inner.inode; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/ext4.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let rc = ext4_ialloc_alloc_inode(child_inode_ref.fs(), &mut index, is_dir); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mode` is never read [INFO] [stdout] --> src/ext4.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | let mut mode = 0 as u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let mut newblock: ext4_fsblk_t; [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/ext4.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | let mut inode = &mut child_inode_ref.inner.inode; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_ref` [INFO] [stdout] --> src/ext4.rs:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn ext4_dir_destroy_result(inode_ref: &mut Ext4InodeRef, result: &mut Ext4DirSearchResult) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block` is never read [INFO] [stdout] --> src/ext4.rs:835:13 [INFO] [stdout] | [INFO] [stdout] 835 | let mut block = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `allocated` is never read [INFO] [stdout] --> src/ext4.rs:758:13 [INFO] [stdout] | [INFO] [stdout] 758 | let mut allocated: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create` [INFO] [stdout] --> src/ext4.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | create: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks_count` [INFO] [stdout] --> src/ext4.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 729 | blocks_count: &mut u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | let mut depth = ext_depth(&inode_ref.inner.inode); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_ex` [INFO] [stdout] --> src/ext4.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | let last_ex = ext_last_extent(eh); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diskblock` is never read [INFO] [stdout] --> src/ext4.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let mut diskblock = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_ref` [INFO] [stdout] --> src/ext4.rs:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | inode_ref: &mut Ext4InodeRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/ext4.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | depth: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/ext4.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | flags: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let mut newblock: ext4_fsblk_t; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block` is never read [INFO] [stdout] --> src/ext4.rs:835:13 [INFO] [stdout] | [INFO] [stdout] 835 | let mut block = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_level` [INFO] [stdout] --> src/ext4.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | first_level: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | let mut depth = ext_depth(&inode_ref.inner.inode); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_ex` [INFO] [stdout] --> src/ext4.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | let last_ex = ext_last_extent(eh); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diskblock` is never read [INFO] [stdout] --> src/ext4.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let mut diskblock = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_ref` [INFO] [stdout] --> src/ext4.rs:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | inode_ref: &mut Ext4InodeRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/ext4.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | depth: u16, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `block_nr` is assigned to, but never used [INFO] [stdout] --> src/ext4.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut block_nr: ext4_fsblk_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_block_nr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/ext4.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | flags: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_nr` is never read [INFO] [stdout] --> src/ext4.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | block_nr = path[ppos].p_block; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | let r = ext4_ext_binsearch(&mut path[ppos], iblock); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_path` [INFO] [stdout] --> src/ext4.rs:1119:5 [INFO] [stdout] | [INFO] [stdout] 1119 | orig_path: &mut Ext4ExtentPath, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_level` [INFO] [stdout] --> src/ext4.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | first_level: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extent_create` [INFO] [stdout] --> src/ext4.rs:1229:5 [INFO] [stdout] | [INFO] [stdout] 1229 | extent_create: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extent_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:1231:9 [INFO] [stdout] | [INFO] [stdout] 1231 | let mut current_block: ext4_fsblk_t; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_block` [INFO] [stdout] --> src/ext4.rs:1257:13 [INFO] [stdout] | [INFO] [stdout] 1257 | let mut current_block: ext4_fsblk_t; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fblock` [INFO] [stdout] --> src/ext4.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | fblock: &mut ext4_fsblk_t, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_unwritten` [INFO] [stdout] --> src/ext4.rs:1255:5 [INFO] [stdout] | [INFO] [stdout] 1255 | support_unwritten: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_support_unwritten` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `block_nr` is assigned to, but never used [INFO] [stdout] --> src/ext4.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut block_nr: ext4_fsblk_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_block_nr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_nr` is never read [INFO] [stdout] --> src/ext4.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | block_nr = path[ppos].p_block; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ext4.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | let r = ext4_ext_binsearch(&mut path[ppos], iblock); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_path` [INFO] [stdout] --> src/ext4.rs:1119:5 [INFO] [stdout] | [INFO] [stdout] 1119 | orig_path: &mut Ext4ExtentPath, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extent_create` [INFO] [stdout] --> src/ext4.rs:1229:5 [INFO] [stdout] | [INFO] [stdout] 1229 | extent_create: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extent_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:1231:9 [INFO] [stdout] | [INFO] [stdout] 1231 | let mut current_block: ext4_fsblk_t; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_block` [INFO] [stdout] --> src/ext4.rs:1257:13 [INFO] [stdout] | [INFO] [stdout] 1257 | let mut current_block: ext4_fsblk_t; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fblock` [INFO] [stdout] --> src/ext4.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | fblock: &mut ext4_fsblk_t, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fblock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_unwritten` [INFO] [stdout] --> src/ext4.rs:1255:5 [INFO] [stdout] | [INFO] [stdout] 1255 | support_unwritten: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_support_unwritten` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4.rs:1314:13 [INFO] [stdout] | [INFO] [stdout] 1314 | let mut raw_data = fs.block_device.read_offset(BASE_OFFSET); [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/ext4.rs:1314:13 [INFO] [stdout] | [INFO] [stdout] 1314 | let mut raw_data = fs.block_device.read_offset(BASE_OFFSET); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_id` [INFO] [stdout] --> src/ext4_defs.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | inode_id: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4_defs.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut inode_table_blk_num = [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/ext4_defs.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let mut offset = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode_id` [INFO] [stdout] --> src/ext4_defs.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | inode_id: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inode_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_checksum` [INFO] [stdout] --> src/ext4_defs.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let orig_checksum = self.get_checksum(super_block); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | let mut checksum = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4_defs.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut inode_table_blk_num = [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/ext4_defs.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let mut offset = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig_checksum` [INFO] [stdout] --> src/ext4_defs.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | let orig_checksum = self.get_checksum(super_block); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orig_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | let mut checksum = 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 `orig_checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | let mut orig_checksum = 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 `checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:720:17 [INFO] [stdout] | [INFO] [stdout] 720 | let mut checksum = 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 `orig_checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | let mut orig_checksum = 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 `checksum` is never read [INFO] [stdout] --> src/ext4_defs.rs:720:17 [INFO] [stdout] | [INFO] [stdout] 720 | let mut checksum = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ext4_defs.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | let mut inner = Inner { [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/ext4_defs.rs:1134:13 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut inode = Self { [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/ext4_defs.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let mut data = fs.block_device.read_offset(offset); [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/ext4_defs.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | let mut inner = Inner { [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/ext4_defs.rs:1134:13 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut inode = Self { [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/ext4_defs.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let mut data = fs.block_device.read_offset(offset); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1322:17 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut csum = 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 `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1322:17 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut csum = 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 `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1509:13 [INFO] [stdout] | [INFO] [stdout] 1509 | let mut csum = 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 `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1518:13 [INFO] [stdout] | [INFO] [stdout] 1518 | let mut csum = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | let mut r = unsafe { ext4_last_extent_mut(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1579:17 [INFO] [stdout] | [INFO] [stdout] 1579 | let mut r = unsafe { ext4_last_extent(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1648:17 [INFO] [stdout] | [INFO] [stdout] 1648 | let mut r = unsafe { ext4_last_extent_index_mut(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1509:13 [INFO] [stdout] | [INFO] [stdout] 1509 | let mut csum = 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 `csum` is never read [INFO] [stdout] --> src/ext4_defs.rs:1518:13 [INFO] [stdout] | [INFO] [stdout] 1518 | let mut csum = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1540:17 [INFO] [stdout] | [INFO] [stdout] 1540 | let mut r = unsafe { ext4_last_extent_mut(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1579:17 [INFO] [stdout] | [INFO] [stdout] 1579 | let mut r = unsafe { ext4_last_extent(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ext4_defs.rs:1648:17 [INFO] [stdout] | [INFO] [stdout] 1648 | let mut r = unsafe { ext4_last_extent_index_mut(eh) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 93 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 93 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ext4_rs` (lib test) due to 2 previous errors; 93 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ext4_rs` (lib) due to 2 previous errors; 93 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2163686fba1fce639772dad6a10e822b157cc622ec12ad4d3c0c7c7e07cf5df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2163686fba1fce639772dad6a10e822b157cc622ec12ad4d3c0c7c7e07cf5df9", kill_on_drop: false }` [INFO] [stdout] 2163686fba1fce639772dad6a10e822b157cc622ec12ad4d3c0c7c7e07cf5df9