[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 try#93086cfebfccb79083c59d0d3b2052944bba643c 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Thehepta/MagiskTest on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16bfc2788ef55d9fa4cac29c3553a8d4b2bc8f107b58f01c4a91d3a480210b54 [INFO] running `Command { std: "docker" "start" "-a" "16bfc2788ef55d9fa4cac29c3553a8d4b2bc8f107b58f01c4a91d3a480210b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16bfc2788ef55d9fa4cac29c3553a8d4b2bc8f107b58f01c4a91d3a480210b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16bfc2788ef55d9fa4cac29c3553a8d4b2bc8f107b58f01c4a91d3a480210b54", kill_on_drop: false }` [INFO] [stdout] 16bfc2788ef55d9fa4cac29c3553a8d4b2bc8f107b58f01c4a91d3a480210b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb517ed24415aadb7f6053e578320b3c7f67402cab8ff18b6fdd01a1831dc18e [INFO] running `Command { std: "docker" "start" "-a" "cb517ed24415aadb7f6053e578320b3c7f67402cab8ff18b6fdd01a1831dc18e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking cfg-if v1.0.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] error: struct `OverlayAttr` is never constructed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OverlayAttr(Utf8CString, Utf8CString); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(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] [stderr] error: could not compile `Fuseisk` (lib test) due to 1 previous error; 63 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: struct `OverlayAttr` is never constructed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OverlayAttr(Utf8CString, Utf8CString); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(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] [stderr] error: could not compile `Fuseisk` (lib) due to 1 previous error; 65 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb517ed24415aadb7f6053e578320b3c7f67402cab8ff18b6fdd01a1831dc18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb517ed24415aadb7f6053e578320b3c7f67402cab8ff18b6fdd01a1831dc18e", kill_on_drop: false }` [INFO] [stdout] cb517ed24415aadb7f6053e578320b3c7f67402cab8ff18b6fdd01a1831dc18e