[INFO] cloning repository https://github.com/thomas192/rusty_container [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomas192/rusty_container" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 791fdd0a918fd4334008afe68af656295e2242ad [INFO] checking thomas192/rusty_container against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomas192/rusty_container [INFO] finished tweaking git repo https://github.com/thomas192/rusty_container [INFO] tweaked toml for git repo https://github.com/thomas192/rusty_container written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thomas192/rusty_container 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking thomas192/rusty_container against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomas192/rusty_container [INFO] finished tweaking git repo https://github.com/thomas192/rusty_container [INFO] tweaked toml for git repo https://github.com/thomas192/rusty_container written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomas192/rusty_container 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking thomas192/rusty_container against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomas192/rusty_container [INFO] finished tweaking git repo https://github.com/thomas192/rusty_container [INFO] tweaked toml for git repo https://github.com/thomas192/rusty_container written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomas192/rusty_container 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 620e786f4d06159bce7b04cb8591c622092405afce80076f70336fae881b857f [INFO] running `Command { std: "docker" "start" "-a" "620e786f4d06159bce7b04cb8591c622092405afce80076f70336fae881b857f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "620e786f4d06159bce7b04cb8591c622092405afce80076f70336fae881b857f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620e786f4d06159bce7b04cb8591c622092405afce80076f70336fae881b857f", kill_on_drop: false }` [INFO] [stdout] 620e786f4d06159bce7b04cb8591c622092405afce80076f70336fae881b857f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0775ac919622bb51d5be5863b9051dd8c9172aa5214382f59250e50f9298a96 [INFO] running `Command { std: "docker" "start" "-a" "b0775ac919622bb51d5be5863b9051dd8c9172aa5214382f59250e50f9298a96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking rusty_container v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cgroup.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cgroup.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cgroup.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cgroup.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZeroI128` [INFO] [stdout] --> src/cgroup.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | use std::{fs, num::NonZeroI128}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cgroup` is never constructed [INFO] [stdout] --> src/cgroup.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Cgroup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cgroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/cgroup.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cgroup.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Cgroup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn build_default(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn create(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn delete(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn set_cpu_max(&self, quota: i64, period: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cpu_weight(&self, weight: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn set_memory_max(&self, memory_max: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn set_memory_swap_max(&self, memory_swap_max: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quota` and `period` are never read [INFO] [stdout] --> src/cgroup/cpu_max.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct CPUMax { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | quota: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | period: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPUMax` 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 items `new`, `quota`, and `period` are never used [INFO] [stdout] --> src/cgroup/cpu_max.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl CPUMax { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(quota: i64, period: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn quota(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn period(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OutOfRange` is never constructed [INFO] [stdout] --> src/cgroup/cpu_weight.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CPUWeightError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 6 | OutOfRange, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPUWeightError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cgroup/cpu_weight.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CPUWeight(u64); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `CPUWeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CPUWeight(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/cgroup/cpu_weight.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build` and `value` are never used [INFO] [stdout] --> src/cgroup/cpu_weight.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CPUWeight { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub fn build(weight: u64) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cgroup/memory_max.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemoryMax(Option); [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MemoryMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemoryMax(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/cgroup/memory_max.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl MemoryMax { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 5 | pub fn new(max: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn value(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cgroup/memory_swap_max.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemorySwapMax(Option); [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MemorySwapMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemorySwapMax(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/cgroup/memory_swap_max.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl MemorySwapMax { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 5 | pub fn new(max: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn value(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFormat`, `InvalidDevice`, and `InvalidLimit` are never constructed [INFO] [stdout] --> src/cgroup/io_max.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IOMaxError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | InvalidFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | InvalidDevice, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | InvalidLimit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IOMaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_read_bps`, `device_write_bps`, `device_read_iops`, and `device_write_iops` are never read [INFO] [stdout] --> src/cgroup/io_max.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct IOMax { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | pub device_read_bps: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub device_write_bps: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub device_read_iops: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub device_write_iops: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IOMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/cgroup/io_max.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cgroup/io_max.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl IOMax { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 38 | pub fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn device_path_to_major_minor(device_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn validate_and_transform(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn device_read_bps(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn device_write_bps(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn device_read_iops(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn device_write_iops(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpu_max`, `cpu_weight`, `memory_max`, `memory_swap_max`, and `io_max` are never read [INFO] [stdout] --> src/cgroup.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Cgroup { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | path: PathBuf, [INFO] [stdout] 26 | cpu_max: CPUMax, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | cpu_weight: CPUWeight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | memory_max: MemoryMax, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | memory_swap_max: MemorySwapMax, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | io_max: IOMax, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cgroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cpu_max`, `set_cpu_weight`, `set_memory_max`, and `set_memory_swap_max` are never used [INFO] [stdout] --> src/cgroup.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Cgroup { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn set_cpu_max(&self, quota: i64, period: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cpu_weight(&self, weight: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn set_memory_max(&self, memory_max: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn set_memory_swap_max(&self, memory_swap_max: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quota` and `period` are never read [INFO] [stdout] --> src/cgroup/cpu_max.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct CPUMax { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | quota: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | period: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPUMax` 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 `quota` and `period` are never used [INFO] [stdout] --> src/cgroup/cpu_max.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl CPUMax { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn quota(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn period(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cgroup/memory_max.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemoryMax(Option); [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MemoryMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemoryMax(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/cgroup/memory_max.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl MemoryMax { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn value(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cgroup/memory_swap_max.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemorySwapMax(Option); [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MemorySwapMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemorySwapMax(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/cgroup/memory_swap_max.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl MemorySwapMax { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn value(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_read_bps`, `device_write_bps`, `device_read_iops`, and `device_write_iops` are never read [INFO] [stdout] --> src/cgroup/io_max.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct IOMax { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | pub device_read_bps: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub device_write_bps: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub device_read_iops: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub device_write_iops: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IOMax` 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 `device_read_bps`, `device_write_bps`, `device_read_iops`, and `device_write_iops` are never used [INFO] [stdout] --> src/cgroup/io_max.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl IOMax { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn device_read_bps(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn device_write_bps(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn device_read_iops(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn device_write_iops(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "b0775ac919622bb51d5be5863b9051dd8c9172aa5214382f59250e50f9298a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0775ac919622bb51d5be5863b9051dd8c9172aa5214382f59250e50f9298a96", kill_on_drop: false }` [INFO] [stdout] b0775ac919622bb51d5be5863b9051dd8c9172aa5214382f59250e50f9298a96