[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/0d08a443728c0d3ea555c1637df036a47be64ce0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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] validating manifest of git repo https://github.com/cpg1111/conspect on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v0.1.77 [INFO] [stderr] Downloaded regex-syntax v0.3.5 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f1eecb52eb830335410ad8afc1b81534fbe1e632d1a778260a17100b9a7052 [INFO] running `Command { std: "docker" "start" "-a" "d5f1eecb52eb830335410ad8afc1b81534fbe1e632d1a778260a17100b9a7052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f1eecb52eb830335410ad8afc1b81534fbe1e632d1a778260a17100b9a7052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f1eecb52eb830335410ad8afc1b81534fbe1e632d1a778260a17100b9a7052", kill_on_drop: false }` [INFO] [stdout] d5f1eecb52eb830335410ad8afc1b81534fbe1e632d1a778260a17100b9a7052 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aee0c3b8c7b3040fca135b723cdd646c66c833fefeaefb03850a2a5167dca8f [INFO] running `Command { std: "docker" "start" "-a" "9aee0c3b8c7b3040fca135b723cdd646c66c833fefeaefb03850a2a5167dca8f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 regex-syntax v0.3.5 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [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: 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: 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: 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: 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: 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: 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: 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 `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: 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: 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 `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 `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 `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 `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 `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: 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: 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: 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: 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 `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: 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: 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: 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 an object-safe 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/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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: dyn Fn(&DirEntry)) { [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 an object-safe 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] 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 fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::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] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `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 fn `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[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: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[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/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] [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] [stdout] error[E0277]: the size for values of type `(dyn for<'a> Fn(&'a DirEntry) + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/manager/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn for<'a> Fn(&'a DirEntry) + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: you can use `impl Trait` as the argument type [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: impl Fn(&DirEntry)) { [INFO] [stdout] | ++++ [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: &dyn Fn(&DirEntry)) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn for<'a> Fn(&'a DirEntry) + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/manager/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn for<'a> Fn(&'a DirEntry) + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: you can use `impl Trait` as the argument type [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: impl Fn(&DirEntry)) { [INFO] [stdout] | ++++ [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: &dyn Fn(&DirEntry)) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | - help: a return type might be missing here: `-> _` [INFO] [stdout] ... [INFO] [stdout] 23 | for entry in try!(fs::read_dir(proc_dir)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cpu` on type `ns_reader::Reader` [INFO] [stdout] --> src/manager/mod.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | reader.cpu.read(), [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ipc` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | reader.ipc.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `mnt` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | reader.mnt.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `net` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | reader.net.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `pid` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | reader.pid.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `uts` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | reader.uts.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | - help: a return type might be missing here: `-> _` [INFO] [stdout] ... [INFO] [stdout] 23 | for entry in try!(fs::read_dir(proc_dir)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cpu` on type `ns_reader::Reader` [INFO] [stdout] --> src/manager/mod.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | reader.cpu.read(), [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ipc` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | reader.ipc.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `mnt` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | reader.mnt.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `net` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | reader.net.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `pid` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | reader.pid.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `uts` of struct `ns_reader::Reader` is private [INFO] [stdout] --> src/manager/mod.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | reader.uts.read(), [INFO] [stdout] | ^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capcity` found for struct `Vec<(Vec, Vec)>` in the current scope [INFO] [stdout] --> src/manager/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | if groups.capcity() == 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `capacity` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 | if groups.capacity() == 0 { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capcity` found for struct `Vec<(Vec, Vec)>` in the current scope [INFO] [stdout] --> src/manager/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | if groups.capcity() == 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `capacity` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 | if groups.capacity() == 0 { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/manager/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | groups.push(new_group, vec![process]); [INFO] [stdout] | ^^^^ ------------- unexpected argument #2 of type `Vec<&Process>` [INFO] [stdout] | [INFO] [stdout] note: expected `(Vec, Vec)`, found `Vec<_, _>` [INFO] [stdout] --> src/manager/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | groups.push(new_group, vec![process]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected tuple `(Vec, Vec)` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 40 - groups.push(new_group, vec![process]); [INFO] [stdout] 40 + groups.push(/* (Vec, Vec) */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/manager/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | groups.push(new_group, vec![process]); [INFO] [stdout] | ^^^^ ------------- unexpected argument #2 of type `Vec<&Process>` [INFO] [stdout] | [INFO] [stdout] note: expected `(Vec, Vec)`, found `Vec<_, _>` [INFO] [stdout] --> src/manager/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | groups.push(new_group, vec![process]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: expected tuple `(Vec, Vec)` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 40 - groups.push(new_group, vec![process]); [INFO] [stdout] 40 + groups.push(/* (Vec, Vec) */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let (namespaces, procs) = group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----- this expression has type `Vec` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let (namespaces, procs) = group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----- this expression has type `Vec` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[(Vec, Vec)]` cannot be indexed by `Vec` [INFO] [stdout] --> src/manager/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | groups[idx] = (namespaces, procs); [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[(Vec, Vec)]>` is not implemented for `Vec`, which is required by `Vec<(Vec, Vec)>: Index<_>` [INFO] [stdout] = note: required for `Vec<(Vec, Vec)>` to implement `Index>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[(Vec, Vec)]` cannot be indexed by `Vec` [INFO] [stdout] --> src/manager/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | groups[idx] = (namespaces, procs); [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[(Vec, Vec)]>` is not implemented for `Vec`, which is required by `Vec<(Vec, Vec)>: Index<_>` [INFO] [stdout] = note: required for `Vec<(Vec, Vec)>` to implement `Index>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_prefix` found for reference `&DirEntry` in the current scope [INFO] [stdout] --> src/manager/mod.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let path = entry.strip_prefix("/proc/"); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&DirEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_prefix` found for reference `&DirEntry` in the current scope [INFO] [stdout] --> src/manager/mod.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let path = entry.strip_prefix("/proc/"); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&DirEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Process` in the current scope [INFO] [stdout] --> src/manager/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] | ^^^ function or associated item not found in `Process` [INFO] [stdout] | [INFO] [stdout] ::: src/container/process.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Process { [INFO] [stdout] | ------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Process` in the current scope [INFO] [stdout] --> src/manager/mod.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] | ^^^ function or associated item not found in `Process` [INFO] [stdout] | [INFO] [stdout] ::: src/container/process.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Process { [INFO] [stdout] | ------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `aho_corasick::Transitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/manager/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] | ^^^^^^^^^^^ -------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] 65 + let p_proc = Process::new(String::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/manager/mod.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] | ^^^^^^^^^^^ -------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] 65 + let p_proc = Process::new(String::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | self.walk_proc(|entry|{ [INFO] [stdout] | ______________---------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 63 | | let path = entry.strip_prefix("/proc/"); [INFO] [stdout] 64 | | let path_str = path.to_str(); [INFO] [stdout] 65 | | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] 66 | | let ns = ns_reader::new(p_proc.pid); [INFO] [stdout] 67 | | procs = self.match_ns(&p_proc, ns, procs); [INFO] [stdout] 68 | | }); [INFO] [stdout] | |_________^ expected `dyn Fn`, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn for<'a> Fn(&'a DirEntry) + 'static)` [INFO] [stdout] found closure `{closure@src/manager/mod.rs:62:24: 62:31}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/manager/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | self.walk_proc(|entry|{ [INFO] [stdout] | ______________---------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 63 | | let path = entry.strip_prefix("/proc/"); [INFO] [stdout] 64 | | let path_str = path.to_str(); [INFO] [stdout] 65 | | let p_proc = Process::new(String::new(path_str)); [INFO] [stdout] 66 | | let ns = ns_reader::new(p_proc.pid); [INFO] [stdout] 67 | | procs = self.match_ns(&p_proc, ns, procs); [INFO] [stdout] 68 | | }); [INFO] [stdout] | |_________^ expected `dyn Fn`, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn for<'a> Fn(&'a DirEntry) + 'static)` [INFO] [stdout] found closure `{closure@src/manager/mod.rs:62:24: 62:31}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/manager/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn walk_proc(&self, cb: Fn(&DirEntry)) { [INFO] [stdout] | ^^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_process_groups(&self) -> Vec { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ expected `Vec<(Vec, Vec)>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 69 | procs; [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<(Vec, Vec)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/manager/mod.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_process_groups(&self) -> Vec { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ expected `Vec<(Vec, Vec)>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 69 | procs; [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<(Vec, Vec)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `update` is private [INFO] [stdout] --> src/manager/mod.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | container.update() [INFO] [stdout] | ^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/container/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&self) { [INFO] [stdout] | ---------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `update` is private [INFO] [stdout] --> src/manager/mod.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | container.update() [INFO] [stdout] | ^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/container/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&self) { [INFO] [stdout] | ---------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/manager/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | ext_ns_reader: ns_reader::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^-- argument #1 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/container/ns_reader.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(pid: u32) -> Reader { [INFO] [stdout] | ^^^ -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 92 | ext_ns_reader: ns_reader::new(/* u32 */), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/manager/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | ext_ns_reader: ns_reader::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^-- argument #1 of type `u32` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/container/ns_reader.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(pid: u32) -> Reader { [INFO] [stdout] | ^^^ -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 92 | ext_ns_reader: ns_reader::new(/* u32 */), [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `get_containers` is private [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | mang.get_containers(); [INFO] [stdout] | ^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/manager/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_containers(&self) { [INFO] [stdout] | ------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `get_containers` is private [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | mang.get_containers(); [INFO] [stdout] | ^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/manager/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_containers(&self) { [INFO] [stdout] | ------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `update` is private [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | mang.update(); [INFO] [stdout] | ^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/manager/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn update(&self) { [INFO] [stdout] | ---------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `update` is private [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | mang.update(); [INFO] [stdout] | ^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/manager/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn update(&self) { [INFO] [stdout] | ---------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | return read_cgroup(String::from("memory"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 97 | return read_cgroup(String::from("memory"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | return read_cgroup(String::from("memory"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 97 | return read_cgroup(String::from("memory"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | return read_cgroup(String::from("blkio"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 108 | return read_cgroup(String::from("blkio"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | return read_cgroup(String::from("blkio"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 108 | return read_cgroup(String::from("blkio"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:119:62 [INFO] [stdout] | [INFO] [stdout] 119 | return read_cgroup(String::from("net_cls,net_prio"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 119 | return read_cgroup(String::from("net_cls,net_prio"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> src/container/cgroup_reader.rs:119:62 [INFO] [stdout] | [INFO] [stdout] 119 | return read_cgroup(String::from("net_cls,net_prio"), self.name, stat); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 119 | return read_cgroup(String::from("net_cls,net_prio"), self.name.clone(), stat); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net_re` [INFO] [stdout] --> src/container/cgroup_reader.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let net_re = Regex::new(r"^net(.*)").unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_re` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net_re` [INFO] [stdout] --> src/container/cgroup_reader.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let net_re = Regex::new(r"^net(.*)").unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_re` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/container/cgroup_reader.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 134 | let tx_thread = tx_arc.clone(); [INFO] [stdout] 135 | / thread::spawn(move || { [INFO] [stdout] 136 | | let shares; [INFO] [stdout] 137 | | let cpu_re = Regex::new(r"^cpu(.*)").unwrap(); [INFO] [stdout] 138 | | let mem_re = Regex::new(r"^mem(.*)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | tx.send((String::from(res), shares)).unwrap(); [INFO] [stdout] 152 | | }).join(); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/container/cgroup_reader.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 134 | let tx_thread = tx_arc.clone(); [INFO] [stdout] 135 | / thread::spawn(move || { [INFO] [stdout] 136 | | let shares; [INFO] [stdout] 137 | | let cpu_re = Regex::new(r"^cpu(.*)").unwrap(); [INFO] [stdout] 138 | | let mem_re = Regex::new(r"^mem(.*)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | tx.send((String::from(res), shares)).unwrap(); [INFO] [stdout] 152 | | }).join(); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/container/cgroup_reader.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `res` is a reference that is only valid in the method body [INFO] [stdout] 134 | let tx_thread = tx_arc.clone(); [INFO] [stdout] 135 | / thread::spawn(move || { [INFO] [stdout] 136 | | let shares; [INFO] [stdout] 137 | | let cpu_re = Regex::new(r"^cpu(.*)").unwrap(); [INFO] [stdout] 138 | | let mem_re = Regex::new(r"^mem(.*)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | tx.send((String::from(res), shares)).unwrap(); [INFO] [stdout] 152 | | }).join(); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`res` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/container/cgroup_reader.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `res` is a reference that is only valid in the method body [INFO] [stdout] 134 | let tx_thread = tx_arc.clone(); [INFO] [stdout] 135 | / thread::spawn(move || { [INFO] [stdout] 136 | | let shares; [INFO] [stdout] 137 | | let cpu_re = Regex::new(r"^cpu(.*)").unwrap(); [INFO] [stdout] 138 | | let mem_re = Regex::new(r"^mem(.*)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | tx.send((String::from(res), shares)).unwrap(); [INFO] [stdout] 152 | | }).join(); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`res` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `tx_arc` [INFO] [stdout] --> src/container/cgroup_reader.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 157 | let tx_arc = Arc::new(Mutex::new(tx)); [INFO] [stdout] | ------ move occurs because `tx_arc` has type `Arc>>`, which does not implement the `Copy` trait [INFO] [stdout] 158 | for stat in STATS { [INFO] [stdout] | ----------------- inside of this loop [INFO] [stdout] 159 | self.read_res(stat.as_str(), tx_arc); [INFO] [stdout] | ^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `read_res` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/container/cgroup_reader.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | -------- in this method ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 158 ~ let mut value = self.read_res(stat.as_str(), tx_arc); [INFO] [stdout] 159 ~ for stat in STATS { [INFO] [stdout] 160 ~ value; [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 159 | self.read_res(stat.as_str(), tx_arc.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `stats` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/container/cgroup_reader.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | stats.push(rx.recv().unwrap()); [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 155 | let mut stats = Vec::::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `tx_arc` [INFO] [stdout] --> src/container/cgroup_reader.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 157 | let tx_arc = Arc::new(Mutex::new(tx)); [INFO] [stdout] | ------ move occurs because `tx_arc` has type `Arc>>`, which does not implement the `Copy` trait [INFO] [stdout] 158 | for stat in STATS { [INFO] [stdout] | ----------------- inside of this loop [INFO] [stdout] 159 | self.read_res(stat.as_str(), tx_arc); [INFO] [stdout] | ^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `read_res` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/container/cgroup_reader.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | fn read_res(&self, res: &str, tx_arc: Arc>>) { [INFO] [stdout] | -------- in this method ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 158 ~ let mut value = self.read_res(stat.as_str(), tx_arc); [INFO] [stdout] 159 ~ for stat in STATS { [INFO] [stdout] 160 ~ value; [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 159 | self.read_res(stat.as_str(), tx_arc.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `stats` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/container/cgroup_reader.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | stats.push(rx.recv().unwrap()); [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 155 | let mut stats = Vec::::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/container/ns_reader.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let ns_f = fs::read_link(l_path).unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 28 | parse_ns_f(String::from(ns_f)) [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 27 ~ let binding = fs::read_link(l_path).unwrap(); [INFO] [stdout] 28 ~ let ns_f = binding.to_str().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/container/ns_reader.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let ns_f = fs::read_link(l_path).unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 28 | parse_ns_f(String::from(ns_f)) [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 27 ~ let binding = fs::read_link(l_path).unwrap(); [INFO] [stdout] 28 ~ let ns_f = binding.to_str().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `cgroups` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/container/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | cgroups.push(cgroup_reader::new(p.pid)); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 9 | let mut cgroups = Vec::::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `cgroups` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/container/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | cgroups.push(cgroup_reader::new(p.pid)); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 9 | let mut cgroups = Vec::::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.cgroups` which is behind a shared reference [INFO] [stdout] --> src/container/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | for cgroup in self.cgroups { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.cgroups` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.cgroups` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.cgroups` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:346:18 [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 26 | for cgroup in &self.cgroups { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.cgroups` which is behind a shared reference [INFO] [stdout] --> src/container/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | for cgroup in self.cgroups { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.cgroups` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.cgroups` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.cgroups` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/collect.rs:346:18 [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 26 | for cgroup in &self.cgroups { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `process` [INFO] [stdout] --> src/container/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 38 | let (namespaces, process) = group; [INFO] [stdout] | ------- move occurs because `process` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 39 | return Container{ [INFO] [stdout] 40 | processes: process, [INFO] [stdout] | ------- value moved here [INFO] [stdout] 41 | namespaces: namespaces, [INFO] [stdout] 42 | cgroups: load_cgroups(process), [INFO] [stdout] | ^^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `process` [INFO] [stdout] --> src/container/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 38 | let (namespaces, process) = group; [INFO] [stdout] | ------- move occurs because `process` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 39 | return Container{ [INFO] [stdout] 40 | processes: process, [INFO] [stdout] | ------- value moved here [INFO] [stdout] 41 | namespaces: namespaces, [INFO] [stdout] 42 | cgroups: load_cgroups(process), [INFO] [stdout] | ^^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.containers` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/manager/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | self.containers.push(container::new(group)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 72 | fn get_containers(&mut self) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.containers` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/manager/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | self.containers.push(container::new(group)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 72 | fn get_containers(&mut self) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0061, E0277, E0308, E0382, E0507, E0521, E0596... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0061, E0277, E0308, E0382, E0507, E0521, E0596... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conspect` (bin "conspect") due to 62 previous errors; 24 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 62 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9aee0c3b8c7b3040fca135b723cdd646c66c833fefeaefb03850a2a5167dca8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aee0c3b8c7b3040fca135b723cdd646c66c833fefeaefb03850a2a5167dca8f", kill_on_drop: false }` [INFO] [stdout] 9aee0c3b8c7b3040fca135b723cdd646c66c833fefeaefb03850a2a5167dca8f