[INFO] crate cgroup 0.0.1 is already in cache
[INFO] checking cgroup-0.0.1 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate cgroup 0.0.1 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate cgroup 0.0.1 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate cgroup 0.0.1
[INFO] finished tweaking crates.io crate cgroup 0.0.1
[INFO] tweaked toml for crates.io crate cgroup 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2dbe6a8d714fa1c13418d5bf11f735cb54ce59f7fc7825d2ccc07ce6a98fcbe2
[INFO] running `"docker" "start" "-a" "2dbe6a8d714fa1c13418d5bf11f735cb54ce59f7fc7825d2ccc07ce6a98fcbe2"`
[INFO] [stderr]     Checking cgroup v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`
[INFO] [stderr]   --> src/lib.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::io::{File, IoResult};
[INFO] [stderr]    |               ^^^^  ^^^^^^^^
[INFO] [stderr]    |               |     |
[INFO] [stderr]    |               |     no `IoResult` in `io`
[INFO] [stderr]    |               |     help: a similar name exists in the module: `Result`
[INFO] [stderr]    |               no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]   --> src/lib.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::io::fs::PathExtensions;
[INFO] [stderr]    |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:37:37
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let contents = try!(File::open(&Path::new(format!("/proc/{}/cgroup", pid))).read_to_string());
[INFO] [stderr]    |                                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:46:20
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let path = Path::new(columns.next().expect("No controller path!"));
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `io`
[INFO] [stderr]   --> src/lib.rs:54:31
[INFO] [stderr]    |
[INFO] [stderr] 54 |     for path in try!(std::io::fs::readdir(path)).into_iter() {
[INFO] [stderr]    |                               ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:65:35
[INFO] [stderr]    |
[INFO] [stderr] 65 |         CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() })
[INFO] [stderr]    |                                   ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:83:53
[INFO] [stderr]    |
[INFO] [stderr] 83 |             Some(c) => p.push(c.path_relative_from(&Path::new("/")).expect("path_relative_from is bork?")),
[INFO] [stderr]    |                                                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:24:15
[INFO] [stderr]    |
[INFO] [stderr] 24 |     basepath: Path,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:27:35
[INFO] [stderr]    |
[INFO] [stderr] 27 |     controllers: HashMap<Vec<u8>, Path>,
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct CGroup<Path> {
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 |     path: Path,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:32:37
[INFO] [stderr]    |
[INFO] [stderr] 32 |     cache: RefCell<HashMap<Vec<u8>, Path>>,
[INFO] [stderr]    |                                     ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct Controller<Path> {
[INFO] [stderr]    |                      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:36:71
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                                                                       ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers<Path>(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:52:22
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                      ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:52:57
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache<Path>(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:69:36
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:37:20
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let contents = try!(File::open(&Path::new(format!("/proc/{}/cgroup", pid))).read_to_string());
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:54:17
[INFO] [stderr]    |
[INFO] [stderr] 54 |     for path in try!(std::io::fs::readdir(path)).into_iter() {
[INFO] [stderr]    |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:70:21
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let conts = try!(get_controllers(pid));
[INFO] [stderr]    |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | extern crate libc;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:36:29
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:65:73
[INFO] [stderr]    |
[INFO] [stderr] 65 |         CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() })
[INFO] [stderr]    |                                                                         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:69:47
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[INFO] [stderr]    |                                               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`
[INFO] [stderr]   --> src/lib.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::io::{File, IoResult};
[INFO] [stderr]    |               ^^^^  ^^^^^^^^
[INFO] [stderr]    |               |     |
[INFO] [stderr]    |               |     no `IoResult` in `io`
[INFO] [stderr]    |               |     help: a similar name exists in the module: `Result`
[INFO] [stderr]    |               no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]   --> src/lib.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::io::fs::PathExtensions;
[INFO] [stderr]    |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:37:37
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let contents = try!(File::open(&Path::new(format!("/proc/{}/cgroup", pid))).read_to_string());
[INFO] [stderr]    |                                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:46:20
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let path = Path::new(columns.next().expect("No controller path!"));
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `io`
[INFO] [stderr]   --> src/lib.rs:54:31
[INFO] [stderr]    |
[INFO] [stderr] 54 |     for path in try!(std::io::fs::readdir(path)).into_iter() {
[INFO] [stderr]    |                               ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:65:35
[INFO] [stderr]    |
[INFO] [stderr] 65 |         CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() })
[INFO] [stderr]    |                                   ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:83:53
[INFO] [stderr]    |
[INFO] [stderr] 83 |             Some(c) => p.push(c.path_relative_from(&Path::new("/")).expect("path_relative_from is bork?")),
[INFO] [stderr]    |                                                     ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:24:15
[INFO] [stderr]    |
[INFO] [stderr] 24 |     basepath: Path,
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:27:35
[INFO] [stderr]    |
[INFO] [stderr] 27 |     controllers: HashMap<Vec<u8>, Path>,
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct CGroup<Path> {
[INFO] [stderr]    |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 |     path: Path,
[INFO] [stderr]    |           ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:32:37
[INFO] [stderr]    |
[INFO] [stderr] 32 |     cache: RefCell<HashMap<Vec<u8>, Path>>,
[INFO] [stderr]    |                                     ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct Controller<Path> {
[INFO] [stderr]    |                      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:36:71
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                                                                       ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers<Path>(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:52:22
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                      ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:52:57
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn path_cache<Path>(path: &Path) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:69:36
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[INFO] [stderr]    |                                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:37:20
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let contents = try!(File::open(&Path::new(format!("/proc/{}/cgroup", pid))).read_to_string());
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:54:17
[INFO] [stderr]    |
[INFO] [stderr] 54 |     for path in try!(std::io::fs::readdir(path)).into_iter() {
[INFO] [stderr]    |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:70:21
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let conts = try!(get_controllers(pid));
[INFO] [stderr]    |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | extern crate libc;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:36:29
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stderr]    |                             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:65:73
[INFO] [stderr]    |
[INFO] [stderr] 65 |         CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() })
[INFO] [stderr]    |                                                                         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stderr]   --> src/lib.rs:69:47
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[INFO] [stderr]    |                                               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 19 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `cgroup`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 19 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `cgroup`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2dbe6a8d714fa1c13418d5bf11f735cb54ce59f7fc7825d2ccc07ce6a98fcbe2"`
[INFO] running `"docker" "rm" "-f" "2dbe6a8d714fa1c13418d5bf11f735cb54ce59f7fc7825d2ccc07ce6a98fcbe2"`
[INFO] [stdout] 2dbe6a8d714fa1c13418d5bf11f735cb54ce59f7fc7825d2ccc07ce6a98fcbe2
