[INFO] cloning repository https://github.com/gtadam/rust-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gtadam/rust-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a95b3eec594dc57959f1f345bf5305b9524b664 [INFO] checking gtadam/rust-dns against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gtadam/rust-dns on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gtadam/rust-dns [INFO] finished tweaking git repo https://github.com/gtadam/rust-dns [INFO] tweaked toml for git repo https://github.com/gtadam/rust-dns written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/gtadam/rust-dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.1.1 [INFO] [stderr] Downloaded time v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec87645d862285b46ac998119ff2c94f8ad238f60fe49d5f2a466f507b9fdbe [INFO] running `Command { std: "docker" "start" "-a" "2ec87645d862285b46ac998119ff2c94f8ad238f60fe49d5f2a466f507b9fdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec87645d862285b46ac998119ff2c94f8ad238f60fe49d5f2a466f507b9fdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec87645d862285b46ac998119ff2c94f8ad238f60fe49d5f2a466f507b9fdbe", kill_on_drop: false }` [INFO] [stdout] 2ec87645d862285b46ac998119ff2c94f8ad238f60fe49d5f2a466f507b9fdbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca1c8fe0df708becfc7376962000712777fe4992616d115f4bf08f6eca912953 [INFO] running `Command { std: "docker" "start" "-a" "ca1c8fe0df708becfc7376962000712777fe4992616d115f4bf08f6eca912953", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.1.1 [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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.1/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::process::InheritFd; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::getenv` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::os::getenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `getenv` in `os` [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.1/src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | 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.1/src/lib.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub include_directories: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | 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.1/src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub objects: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | 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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | let src = Path::new(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] 1 | 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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | let dst = Path::new(getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [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.1/src/lib.rs:91:64 [INFO] [stdout] | [INFO] [stdout] 91 | 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[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | include_directories: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | println!("{} = {}", v, r); [INFO] [stdout] | ^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [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.1/src/lib.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | if target.as_slice().contains("-ios") { [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | cmd.args(ios_flags(target.as_slice()).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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | if target.as_slice().contains("i686") { [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | } else if target.as_slice().contains("x86_64") { [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if !target.as_slice().contains("i686") { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [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.1/src/lib.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | 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.1/src/lib.rs:127:57 [INFO] [stdout] | [INFO] [stdout] 127 | let res = 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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | .or_else(|| 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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | .or_else(|| 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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | .as_slice().words().map(|s| s.to_string()) [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/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.1/src/lib.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | res.push(sdk_path.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gcc` due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "ca1c8fe0df708becfc7376962000712777fe4992616d115f4bf08f6eca912953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca1c8fe0df708becfc7376962000712777fe4992616d115f4bf08f6eca912953", kill_on_drop: false }` [INFO] [stdout] ca1c8fe0df708becfc7376962000712777fe4992616d115f4bf08f6eca912953