[INFO] cloning repository https://github.com/cmr/rust-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmr/rust-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3de14b00c9b292c5577e979a05b6ca5be9649d4 [INFO] checking cmr/rust-bench/d3de14b00c9b292c5577e979a05b6ca5be9649d4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmr/rust-bench 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/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-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cmr/rust-bench 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] Updating git repository `https://github.com/cmr/rust-cgroup` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/time` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/gcc-rs` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ba2316fe8602162f0118d269bc7b6e6843eb274cb6b5877069bd0e6022e3fe [INFO] running `Command { std: "docker" "start" "-a" "42ba2316fe8602162f0118d269bc7b6e6843eb274cb6b5877069bd0e6022e3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ba2316fe8602162f0118d269bc7b6e6843eb274cb6b5877069bd0e6022e3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ba2316fe8602162f0118d269bc7b6e6843eb274cb6b5877069bd0e6022e3fe", kill_on_drop: false }` [INFO] [stdout] 42ba2316fe8602162f0118d269bc7b6e6843eb274cb6b5877069bd0e6022e3fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14eac6f1f6c4e96321d8fd469ac328514d161412c0bd1d4a82f5829315319e42 [INFO] running `Command { std: "docker" "start" "-a" "14eac6f1f6c4e96321d8fd469ac328514d161412c0bd1d4a82f5829315319e42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.1.0 (https://github.com/alexcrichton/gcc-rs#f87b2682) [INFO] [stderr] Checking cgroup v0.0.1 (https://github.com/cmr/rust-cgroup#cbce3fb1) [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::process::InheritFd; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub include_directories: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub objects: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let target = os::getenv("TARGET").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let opt_level = os::getenv("OPT_LEVEL").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `USER_RWX` in module `std::io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let target = os::getenv("TARGET") [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | let host = match os::getenv("HOST") { [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let res = os::getenv(format!("{}_{}", var_base, target).as_slice()) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | .or_else(|| os::getenv(format!("{}_{}", var_base, target_u).as_slice())) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | .or_else(|| os::getenv(format!("{}_{}", kind, var_base).as_slice())) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | .or_else(|| os::getenv(var_base)).expect("Could not get environment variable"); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{File, IoResult}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `IoResult` in `io` [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::fs::PathExtensions; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | for path in try!(std::io::fs::readdir(path)).into_iter() { [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | basepath: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | controllers: HashMap, Path>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | path: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | cache: RefCell, Path>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult, Path>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | let contents = try!(File::open(&Path::new(format!("/proc/{}/cgroup", pid))).read_to_string()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let path = Path::new(columns.next().expect("No controller path!")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | fn path_cache(path: &Path) -> IoResult, Path>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | fn path_cache(path: &Path) -> IoResult, Path>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() }) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | Some(c) => p.push(c.path_relative_from(&Path::new("/")).expect("path_relative_from is bork?")), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult, Path>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:65:73 [INFO] [stdout] | [INFO] [stdout] 65 | CGroup::from_base_and_pid(Path::new("/sys/fs/cgroup"), unsafe { libc::getpid() }) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-2ad1413975c4b7b3/cbce3fb/src/lib.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | dst.display(), output.slice(3, output.len() - 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:1717:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:123:61 [INFO] [stdout] | [INFO] [stdout] 123 | let res = os::getenv(format!("{}_{}", var_base, target).as_slice()) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:124:69 [INFO] [stdout] | [INFO] [stdout] 124 | .or_else(|| os::getenv(format!("{}_{}", var_base, target_u).as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | .or_else(|| os::getenv(format!("{}_{}", kind, var_base).as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cgroup` (lib) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | / get_var("CFLAGS").unwrap_or(String::new()) [INFO] [stdout] 144 | | .as_slice().words().map(|s| s.to_string()) [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f87b268/src/lib.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | res.push(sdk_path.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gcc` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "14eac6f1f6c4e96321d8fd469ac328514d161412c0bd1d4a82f5829315319e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14eac6f1f6c4e96321d8fd469ac328514d161412c0bd1d4a82f5829315319e42", kill_on_drop: false }` [INFO] [stdout] 14eac6f1f6c4e96321d8fd469ac328514d161412c0bd1d4a82f5829315319e42