[INFO] cloning repository https://github.com/Thehepta/MagiskTest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thehepta/MagiskTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThehepta%2FMagiskTest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThehepta%2FMagiskTest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1ea1b07e67e841044fbfe5455b712635bb46213 [INFO] checking Thehepta/MagiskTest against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThehepta%2FMagiskTest" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Thehepta/MagiskTest [INFO] finished tweaking git repo https://github.com/Thehepta/MagiskTest [INFO] tweaked toml for git repo https://github.com/Thehepta/MagiskTest written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Thehepta/MagiskTest on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Thehepta/MagiskTest 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_format v0.1.0 [INFO] [stderr] Downloaded const_format_proc_macros v0.1.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bef952194ef5273c2cc1c4ca8d27cbf456c39ca735c14c901e8eb054ad69437f [INFO] running `Command { std: "docker" "start" "-a" "bef952194ef5273c2cc1c4ca8d27cbf456c39ca735c14c901e8eb054ad69437f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef952194ef5273c2cc1c4ca8d27cbf456c39ca735c14c901e8eb054ad69437f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef952194ef5273c2cc1c4ca8d27cbf456c39ca735c14c901e8eb054ad69437f", kill_on_drop: false }` [INFO] [stdout] bef952194ef5273c2cc1c4ca8d27cbf456c39ca735c14c901e8eb054ad69437f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6534a2a12cafecb437b9f54d4b2957c0aec50107bbaff2b5e4ddb4ffb4dfbbb9 [INFO] running `Command { std: "docker" "start" "-a" "6534a2a12cafecb437b9f54d4b2957c0aec50107bbaff2b5e4ddb4ffb4dfbbb9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling const_format_proc_macros v0.1.0 [INFO] [stderr] Checking const_format v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking Fuseisk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::dir::Directory` [INFO] [stdout] --> src/cstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dir::Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibcReturn`, `OsError`, `OsResultStatic`, and `OsResult` [INFO] [stdout] --> src/cstr.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::result::{LibcReturn, OsError, OsResult, OsResultStatic}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EEXIST`, `mode_t`, and `open` [INFO] [stdout] --> src/cstr.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{mode_t, open, EEXIST}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Errno` and `errno` [INFO] [stdout] --> src/cstr.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_uint` [INFO] [stdout] --> src/cstr.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{c_char, c_uint, CStr, FromBytesWithNulError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/cstr.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::FromRawFd` [INFO] [stdout] --> src/cstr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::unix::io::FromRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CString` [INFO] [stdout] --> src/cstr.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{ffi::CString, mem, path::Path, slice}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/dir.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errno` [INFO] [stdout] --> src/file.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/file.rs:223:65 [INFO] [stdout] | [INFO] [stdout] 223 | if !attr.is_symlink() && libc::chmod(self.as_ptr(), (attr.st.st_mode & 0o777)) < 0 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - if !attr.is_symlink() && libc::chmod(self.as_ptr(), (attr.st.st_mode & 0o777)) < 0 { [INFO] [stdout] 223 + if !attr.is_symlink() && libc::chmod(self.as_ptr(), attr.st.st_mode & 0o777 ) < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/file.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | libc::fchmod(fd, (attr.st.st_mode & 0o777)).check_os_err("fchmod", None, None)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 439 - libc::fchmod(fd, (attr.st.st_mode & 0o777)).check_os_err("fchmod", None, None)?; [INFO] [stdout] 439 + libc::fchmod(fd, attr.st.st_mode & 0o777 ).check_os_err("fchmod", None, None)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging` [INFO] [stdout] --> src/logging.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cstr, logging, raw_cstr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `dev_t`, `mode_t`, `unlink`, and `write` [INFO] [stdout] --> src/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | c_char, dev_t, makedev, mknod, mode_t, syscall, unlink, write, SYS_dup3, O_CLOEXEC, O_WRONLY, [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/logging.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{sleep, O_RDWR}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_err` [INFO] [stdout] --> src/result.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log_err, log_with_args, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `ptr` [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fs, ptr}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/cstr.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/file.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dir::Directory` [INFO] [stdout] --> src/cstr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dir::Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibcReturn`, `OsError`, `OsResultStatic`, and `OsResult` [INFO] [stdout] --> src/cstr.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::result::{LibcReturn, OsError, OsResult, OsResultStatic}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EEXIST`, `mode_t`, and `open` [INFO] [stdout] --> src/cstr.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{mode_t, open, EEXIST}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Errno` and `errno` [INFO] [stdout] --> src/cstr.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_uint` [INFO] [stdout] --> src/cstr.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{c_char, c_uint, CStr, FromBytesWithNulError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/cstr.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::FromRawFd` [INFO] [stdout] --> src/cstr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::unix::io::FromRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::CString` [INFO] [stdout] --> src/cstr.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{ffi::CString, mem, path::Path, slice}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/dir.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errno` [INFO] [stdout] --> src/file.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/file.rs:223:65 [INFO] [stdout] | [INFO] [stdout] 223 | if !attr.is_symlink() && libc::chmod(self.as_ptr(), (attr.st.st_mode & 0o777)) < 0 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - if !attr.is_symlink() && libc::chmod(self.as_ptr(), (attr.st.st_mode & 0o777)) < 0 { [INFO] [stdout] 223 + if !attr.is_symlink() && libc::chmod(self.as_ptr(), attr.st.st_mode & 0o777 ) < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `selinux` [INFO] [stdout] --> src/file.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | #[cfg(feature = "selinux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `selinux` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/file.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | libc::fchmod(fd, (attr.st.st_mode & 0o777)).check_os_err("fchmod", None, None)?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 439 - libc::fchmod(fd, (attr.st.st_mode & 0o777)).check_os_err("fchmod", None, None)?; [INFO] [stdout] 439 + libc::fchmod(fd, attr.st.st_mode & 0o777 ).check_os_err("fchmod", None, None)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging` [INFO] [stdout] --> src/logging.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cstr, logging, raw_cstr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `dev_t`, `mode_t`, `unlink`, and `write` [INFO] [stdout] --> src/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | c_char, dev_t, makedev, mknod, mode_t, syscall, unlink, write, SYS_dup3, O_CLOEXEC, O_WRONLY, [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/logging.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{sleep, O_RDWR}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdout` [INFO] [stdout] --> src/logging.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::stdout; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_err` [INFO] [stdout] --> src/result.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | log_err, log_with_args, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `ptr` [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fs, ptr}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/cstr.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/file.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use nix::errno::{errno, Errno}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/result.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | log_with_formatter(level, |mut w| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> src/result.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(caller) = caller {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OverlayAttr(Utf8CString, Utf8CString); [INFO] [stdout] | ----------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_ptr`, `is_block_device`, `is_char_device`, `is_fifo`, and `is_socket` are never used [INFO] [stdout] --> src/dir.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DirEntry<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 22 | pub fn as_ptr(&self) -> *mut dirent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_block_device(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_char_device(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_fifo(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_socket(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Skip` is never constructed [INFO] [stdout] --> src/dir.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum WalkResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 133 | Skip, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pre_order_walk_impl` is never used [INFO] [stdout] --> src/dir.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | fn pre_order_walk_impl OsResultStatic>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CxxResultExt` is never used [INFO] [stdout] --> src/result.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) trait CxxResultExt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cstr.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn wrap(buf: &mut [u8]) -> Utf8CStrBufRef { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn wrap(buf: &mut [u8]) -> Utf8CStrBufRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn unlink(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn unlink(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn open_as_dir(&self) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn open_as_dir(&self) -> OsResult<'_, Directory> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_as_file(&self, flags: i32) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_as_file(&self, flags: i32) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn open(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn open(path: &Utf8CStr) -> OsResult<'_, Directory> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read(&mut self) -> OsResult<'static, Option> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read(&mut self) -> OsResult<'static, Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | fn borrow(&self) -> BorrowedDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn borrow(&self) -> BorrowedDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 462 | fn as_fd(&self) -> BorrowedFd { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | fn as_fd(&self) -> BorrowedFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn open_fd(path: &Utf8CStr, flags: i32, mode: mode_t) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn open_fd(path: &Utf8CStr, flags: i32, mode: mode_t) -> OsResult<'_, OwnedFd> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn open(&self, flags: i32) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn open(&self, flags: i32) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(&self, flags: i32, mode: mode_t) -> OsResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(&self, flags: i32, mode: mode_t) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn remove(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn remove(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn mkdir(&self, mode: mode_t) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn mkdir(&self, mode: mode_t) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn realpath(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn realpath(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn get_attr(&self) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 210 | pub fn get_attr(&self) -> OsResult<'_, FileAttr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_secontext(&self, con: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_secontext(&self, con: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn mkfifo(&self, mode: mode_t) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn mkfifo(&self, mode: mode_t) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn fd_set_attr(fd: RawFd, attr: &FileAttr) -> OsResult<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | pub fn fd_set_attr(fd: RawFd, attr: &FileAttr) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:469:41 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn fd_set_secontext(fd: RawFd, con: &Utf8CStr) -> OsResult<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 469 | pub fn fd_set_secontext(fd: RawFd, con: &Utf8CStr) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:495:23 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn open(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn open(path: &Utf8CStr) -> OsResult<'_, MappedFile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:499:26 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn open_rw(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 499 | pub fn open_rw(path: &Utf8CStr) -> OsResult<'_, MappedFile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | pub(crate) fn map_file(path: &Utf8CStr, rw: bool) -> OsResult<&'static mut [u8]> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 544 | pub(crate) fn map_file(path: &Utf8CStr, rw: bool) -> OsResult<'_, &'static mut [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LogFlag` should have a snake case name [INFO] [stdout] --> src/logging.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mod LogFlag { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `log_flag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableError` should have an upper case name [INFO] [stdout] --> src/logging.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DisableError: u32 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub const DisableError: u32 = 1 << 0; [INFO] [stdout] 22 + pub const DISABLE_ERROR: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableWarn` should have an upper case name [INFO] [stdout] --> src/logging.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DisableWarn: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - pub const DisableWarn: u32 = 1 << 1; [INFO] [stdout] 23 + pub const DISABLE_WARN: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableInfo` should have an upper case name [INFO] [stdout] --> src/logging.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DisableInfo: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub const DisableInfo: u32 = 1 << 2; [INFO] [stdout] 24 + pub const DISABLE_INFO: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableDebug` should have an upper case name [INFO] [stdout] --> src/logging.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const DisableDebug: u32 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - pub const DisableDebug: u32 = 1 << 3; [INFO] [stdout] 25 + pub const DISABLE_DEBUG: u32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ExitOnError` should have an upper case name [INFO] [stdout] --> src/logging.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ExitOnError: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - pub const ExitOnError: u32 = 1 << 4; [INFO] [stdout] 26 + pub const EXIT_ON_ERROR: u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mount.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unmount(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unmount(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/result.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | log_with_formatter(level, |mut w| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> src/result.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(caller) = caller {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OverlayAttr(Utf8CString, Utf8CString); [INFO] [stdout] | ----------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_ptr`, `is_block_device`, `is_char_device`, `is_fifo`, and `is_socket` are never used [INFO] [stdout] --> src/dir.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DirEntry<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 22 | pub fn as_ptr(&self) -> *mut dirent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_block_device(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_char_device(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_fifo(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_socket(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Skip` is never constructed [INFO] [stdout] --> src/dir.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum WalkResult { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 133 | Skip, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pre_order_walk_impl` is never used [INFO] [stdout] --> src/dir.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 359 | fn pre_order_walk_impl OsResultStatic>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CxxResultExt` is never used [INFO] [stdout] --> src/result.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) trait CxxResultExt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Fuseisk` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `fuseisk` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cstr.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn wrap(buf: &mut [u8]) -> Utf8CStrBufRef { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn wrap(buf: &mut [u8]) -> Utf8CStrBufRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn unlink(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn unlink(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn open_as_dir(&self) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn open_as_dir(&self) -> OsResult<'_, Directory> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_as_file(&self, flags: i32) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_as_file(&self, flags: i32) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn open(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn open(path: &Utf8CStr) -> OsResult<'_, Directory> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read(&mut self) -> OsResult<'static, Option> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read(&mut self) -> OsResult<'static, Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | fn borrow(&self) -> BorrowedDirectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn borrow(&self) -> BorrowedDirectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dir.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 462 | fn as_fd(&self) -> BorrowedFd { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | fn as_fd(&self) -> BorrowedFd<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn open_fd(path: &Utf8CStr, flags: i32, mode: mode_t) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn open_fd(path: &Utf8CStr, flags: i32, mode: mode_t) -> OsResult<'_, OwnedFd> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn open(&self, flags: i32) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn open(&self, flags: i32) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(&self, flags: i32, mode: mode_t) -> OsResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn create(&self, flags: i32, mode: mode_t) -> OsResult<'_, File> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn remove(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn remove(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_link(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn mkdir(&self, mode: mode_t) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn mkdir(&self, mode: mode_t) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn realpath(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn realpath(&self, buf: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn get_attr(&self) -> OsResult { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 210 | pub fn get_attr(&self) -> OsResult<'_, FileAttr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_secontext(&self, con: &mut dyn Utf8CStrBuf) -> OsResult<()> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_secontext(&self, con: &mut dyn Utf8CStrBuf) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn mkfifo(&self, mode: mode_t) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 368 | pub fn mkfifo(&self, mode: mode_t) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn fd_set_attr(fd: RawFd, attr: &FileAttr) -> OsResult<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | pub fn fd_set_attr(fd: RawFd, attr: &FileAttr) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:469:41 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn fd_set_secontext(fd: RawFd, con: &Utf8CStr) -> OsResult<()> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 469 | pub fn fd_set_secontext(fd: RawFd, con: &Utf8CStr) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:495:23 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn open(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn open(path: &Utf8CStr) -> OsResult<'_, MappedFile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:499:26 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn open_rw(path: &Utf8CStr) -> OsResult { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 499 | pub fn open_rw(path: &Utf8CStr) -> OsResult<'_, MappedFile> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | pub(crate) fn map_file(path: &Utf8CStr, rw: bool) -> OsResult<&'static mut [u8]> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 544 | pub(crate) fn map_file(path: &Utf8CStr, rw: bool) -> OsResult<'_, &'static mut [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LogFlag` should have a snake case name [INFO] [stdout] --> src/logging.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mod LogFlag { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `log_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableError` should have an upper case name [INFO] [stdout] --> src/logging.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DisableError: u32 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub const DisableError: u32 = 1 << 0; [INFO] [stdout] 22 + pub const DISABLE_ERROR: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableWarn` should have an upper case name [INFO] [stdout] --> src/logging.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DisableWarn: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - pub const DisableWarn: u32 = 1 << 1; [INFO] [stdout] 23 + pub const DISABLE_WARN: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableInfo` should have an upper case name [INFO] [stdout] --> src/logging.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DisableInfo: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub const DisableInfo: u32 = 1 << 2; [INFO] [stdout] 24 + pub const DISABLE_INFO: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DisableDebug` should have an upper case name [INFO] [stdout] --> src/logging.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const DisableDebug: u32 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - pub const DisableDebug: u32 = 1 << 3; [INFO] [stdout] 25 + pub const DISABLE_DEBUG: u32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ExitOnError` should have an upper case name [INFO] [stdout] --> src/logging.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const ExitOnError: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - pub const ExitOnError: u32 = 1 << 4; [INFO] [stdout] 26 + pub const EXIT_ON_ERROR: u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mount.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unmount(&self) -> OsResult<()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unmount(&self) -> OsResult<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fork`, `getpid`, and `sleep` [INFO] [stdout] --> src/init.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{execve, exit, fork, getpid, mount, sleep, O_CLOEXEC, O_CREAT, O_RDONLY, O_WRONLY}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString` and `c_void` [INFO] [stdout] --> src/init.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{c_char, c_void, CStr, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stdout] --> src/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fuseisk::cstr::buf::default` [INFO] [stdout] --> src/init.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use Fuseisk::cstr::buf::default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::c_char` [INFO] [stdout] --> src/bootconfig.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_char, fs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fuseisk::result::ResultExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use Fuseisk::result::ResultExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fork`, `getpid`, and `sleep` [INFO] [stdout] --> src/init.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{execve, exit, fork, getpid, mount, sleep, O_CLOEXEC, O_CREAT, O_RDONLY, O_WRONLY}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString` and `c_void` [INFO] [stdout] --> src/init.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{c_char, c_void, CStr, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stdout] --> src/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/init.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fuseisk::cstr::buf::default` [INFO] [stdout] --> src/init.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use Fuseisk::cstr::buf::default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::c_char` [INFO] [stdout] --> src/bootconfig.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_char, fs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IoSlice`, `Write`, `ffi::CString`, and `stdout` [INFO] [stdout] --> src/test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | ffi::CString, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | fs, [INFO] [stdout] 6 | io::{stdout, IoSlice, Write}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fuseisk::result::ResultExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use Fuseisk::result::ResultExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootconfig.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set(&mut self, mut kv: Vec<(String, String)>) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootconfig.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set(&mut self, mut kv: Vec<(String, String)>) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preinit_dev` and `overlay_con` are never read [INFO] [stdout] --> src/init.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MagiskInit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | preinit_dev: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | overlay_con: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/bootconfig.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct KeyValue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `partition_map` is never read [INFO] [stdout] --> src/bootconfig.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BootConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) partition_map: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DT_DIR` is never used [INFO] [stdout] --> src/bootconfig.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DEFAULT_DT_DIR: &str = "/proc/device-tree/firmware/android"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preinit_dev` and `overlay_con` are never read [INFO] [stdout] --> src/init.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct MagiskInit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | preinit_dev: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | overlay_con: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/bootconfig.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct KeyValue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `partition_map` is never read [INFO] [stdout] --> src/bootconfig.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BootConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) partition_map: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DT_DIR` is never used [INFO] [stdout] --> src/bootconfig.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DEFAULT_DT_DIR: &str = "/proc/device-tree/firmware/android"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | MagiskInit::new(argv).start(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = MagiskInit::new(argv).start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/init.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | writeln!(file, "{}", "#rzxrzfewfewfewf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = writeln!(file, "{}", "#rzxrzfewfewfewf"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | MagiskInit::new(argv).start(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = MagiskInit::new(argv).start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/init.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | writeln!(file, "{}", "#rzxrzfewfewfewf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = writeln!(file, "{}", "#rzxrzfewfewfewf"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "6534a2a12cafecb437b9f54d4b2957c0aec50107bbaff2b5e4ddb4ffb4dfbbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6534a2a12cafecb437b9f54d4b2957c0aec50107bbaff2b5e4ddb4ffb4dfbbb9", kill_on_drop: false }` [INFO] [stdout] 6534a2a12cafecb437b9f54d4b2957c0aec50107bbaff2b5e4ddb4ffb4dfbbb9