[INFO] cloning repository https://github.com/antekone/parse-netstats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antekone/parse-netstats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantekone%2Fparse-netstats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantekone%2Fparse-netstats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77af01343d872e7138cc6051ab88d596e806d098 [INFO] testing antekone/parse-netstats against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantekone%2Fparse-netstats" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antekone/parse-netstats on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antekone/parse-netstats [INFO] finished tweaking git repo https://github.com/antekone/parse-netstats [INFO] tweaked toml for git repo https://github.com/antekone/parse-netstats written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/antekone/parse-netstats already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 176bf81b00a914221708c25f84e2973c33f58ff00c5003ee8f01661d9ceb1058 [INFO] running `Command { std: "docker" "start" "-a" "176bf81b00a914221708c25f84e2973c33f58ff00c5003ee8f01661d9ceb1058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "176bf81b00a914221708c25f84e2973c33f58ff00c5003ee8f01661d9ceb1058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176bf81b00a914221708c25f84e2973c33f58ff00c5003ee8f01661d9ceb1058", kill_on_drop: false }` [INFO] [stdout] 176bf81b00a914221708c25f84e2973c33f58ff00c5003ee8f01661d9ceb1058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5265dc60ecfa26ca30222638da49e2a1f338564664289b8ca446ec6c5b310d8 [INFO] running `Command { std: "docker" "start" "-a" "d5265dc60ecfa26ca30222638da49e2a1f338564664289b8ca446ec6c5b310d8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.1.0 [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | os::getenv("CC").unwrap_or(if cfg!(windows) { [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | os::getenv("AR").unwrap_or("ar".to_string()) [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | os::getenv("CFLAGS").unwrap_or(String::new()) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | dst.display(), output.slice(3, output.len() - 2)); [INFO] [stdout] | ^^^^^ method not found in `&str` [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.0/src/lib.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | res.push(sdk_path.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gcc` due to 19 previous errors [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5265dc60ecfa26ca30222638da49e2a1f338564664289b8ca446ec6c5b310d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5265dc60ecfa26ca30222638da49e2a1f338564664289b8ca446ec6c5b310d8", kill_on_drop: false }` [INFO] [stdout] d5265dc60ecfa26ca30222638da49e2a1f338564664289b8ca446ec6c5b310d8