[INFO] updating cached repository https://github.com/cmr/rust-bench
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d3de14b00c9b292c5577e979a05b6ca5be9649d4
[INFO] checking cmr/rust-bench against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/cmr/rust-bench
[INFO] finished tweaking git repo https://github.com/cmr/rust-bench
[INFO] tweaked toml for git repo https://github.com/cmr/rust-bench written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/cmr/rust-bench already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/cmr/rust-cgroup`
[INFO] [stderr]     Updating git repository `https://github.com/rust-lang/time`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 6b5d1b696698fb386e05a87cebb08681ec623783477970031dfaadf158d10da8
[INFO] running `"docker" "start" "-a" "6b5d1b696698fb386e05a87cebb08681ec623783477970031dfaadf158d10da8"`
[INFO] [stderr]     Checking cgroup v0.0.1 (https://github.com/cmr/rust-cgroup#0fd5c15d)
[INFO] [stderr]    Compiling time-macros-impl v0.1.0 (https://github.com/rust-lang/time#c40882af)
[INFO] [stderr]    Compiling time v0.2.9 (https://github.com/rust-lang/time#c40882af)
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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] 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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/0fd5c15/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: build failed
[INFO] running `"docker" "inspect" "6b5d1b696698fb386e05a87cebb08681ec623783477970031dfaadf158d10da8"`
[INFO] running `"docker" "rm" "-f" "6b5d1b696698fb386e05a87cebb08681ec623783477970031dfaadf158d10da8"`
[INFO] [stdout] 6b5d1b696698fb386e05a87cebb08681ec623783477970031dfaadf158d10da8
