[INFO] cloning repository https://github.com/ritvikos/enclosure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritvikos/enclosure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fenclosure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fenclosure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 48911bcbf7fd984b117785c84663f351c1a0c5ea
[INFO] checking ritvikos/enclosure against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fenclosure" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ritvikos/enclosure
[INFO] finished tweaking git repo https://github.com/ritvikos/enclosure
[INFO] tweaked toml for git repo https://github.com/ritvikos/enclosure written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ritvikos/enclosure on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ritvikos/enclosure 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded indextree-macros v0.1.3
[INFO] [stderr]   Downloaded indextree v4.8.1
[INFO] [stderr]   Downloaded caps v0.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0
[INFO] running `Command { std: "docker" "start" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking caps v0.5.6
[INFO] [stderr]     Checking memmap2 v0.9.11
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling indextree-macros v0.1.3
[INFO] [stderr]     Checking indextree v4.8.1
[INFO] [stderr]     Checking enclosure v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OwnedFd`
[INFO] [stdout]    --> src/mount/info.rs:497:29
[INFO] [stdout]     |
[INFO] [stdout] 497 |     use std::os::fd::{AsFd, OwnedFd};
[INFO] [stdout]     |                             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/jail.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         execvp(&file, &args)?;
[INFO] [stdout]     |         --------------------- any code following this expression is unreachable
[INFO] [stdout] 159 |
[INFO] [stdout] 160 |         Ok(0)
[INFO] [stdout]     |         ^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/jail.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         execvp(&file, &args)?;
[INFO] [stdout]     |         --------------------- any code following this expression is unreachable
[INFO] [stdout] 159 |
[INFO] [stdout] 160 |         Ok(0)
[INFO] [stdout]     |         ^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mnt_tree`
[INFO] [stdout]    --> src/mount/info.rs:533:13
[INFO] [stdout]     |
[INFO] [stdout] 533 |         let mnt_tree = mnt_lines
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mnt_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `acquire_child_privileges` is never used
[INFO] [stdout]   --> src/capabilities.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl CapabilityManager {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn acquire_child_privileges(in_new_ns: bool) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEADING_MOUNT` is never used
[INFO] [stdout]   --> src/config.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const HEADING_MOUNT: &str = "Mount";
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `mode` are never read
[INFO] [stdout]    --> src/config.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 347 |     Dir {
[INFO] [stdout]     |     --- fields in this variant
[INFO] [stdout] 348 |         path: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 349 |         mode: Option<OctalPermissions>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fd`, `dest`, and `mode` are never read
[INFO] [stdout]    --> src/config.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |     File {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 352 |         fd: i32,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 353 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 354 |         mode: Option<OctalPermissions>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:371:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |     Proc {
[INFO] [stdout]     |     ---- field in this variant
[INFO] [stdout] 371 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |     Dev {
[INFO] [stdout]     |     --- field in this variant
[INFO] [stdout] 374 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |     Mqueue {
[INFO] [stdout]     |     ------ field in this variant
[INFO] [stdout] 382 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Overlay` and `Tmpfs` are never constructed
[INFO] [stdout]    --> src/config.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub enum MountEntry {
[INFO] [stdout]     |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 362 |     Overlay {
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     Tmpfs {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PathPair` is never constructed
[INFO] [stdout]    --> src/config.rs:722:12
[INFO] [stdout]     |
[INFO] [stdout] 722 | pub struct PathPair {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FdPathPair` is never constructed
[INFO] [stdout]    --> src/config.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 | pub struct FdPathPair {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChmodPair` is never constructed
[INFO] [stdout]    --> src/config.rs:754:12
[INFO] [stdout]     |
[INFO] [stdout] 754 | pub struct ChmodPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]    --> src/config.rs:851:12
[INFO] [stdout]     |
[INFO] [stdout] 851 | pub struct Size(pub u64);
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `child` is never used
[INFO] [stdout]   --> src/context.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl ProcessContext<Parent> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub unsafe fn child(&self) -> ProcessContext<Child> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `writer` is never read
[INFO] [stdout]   --> src/ipc.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub struct ErrorReporter {
[INFO] [stdout]    |                ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |         writer: OwnedFd,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `split`, `report_child_error`, and `report_error` are never used
[INFO] [stdout]   --> src/ipc.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |     impl ErrorReporter {
[INFO] [stdout]    |     ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |         pub fn split(self) -> (ParentErrorReader, ChildErrorWriter) {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |         pub fn report_child_error<E>(&self, error: &E) -> Result<()>
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |         fn report_error(&self, error_message: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChildErrorWriter` is never constructed
[INFO] [stdout]    --> src/ipc.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub struct ChildErrorWriter {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `report_error` are never used
[INFO] [stdout]    --> src/ipc.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 127 |     impl ChildErrorWriter {
[INFO] [stdout]     |     --------------------- associated items in this implementation
[INFO] [stdout] 128 |         /// Creates a new instance of `ChildErrorWriter`
[INFO] [stdout] 129 |         pub fn new(writer: OwnedFd) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |         fn report_error(&self, error_message: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ParentErrorReader` is never constructed
[INFO] [stdout]    --> src/ipc.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     pub struct ParentErrorReader {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `read_error_message` are never used
[INFO] [stdout]    --> src/ipc.rs:153:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |     impl ParentErrorReader {
[INFO] [stdout]     |     ---------------------- associated items in this implementation
[INFO] [stdout] 152 |         /// Creates a new `ParentErrorReader` from an owned FD
[INFO] [stdout] 153 |         pub fn new(reader: OwnedFd) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |         pub fn read_error_message(&self) -> Result<String> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Executed` is never constructed
[INFO] [stdout]   --> src/jail.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Executed;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Forked` is never constructed
[INFO] [stdout]   --> src/jailer.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Forked {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Terminated` is never constructed
[INFO] [stdout]   --> src/jailer.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Terminated {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_stack_bytes` is never used
[INFO] [stdout]    --> src/jailer.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl<'resource> Jailer<'resource, Configured> {
[INFO] [stdout]     | --------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn with_stack_bytes(mut self, bytes: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]    --> src/jailer.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct JailHandle<S: sealed::Sealed = Running> {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 186 |     state: S,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `kill` is never used
[INFO] [stdout]    --> src/jailer.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 208 | impl ExitHandler {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn kill(self) -> Result<i32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `namespace` is never read
[INFO] [stdout]   --> src/mount.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct MountContext<'ctx> {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     namespace: &'ctx NamespaceOptions,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MountContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Missing` is never constructed
[INFO] [stdout]   --> src/mount.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub(crate) enum SourceKind {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Missing,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_dest_with_perms` is never used
[INFO] [stdout]    --> src/mount.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn resolve_dest_with_perms(dest: &Path, perms: OctalPermissions) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Permissive` is never constructed
[INFO] [stdout]   --> src/mount/bind.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum RemountPolicy {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |     Permissive,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RemountPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_existing` is never used
[INFO] [stdout]    --> src/mount/bind.rs:198:26
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl<'a> BindMount<'a, Bound> {
[INFO] [stdout]     | ----------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub(crate) unsafe fn from_existing(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parsed` is never constructed
[INFO] [stdout]    --> src/mount/info.rs:108:19
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub(crate) struct Parsed;
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Linked` is never constructed
[INFO] [stdout]    --> src/mount/info.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub(crate) struct Linked;
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Sealed` is never used
[INFO] [stdout]    --> src/mount/info.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub trait Sealed {}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `STACK_SIZE` is never used
[INFO] [stdout]   --> src/sandbox.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Sandbox<Configured> {
[INFO] [stdout]    | ------------------------ associated constant in this implementation
[INFO] [stdout] 45 |     const STACK_SIZE: usize = 1024 * 1024;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `overflow` is never read
[INFO] [stdout]   --> src/userns.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IdentityMap {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     overflow: OverFlowIds,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IdentityMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_path` is never used
[INFO] [stdout]   --> src/utils.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) fn resolve_path(root: &Path, path: &Path) -> PathBuf {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getcwd` is never used
[INFO] [stdout]    --> src/utils.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub fn getcwd() -> Result<std::path::PathBuf> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_directory` is never used
[INFO] [stdout]    --> src/utils.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn create_directory<P: AsRef<Path>>(path: P, mode: u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_dir` is never used
[INFO] [stdout]    --> src/utils.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn ensure_dir<P: AsRef<Path>>(path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_cgroups_supported` is never used
[INFO] [stdout]    --> src/utils.rs:197:15
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub(crate) fn is_cgroups_supported() -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cat` is never used
[INFO] [stdout]    --> src/utils.rs:243:15
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub(crate) fn cat(path: &str) {
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `acquire_child_privileges` is never used
[INFO] [stdout]   --> src/capabilities.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl CapabilityManager {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn acquire_child_privileges(in_new_ns: bool) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEADING_MOUNT` is never used
[INFO] [stdout]   --> src/config.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const HEADING_MOUNT: &str = "Mount";
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `mode` are never read
[INFO] [stdout]    --> src/config.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 347 |     Dir {
[INFO] [stdout]     |     --- fields in this variant
[INFO] [stdout] 348 |         path: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 349 |         mode: Option<OctalPermissions>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fd`, `dest`, and `mode` are never read
[INFO] [stdout]    --> src/config.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |     File {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 352 |         fd: i32,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 353 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 354 |         mode: Option<OctalPermissions>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:371:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |     Proc {
[INFO] [stdout]     |     ---- field in this variant
[INFO] [stdout] 371 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |     Dev {
[INFO] [stdout]     |     --- field in this variant
[INFO] [stdout] 374 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dest` is never read
[INFO] [stdout]    --> src/config.rs:382:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |     Mqueue {
[INFO] [stdout]     |     ------ field in this variant
[INFO] [stdout] 382 |         dest: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Overlay` and `Tmpfs` are never constructed
[INFO] [stdout]    --> src/config.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub enum MountEntry {
[INFO] [stdout]     |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 362 |     Overlay {
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     Tmpfs {
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MountEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PathPair` is never constructed
[INFO] [stdout]    --> src/config.rs:722:12
[INFO] [stdout]     |
[INFO] [stdout] 722 | pub struct PathPair {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FdPathPair` is never constructed
[INFO] [stdout]    --> src/config.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 | pub struct FdPathPair {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChmodPair` is never constructed
[INFO] [stdout]    --> src/config.rs:754:12
[INFO] [stdout]     |
[INFO] [stdout] 754 | pub struct ChmodPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]    --> src/config.rs:851:12
[INFO] [stdout]     |
[INFO] [stdout] 851 | pub struct Size(pub u64);
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `child` is never used
[INFO] [stdout]   --> src/context.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl ProcessContext<Parent> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub unsafe fn child(&self) -> ProcessContext<Child> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `writer` is never read
[INFO] [stdout]   --> src/ipc.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub struct ErrorReporter {
[INFO] [stdout]    |                ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |         writer: OwnedFd,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `split`, `report_child_error`, and `report_error` are never used
[INFO] [stdout]   --> src/ipc.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |     impl ErrorReporter {
[INFO] [stdout]    |     ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |         pub fn split(self) -> (ParentErrorReader, ChildErrorWriter) {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |         pub fn report_child_error<E>(&self, error: &E) -> Result<()>
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |         fn report_error(&self, error_message: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChildErrorWriter` is never constructed
[INFO] [stdout]    --> src/ipc.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub struct ChildErrorWriter {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `report_error` are never used
[INFO] [stdout]    --> src/ipc.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 127 |     impl ChildErrorWriter {
[INFO] [stdout]     |     --------------------- associated items in this implementation
[INFO] [stdout] 128 |         /// Creates a new instance of `ChildErrorWriter`
[INFO] [stdout] 129 |         pub fn new(writer: OwnedFd) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |         fn report_error(&self, error_message: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ParentErrorReader` is never constructed
[INFO] [stdout]    --> src/ipc.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     pub struct ParentErrorReader {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `read_error_message` are never used
[INFO] [stdout]    --> src/ipc.rs:153:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |     impl ParentErrorReader {
[INFO] [stdout]     |     ---------------------- associated items in this implementation
[INFO] [stdout] 152 |         /// Creates a new `ParentErrorReader` from an owned FD
[INFO] [stdout] 153 |         pub fn new(reader: OwnedFd) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |         pub fn read_error_message(&self) -> Result<String> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Executed` is never constructed
[INFO] [stdout]   --> src/jail.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Executed;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Forked` is never constructed
[INFO] [stdout]   --> src/jailer.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Forked {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Terminated` is never constructed
[INFO] [stdout]   --> src/jailer.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Terminated {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_stack_bytes` is never used
[INFO] [stdout]    --> src/jailer.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl<'resource> Jailer<'resource, Configured> {
[INFO] [stdout]     | --------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn with_stack_bytes(mut self, bytes: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]    --> src/jailer.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct JailHandle<S: sealed::Sealed = Running> {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 186 |     state: S,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `kill` is never used
[INFO] [stdout]    --> src/jailer.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 208 | impl ExitHandler {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn kill(self) -> Result<i32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `namespace` is never read
[INFO] [stdout]   --> src/mount.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct MountContext<'ctx> {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     namespace: &'ctx NamespaceOptions,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MountContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Missing` is never constructed
[INFO] [stdout]   --> src/mount.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub(crate) enum SourceKind {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 |     Missing,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_dest_with_perms` is never used
[INFO] [stdout]    --> src/mount.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn resolve_dest_with_perms(dest: &Path, perms: OctalPermissions) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Permissive` is never constructed
[INFO] [stdout]   --> src/mount/bind.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum RemountPolicy {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |     Permissive,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RemountPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_existing` is never used
[INFO] [stdout]    --> src/mount/bind.rs:198:26
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl<'a> BindMount<'a, Bound> {
[INFO] [stdout]     | ----------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub(crate) unsafe fn from_existing(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parsed` is never constructed
[INFO] [stdout]    --> src/mount/info.rs:108:19
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub(crate) struct Parsed;
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Linked` is never constructed
[INFO] [stdout]    --> src/mount/info.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub(crate) struct Linked;
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Sealed` is never used
[INFO] [stdout]    --> src/mount/info.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub trait Sealed {}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `STACK_SIZE` is never used
[INFO] [stdout]   --> src/sandbox.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Sandbox<Configured> {
[INFO] [stdout]    | ------------------------ associated constant in this implementation
[INFO] [stdout] 45 |     const STACK_SIZE: usize = 1024 * 1024;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `overflow` is never read
[INFO] [stdout]   --> src/userns.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IdentityMap {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     overflow: OverFlowIds,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IdentityMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_path` is never used
[INFO] [stdout]   --> src/utils.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) fn resolve_path(root: &Path, path: &Path) -> PathBuf {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getcwd` is never used
[INFO] [stdout]    --> src/utils.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub fn getcwd() -> Result<std::path::PathBuf> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_directory` is never used
[INFO] [stdout]    --> src/utils.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn create_directory<P: AsRef<Path>>(path: P, mode: u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_dir` is never used
[INFO] [stdout]    --> src/utils.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn ensure_dir<P: AsRef<Path>>(path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_cgroups_supported` is never used
[INFO] [stdout]    --> src/utils.rs:197:15
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub(crate) fn is_cgroups_supported() -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cat` is never used
[INFO] [stdout]    --> src/utils.rs:243:15
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub(crate) fn cat(path: &str) {
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.30.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0", kill_on_drop: false }`
[INFO] [stdout] ae23486799d5e38dc3b346ee2f04ff34f2e25f35223e9d3c4e16b1d41cf3f0f0
