[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/description' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container/description': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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 try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c786849b6769395b3500dcb9ca73a73aa69457c6acfec3ae55d55df4b7db77a [INFO] running `Command { std: "docker" "start" "-a" "2c786849b6769395b3500dcb9ca73a73aa69457c6acfec3ae55d55df4b7db77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c786849b6769395b3500dcb9ca73a73aa69457c6acfec3ae55d55df4b7db77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c786849b6769395b3500dcb9ca73a73aa69457c6acfec3ae55d55df4b7db77a", kill_on_drop: false }` [INFO] [stdout] 2c786849b6769395b3500dcb9ca73a73aa69457c6acfec3ae55d55df4b7db77a [INFO] checking thomas192/rusty_container against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e8ecd863174a9c9a05092595cbedc57dfb69320f567f5dae17a49bc08b95efe [INFO] running `Command { std: "docker" "start" "-a" "7e8ecd863174a9c9a05092595cbedc57dfb69320f567f5dae17a49bc08b95efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e8ecd863174a9c9a05092595cbedc57dfb69320f567f5dae17a49bc08b95efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8ecd863174a9c9a05092595cbedc57dfb69320f567f5dae17a49bc08b95efe", kill_on_drop: false }` [INFO] [stdout] 7e8ecd863174a9c9a05092595cbedc57dfb69320f567f5dae17a49bc08b95efe [INFO] checking thomas192/rusty_container against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas192%2Frusty_container" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomas192/rusty_container on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f2882c0b0e83a2e8f705b1656bde1ea7537c74e999b6677767b99626307dbcd [INFO] running `Command { std: "docker" "start" "-a" "4f2882c0b0e83a2e8f705b1656bde1ea7537c74e999b6677767b99626307dbcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f2882c0b0e83a2e8f705b1656bde1ea7537c74e999b6677767b99626307dbcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2882c0b0e83a2e8f705b1656bde1ea7537c74e999b6677767b99626307dbcd", kill_on_drop: false }` [INFO] [stdout] 4f2882c0b0e83a2e8f705b1656bde1ea7537c74e999b6677767b99626307dbcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 157720e3f96422327bc5de9c21834c874aac738744a842b2621bea24dbd42473 [INFO] running `Command { std: "docker" "start" "-a" "157720e3f96422327bc5de9c21834c874aac738744a842b2621bea24dbd42473", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v2.4.2 [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: `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: 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: 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: `#[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: struct `CPUMax` is never constructed [INFO] [stdout] --> src/cgroup/cpu_max.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct CPUMax { [INFO] [stdout] | ^^^^^^ [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: enum `CPUWeightError` is never used [INFO] [stdout] --> src/cgroup/cpu_weight.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CPUWeightError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPUWeight` is never constructed [INFO] [stdout] --> src/cgroup/cpu_weight.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CPUWeight(u64); [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: struct `MemoryMax` is never constructed [INFO] [stdout] --> src/cgroup/memory_max.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemoryMax(Option); [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: struct `MemorySwapMax` is never constructed [INFO] [stdout] --> src/cgroup/memory_swap_max.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MemorySwapMax(Option); [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: enum `CgroupError` is never used [INFO] [stdout] --> src/cgroup/cgroup_error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CgroupError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IOMaxError` is never used [INFO] [stdout] --> src/cgroup/io_max.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IOMaxError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IOMax` is never constructed [INFO] [stdout] --> src/cgroup/io_max.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct IOMax { [INFO] [stdout] | ^^^^^ [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: 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] = help: consider removing this field [INFO] [stdout] = note: `MemoryMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = help: consider removing this field [INFO] [stdout] = note: `MemorySwapMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "157720e3f96422327bc5de9c21834c874aac738744a842b2621bea24dbd42473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157720e3f96422327bc5de9c21834c874aac738744a842b2621bea24dbd42473", kill_on_drop: false }` [INFO] [stdout] 157720e3f96422327bc5de9c21834c874aac738744a842b2621bea24dbd42473