[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 against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd020ad511f390e69d4fb9a42f3aab20f6e80d7fa7b92c8c49cc030412cbd3e1
[INFO] running `Command { std: "docker" "start" "-a" "fd020ad511f390e69d4fb9a42f3aab20f6e80d7fa7b92c8c49cc030412cbd3e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd020ad511f390e69d4fb9a42f3aab20f6e80d7fa7b92c8c49cc030412cbd3e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd020ad511f390e69d4fb9a42f3aab20f6e80d7fa7b92c8c49cc030412cbd3e1", kill_on_drop: false }`
[INFO] [stdout] fd020ad511f390e69d4fb9a42f3aab20f6e80d7fa7b92c8c49cc030412cbd3e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4e09d7a0616bcbc9f5ebd8f97a49348fa4836a99b5d01b611a72bb46f9b9de1d
[INFO] running `Command { std: "docker" "start" "-a" "4e09d7a0616bcbc9f5ebd8f97a49348fa4836a99b5d01b611a72bb46f9b9de1d", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[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 imports `std::io::File`, `std::io::IoResult`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::io::{File, IoResult};
[INFO] [stdout]    |               ^^^^  ^^^^^^^^ no `IoResult` in `io`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            std::fs::File
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 19 - use std::io::{File, IoResult};
[INFO] [stdout] 19 + use std::io::{File, Result};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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]: cannot find `fs` in `io`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     controllers: HashMap<Vec<u8>, 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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     cache: RefCell<HashMap<Vec<u8>, 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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:36:71
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, 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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, 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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:52:57
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn path_cache(path: &Path) -> IoResult<HashMap<Vec<u8>, 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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/cbce3fb/src/lib.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rust-cgroup-73195e41bb73b930/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-73195e41bb73b930/cbce3fb/src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2026-04-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-73195e41bb73b930/cbce3fb/src/lib.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn get_controllers(pid: libc::pid_t) -> IoResult<HashMap<Vec<u8>, Path>> {
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2026-04-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-73195e41bb73b930/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 <https://github.com/rust-lang/rust/issues/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 2026-04-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-73195e41bb73b930/cbce3fb/src/lib.rs:69:47
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn from_base_and_pid(base: Path, pid: libc::pid_t) -> IoResult<CGroup> {
[INFO] [stdout]    |                                               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2026-04-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::Command`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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::io::Command;
[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-efa94263d04b9fc5/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] [stderr] error: could not compile `cgroup` (lib) due to 19 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find `fs` in `io`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/f87b268/src/lib.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub include_directories: Vec<Path>,
[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 type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/f87b268/src/lib.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub objects: Vec<Path>,
[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-efa94263d04b9fc5/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-efa94263d04b9fc5/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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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-efa94263d04b9fc5/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]: cannot find type `Path` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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-efa94263d04b9fc5/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[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/str/mod.rs:1970:4
[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-efa94263d04b9fc5/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[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-efa94263d04b9fc5/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-efa94263d04b9fc5/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] [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-efa94263d04b9fc5/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-efa94263d04b9fc5/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] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gcc` (lib) due to 24 previous errors
[INFO] running `Command { std: "docker" "inspect" "4e09d7a0616bcbc9f5ebd8f97a49348fa4836a99b5d01b611a72bb46f9b9de1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e09d7a0616bcbc9f5ebd8f97a49348fa4836a99b5d01b611a72bb46f9b9de1d", kill_on_drop: false }`
[INFO] [stdout] 4e09d7a0616bcbc9f5ebd8f97a49348fa4836a99b5d01b611a72bb46f9b9de1d
