[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 master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Frust-bench" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "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-7-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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking cmr/rust-bench against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [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] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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-7-tc2/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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking cmr/rust-bench against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [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] validating manifest of git repo https://github.com/cmr/rust-bench on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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-7-tc2/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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba1a2d2e255312df7274daa5899d561e710de5e4695a51d4bff299cb7a3240d4 [INFO] running `Command { std: "docker" "start" "-a" "ba1a2d2e255312df7274daa5899d561e710de5e4695a51d4bff299cb7a3240d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba1a2d2e255312df7274daa5899d561e710de5e4695a51d4bff299cb7a3240d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1a2d2e255312df7274daa5899d561e710de5e4695a51d4bff299cb7a3240d4", kill_on_drop: false }` [INFO] [stdout] ba1a2d2e255312df7274daa5899d561e710de5e4695a51d4bff299cb7a3240d4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a41c5297e8b6cad7e3d8c25531a05d34eb962cb2ef5f38034e3d3e0b0e0f75b [INFO] running `Command { std: "docker" "start" "-a" "7a41c5297e8b6cad7e3d8c25531a05d34eb962cb2ef5f38034e3d3e0b0e0f75b", kill_on_drop: false }` [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-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[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[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-02-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-02-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-02-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-02-17; consider upgrading it if it is out of date [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] [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[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[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] | ^^^^^ help: there is a method with a similar name: `split_once` [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[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] [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] [stderr] error: could not compile `gcc` (lib) due to 25 previous errors [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] running `Command { std: "docker" "inspect" "7a41c5297e8b6cad7e3d8c25531a05d34eb962cb2ef5f38034e3d3e0b0e0f75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a41c5297e8b6cad7e3d8c25531a05d34eb962cb2ef5f38034e3d3e0b0e0f75b", kill_on_drop: false }` [INFO] [stdout] 7a41c5297e8b6cad7e3d8c25531a05d34eb962cb2ef5f38034e3d3e0b0e0f75b