[INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/cpg1111/conspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpg1111/conspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d08a443728c0d3ea555c1637df036a47be64ce0 [INFO] checking cpg1111/conspect against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpg1111%2Fconspect" "/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/cpg1111/conspect [INFO] finished tweaking git repo https://github.com/cpg1111/conspect [INFO] tweaked toml for git repo https://github.com/cpg1111/conspect written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cpg1111/conspect on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cpg1111/conspect 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.3.5 [INFO] [stderr] Downloaded regex v0.1.77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e352bce22efd2ae7ab4676faaaf2891d499f42137ccbce14571acc5e9a961cf3 [INFO] running `Command { std: "docker" "start" "-a" "e352bce22efd2ae7ab4676faaaf2891d499f42137ccbce14571acc5e9a961cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e352bce22efd2ae7ab4676faaaf2891d499f42137ccbce14571acc5e9a961cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e352bce22efd2ae7ab4676faaaf2891d499f42137ccbce14571acc5e9a961cf3", kill_on_drop: false }` [INFO] [stdout] e352bce22efd2ae7ab4676faaaf2891d499f42137ccbce14571acc5e9a961cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3658e676b89153fac45339c63ddfc69d9583c395952697462beec613bfd0b85d [INFO] running `Command { std: "docker" "start" "-a" "3658e676b89153fac45339c63ddfc69d9583c395952697462beec613bfd0b85d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.77 [INFO] [stderr] Checking conspect v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/container/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/container/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/container/cgroup_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CGroup_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | trait CGroup_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CgroupReader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/container/cgroup_reader.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPU_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct CPU_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CpuReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mem_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct Mem_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MemReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BLKIO_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct BLKIO_Reader { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlkioReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Net_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct Net_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NetReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CGroup_Stat` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type CGroup_Stat = (String, String); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CgroupStat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/container/ns_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NS_Group` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type NS_Group = (Vec, Vec); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NsGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait NS_Reader { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `User_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct User_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IPC_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct IPC_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpcNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MNT_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct MNT_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MntNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Net_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Net_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NetNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PID_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct PID_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PidNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UTS_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct UTS_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtsNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | for entry in try!(fs::read_dir(proc_dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager/mod.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container/cgroup_reader.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn which_cgroup(pid: u32) -> Box String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn which_cgroup(pid: u32) -> Box String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/container/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/container/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/container/cgroup_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CGroup_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | trait CGroup_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CgroupReader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/container/cgroup_reader.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPU_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct CPU_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CpuReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Mem_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct Mem_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MemReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BLKIO_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct BLKIO_Reader { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlkioReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Net_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct Net_Reader { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NetReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CGroup_Stat` should have an upper camel case name [INFO] [stdout] --> src/container/cgroup_reader.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type CGroup_Stat = (String, String); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CgroupStat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/container/ns_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NS_Group` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type NS_Group = (Vec, Vec); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NsGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait NS_Reader { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `User_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct User_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IPC_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct IPC_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpcNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manager/mod.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: dyn Fn(&DirEntry)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | const STATS: Vec = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 9 | | String::from("cpu.shares"), [INFO] [stdout] 10 | | String::from("cpu.cfs_period_us"), [INFO] [stdout] 11 | | String::from("cpu.rt_period_us"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | String::from("net_prio.prioidx"), [INFO] [stdout] 31 | | ]; [INFO] [stdout] | |_^ allocation not allowed in constants [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MNT_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct MNT_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MntNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Net_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Net_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NetNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PID_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct PID_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PidNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UTS_NS_Reader` should have an upper camel case name [INFO] [stdout] --> src/container/ns_reader.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct UTS_NS_Reader { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtsNsReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | for entry in try!(fs::read_dir(proc_dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manager/mod.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container/cgroup_reader.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn which_cgroup(pid: u32) -> Box String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn which_cgroup(pid: u32) -> Box String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manager/mod.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: dyn Fn(&DirEntry)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | String::from("cpu.shares"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | String::from("cpu.cfs_period_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | String::from("cpu.rt_period_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | String::from("cpu.rt_runtime_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | String::from("cpuacct.usage"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | String::from("cpuacct.usage_percpu"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | String::from("memory.failcnt"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | String::from("memory.limit_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | String::from("memory.max_usage_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | String::from("memory.move_charge_at_immigrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | String::from("memory.pressure_level"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | String::from("memory.swappiness"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | String::from("memory.usage_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | String::from("blkio.io_merged"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | String::from("blkio.io_queued"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | String::from("blkio.io_service_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | String::from("blkio.io_service_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | String::from("blkio.io_wait_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | String::from("blkio.io_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | String::from("net_cls.classid"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | String::from("net_prio.ifpriomap"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | String::from("net_prio.prioidx"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | const STATS: Vec = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 9 | | String::from("cpu.shares"), [INFO] [stdout] 10 | | String::from("cpu.cfs_period_us"), [INFO] [stdout] 11 | | String::from("cpu.rt_period_us"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | String::from("net_prio.prioidx"), [INFO] [stdout] 31 | | ]; [INFO] [stdout] | |_^ allocation not allowed in constants [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `slice::::into_vec::` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | const STATS: Vec = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 9 | | String::from("cpu.shares"), [INFO] [stdout] 10 | | String::from("cpu.cfs_period_us"), [INFO] [stdout] 11 | | String::from("cpu.rt_period_us"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | String::from("net_prio.prioidx"), [INFO] [stdout] 31 | | ]; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | String::from("cpu.shares"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | String::from("cpu.cfs_period_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | String::from("cpu.rt_period_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | String::from("cpu.rt_runtime_us"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | String::from("cpuacct.usage"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | String::from("cpuacct.usage_percpu"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | String::from("memory.failcnt"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | String::from("memory.limit_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | String::from("memory.max_usage_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | String::from("memory.move_charge_at_immigrate"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | String::from("memory.pressure_level"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | String::from("memory.swappiness"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | String::from("memory.usage_in_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | String::from("blkio.io_merged"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | String::from("blkio.io_queued"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | String::from("blkio.io_service_bytes"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | String::from("blkio.io_service_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> src/container/cgroup_reader.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let mut end = -1; [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | String::from("blkio.io_wait_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | String::from("blkio.io_time"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> src/container/cgroup_reader.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let mut begin = -1; [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | String::from("net_cls.classid"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | String::from("net_prio.ifpriomap"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | String::from("net_prio.prioidx"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `slice::::into_vec::` in constants [INFO] [stdout] --> src/container/cgroup_reader.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | const STATS: Vec = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 9 | | String::from("cpu.shares"), [INFO] [stdout] 10 | | String::from("cpu.cfs_period_us"), [INFO] [stdout] 11 | | String::from("cpu.rt_period_us"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | String::from("net_prio.prioidx"), [INFO] [stdout] 31 | | ]; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/container/cgroup_reader.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn read(&self, stat: &str) -> String { [INFO] [stdout] | ---- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 86 | read_cgroup(String::from("cpu,cpuacct"), self.name, stat); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> src/container/cgroup_reader.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let mut end = -1; [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied [INFO] [stdout] --> src/container/cgroup_reader.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let mut begin = -1; [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `usize` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Neg`: [INFO] [stdout] &f128 [INFO] [stdout] &f16 [INFO] [stdout] &f32 [INFO] [stdout] &f64 [INFO] [stdout] &i128 [INFO] [stdout] &i16 [INFO] [stdout] &i32 [INFO] [stdout] &i64 [INFO] [stdout] and 12 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/container/cgroup_reader.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn read(&self, stat: &str) -> String { [INFO] [stdout] | ---- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 86 | read_cgroup(String::from("cpu,cpuacct"), self.name, stat); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/container/ns_reader.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_ns_f(content: String) -> u32 { [INFO] [stdout] | ---------- ^^^ expected `u32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 22 | ns.parse::().unwrap(); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `conspect` (bin "conspect") due to 28 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `conspect` (bin "conspect" test) due to 27 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3658e676b89153fac45339c63ddfc69d9583c395952697462beec613bfd0b85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3658e676b89153fac45339c63ddfc69d9583c395952697462beec613bfd0b85d", kill_on_drop: false }` [INFO] [stdout] 3658e676b89153fac45339c63ddfc69d9583c395952697462beec613bfd0b85d