[INFO] cloning repository https://github.com/redbeardster/insulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redbeardster/insulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredbeardster%2Finsulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredbeardster%2Finsulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0d5d59b69ec5937471b0419697767ef1f0159be
[INFO] checking redbeardster/insulator against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredbeardster%2Finsulator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/redbeardster/insulator
[INFO] finished tweaking git repo https://github.com/redbeardster/insulator
[INFO] tweaked toml for git repo https://github.com/redbeardster/insulator written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/redbeardster/insulator on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/redbeardster/insulator 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58b4492cb5f15a397d17be777bc9d77059f74e5c1daf3f2129143c2cc95f0a12
[INFO] running `Command { std: "docker" "start" "-a" "58b4492cb5f15a397d17be777bc9d77059f74e5c1daf3f2129143c2cc95f0a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58b4492cb5f15a397d17be777bc9d77059f74e5c1daf3f2129143c2cc95f0a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58b4492cb5f15a397d17be777bc9d77059f74e5c1daf3f2129143c2cc95f0a12", kill_on_drop: false }`
[INFO] [stdout] 58b4492cb5f15a397d17be777bc9d77059f74e5c1daf3f2129143c2cc95f0a12
[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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7834c3e5a6e6f5824f25ca2d4ffd3f589455eb2a58c345f0497b50c530da75d2
[INFO] running `Command { std: "docker" "start" "-a" "7834c3e5a6e6f5824f25ca2d4ffd3f589455eb2a58c345f0497b50c530da75d2", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking netlink-packet-core v0.8.1
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling seccomp-sys v0.1.3
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking time-core v0.1.7
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking clap_lex v0.7.7
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking time v0.3.45
[INFO] [stderr]     Checking caps v0.5.6
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking netlink-packet-generic v0.4.0
[INFO] [stderr]     Checking seccomp v0.1.2
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking syslog v6.1.1
[INFO] [stderr]     Checking sysinfo v0.29.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking netlink-sys v0.8.8
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking netlink-proto v0.12.0
[INFO] [stderr]     Checking genetlink v0.2.6
[INFO] [stderr]     Checking ethtool v0.2.9
[INFO] [stderr]     Checking insulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `proxy::NetworkProxy`
[INFO] [stdout]  --> src/network/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use proxy::NetworkProxy;
[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 import: `Pid`
[INFO] [stdout]  --> src/insulator.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     unistd::{execvp, Pid},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proxy::NetworkProxy`
[INFO] [stdout]  --> src/network/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use proxy::NetworkProxy;
[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 import: `Pid`
[INFO] [stdout]  --> src/insulator.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     unistd::{execvp, Pid},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]  --> src/security.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn check_privileges(args: &Args) -> Result<()> {
[INFO] [stdout]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_mount` are never used
[INFO] [stdout]   --> src/namespace/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl MountNamespace {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add_mount(&mut self, source: String, target: String, fstype: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/namespace/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl NetworkNamespace {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_uid_map`, `add_gid_map`, and `create_rootless` are never used
[INFO] [stdout]   --> src/namespace/user.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UserNamespace {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn add_uid_map(&mut self, inside: u32, outside: u32, count: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn add_gid_map(&mut self, inside: u32, outside: u32, count: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn create_rootless() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryCgroup` is never constructed
[INFO] [stdout]  --> src/cgroup/memory.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MemoryCgroup {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_limit` are never used
[INFO] [stdout]   --> src/cgroup/memory.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl MemoryCgroup {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(name: &str) -> anyhow::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn set_limit(&self, limit_mb: usize) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `profile_path` is never read
[INFO] [stdout]  --> src/seccomp.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct SeccompProfile {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     profile_path: Option<std::path::PathBuf>,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SeccompProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/seccomp.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SeccompProfile {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn default() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inheritable` is never read
[INFO] [stdout]   --> src/capabilities.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CapabilityManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     inheritable: HashSet<Capability>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CapabilityManager` 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 `drop_all` and `set_securebits` are never used
[INFO] [stdout]   --> src/capabilities.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl CapabilityManager {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn drop_all(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn set_securebits(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkProxy` is never constructed
[INFO] [stdout]  --> src/network/proxy.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NetworkProxy {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `setup_container_namespace`, `setup_via_netlink`, `setup_nat`, and `cleanup` are never used
[INFO] [stdout]   --> src/network/proxy.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl NetworkProxy {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(container_pid: i32, subnet: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn setup_container_namespace(pid: i32, iface: &str, ip: &IpNetwork) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn setup_via_netlink(_pid: i32, _iface: &str, _ip: &IpNetwork) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn setup_nat(host_iface: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn cleanup(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuditEvent` is never constructed
[INFO] [stdout]   --> src/audit.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AuditEvent {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceUsage` is never constructed
[INFO] [stdout]   --> src/audit.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ResourceUsage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_file` and `sys` are never read
[INFO] [stdout]   --> src/audit.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AuditLogger {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 30 |     log_file: File,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 31 |     sys: System,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log_process_start`, `log_security_violation`, `log_resource_usage`, and `write_event` are never used
[INFO] [stdout]    --> src/audit.rs:47:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl AuditLogger {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn log_process_start(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn log_security_violation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn log_resource_usage(&mut self, pid: u32) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn write_event(&mut self, event: AuditEvent) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_logger` is never used
[INFO] [stdout]    --> src/audit.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub fn init_logger(args: &crate::cli::Args) -> Result<AuditLogger> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_event` is never used
[INFO] [stdout]    --> src/audit.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn log_event(message: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `audit_logger` is never read
[INFO] [stdout]    --> src/insulator.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Insulator {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 108 |     config: IsolationConfig,
[INFO] [stdout] 109 |     audit_logger: AuditLogger,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]  --> src/security.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn check_privileges(args: &Args) -> Result<()> {
[INFO] [stdout]   |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_mount` are never used
[INFO] [stdout]   --> src/namespace/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl MountNamespace {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add_mount(&mut self, source: String, target: String, fstype: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/namespace/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl NetworkNamespace {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_uid_map`, `add_gid_map`, and `create_rootless` are never used
[INFO] [stdout]   --> src/namespace/user.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UserNamespace {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn add_uid_map(&mut self, inside: u32, outside: u32, count: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn add_gid_map(&mut self, inside: u32, outside: u32, count: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn create_rootless() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryCgroup` is never constructed
[INFO] [stdout]  --> src/cgroup/memory.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MemoryCgroup {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_limit` are never used
[INFO] [stdout]   --> src/cgroup/memory.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl MemoryCgroup {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(name: &str) -> anyhow::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn set_limit(&self, limit_mb: usize) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `profile_path` is never read
[INFO] [stdout]  --> src/seccomp.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct SeccompProfile {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     profile_path: Option<std::path::PathBuf>,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SeccompProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/seccomp.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SeccompProfile {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn default() -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inheritable` is never read
[INFO] [stdout]   --> src/capabilities.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct CapabilityManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     inheritable: HashSet<Capability>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CapabilityManager` 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 `drop_all` and `set_securebits` are never used
[INFO] [stdout]   --> src/capabilities.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl CapabilityManager {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn drop_all(&mut self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn set_securebits(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkProxy` is never constructed
[INFO] [stdout]  --> src/network/proxy.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NetworkProxy {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `setup_container_namespace`, `setup_via_netlink`, `setup_nat`, and `cleanup` are never used
[INFO] [stdout]   --> src/network/proxy.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl NetworkProxy {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(container_pid: i32, subnet: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn setup_container_namespace(pid: i32, iface: &str, ip: &IpNetwork) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn setup_via_netlink(_pid: i32, _iface: &str, _ip: &IpNetwork) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn setup_nat(host_iface: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn cleanup(&self) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuditEvent` is never constructed
[INFO] [stdout]   --> src/audit.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AuditEvent {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceUsage` is never constructed
[INFO] [stdout]   --> src/audit.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ResourceUsage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `log_file` and `sys` are never read
[INFO] [stdout]   --> src/audit.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AuditLogger {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 30 |     log_file: File,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 31 |     sys: System,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log_process_start`, `log_security_violation`, `log_resource_usage`, and `write_event` are never used
[INFO] [stdout]    --> src/audit.rs:47:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl AuditLogger {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn log_process_start(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn log_security_violation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn log_resource_usage(&mut self, pid: u32) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn write_event(&mut self, event: AuditEvent) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_logger` is never used
[INFO] [stdout]    --> src/audit.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub fn init_logger(args: &crate::cli::Args) -> Result<AuditLogger> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_event` is never used
[INFO] [stdout]    --> src/audit.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn log_event(message: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `audit_logger` is never read
[INFO] [stdout]    --> src/insulator.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Insulator {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 108 |     config: IsolationConfig,
[INFO] [stdout] 109 |     audit_logger: AuditLogger,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.58s
[INFO] running `Command { std: "docker" "inspect" "7834c3e5a6e6f5824f25ca2d4ffd3f589455eb2a58c345f0497b50c530da75d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7834c3e5a6e6f5824f25ca2d4ffd3f589455eb2a58c345f0497b50c530da75d2", kill_on_drop: false }`
[INFO] [stdout] 7834c3e5a6e6f5824f25ca2d4ffd3f589455eb2a58c345f0497b50c530da75d2
