[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] testing cmr/rust-bench against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-6/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+1.44.0" "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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 5a583d55d0ca631ac604136f860191797b0f6f96d6801748500e53eabb49b235 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5a583d55d0ca631ac604136f860191797b0f6f96d6801748500e53eabb49b235"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cgroup v0.0.1 (https://github.com/cmr/rust-cgroup#0fd5c15d) [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, 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: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, 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:36:71 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult, 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:22 [INFO] [stderr] | [INFO] [stderr] 52 | fn path_cache(path: &Path) -> IoResult, 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, 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:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult { [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 for more information [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, Path>> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [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 for more information [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 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [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" "5a583d55d0ca631ac604136f860191797b0f6f96d6801748500e53eabb49b235"` [INFO] running `"docker" "rm" "-f" "5a583d55d0ca631ac604136f860191797b0f6f96d6801748500e53eabb49b235"` [INFO] [stdout] 5a583d55d0ca631ac604136f860191797b0f6f96d6801748500e53eabb49b235