[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] documenting gtadam/rust-dns against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gtadam/rust-dns on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6d30dc85511ffa4c91e29b11e05b53fc65d7740dc1d48a67b4574565d1d022f
[INFO] running `Command { std: "docker" "start" "-a" "f6d30dc85511ffa4c91e29b11e05b53fc65d7740dc1d48a67b4574565d1d022f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6d30dc85511ffa4c91e29b11e05b53fc65d7740dc1d48a67b4574565d1d022f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6d30dc85511ffa4c91e29b11e05b53fc65d7740dc1d48a67b4574565d1d022f", kill_on_drop: false }`
[INFO] [stdout] f6d30dc85511ffa4c91e29b11e05b53fc65d7740dc1d48a67b4574565d1d022f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee265b4d5f027b946f0022acc75d4961c01992710bead587e3c489439aa5180d
[INFO] running `Command { std: "docker" "start" "-a" "ee265b4d5f027b946f0022acc75d4961c01992710bead587e3c489439aa5180d", 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/index.crates.io-6f17d22bba15001f/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] help: consider importing this struct instead
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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/registry/src/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/gcc-0.1.1/src/lib.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     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] 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/index.crates.io-6f17d22bba15001f/gcc-0.1.1/src/lib.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub objects: Vec<Path>,
[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/index.crates.io-6f17d22bba15001f/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]    |               ^^^^ use of undeclared type `Path`
[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/index.crates.io-6f17d22bba15001f/gcc-0.1.1/src/lib.rs:87:15
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let dst = Path::new(getenv("OUT_DIR").unwrap());
[INFO] [stdout]    |               ^^^^ use of undeclared type `Path`
[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/index.crates.io-6f17d22bba15001f/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[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/gcc-0.1.1/src/lib.rs:102:36
[INFO] [stdout]     |
[INFO] [stdout] 102 |              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/registry/src/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/gcc-0.1.1/src/lib.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /     get_var("CFLAGS").unwrap_or(String::new())
[INFO] [stdout] 152 | |        .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/registry/src/index.crates.io-6f17d22bba15001f/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 20 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 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "ee265b4d5f027b946f0022acc75d4961c01992710bead587e3c489439aa5180d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee265b4d5f027b946f0022acc75d4961c01992710bead587e3c489439aa5180d", kill_on_drop: false }`
[INFO] [stdout] ee265b4d5f027b946f0022acc75d4961c01992710bead587e3c489439aa5180d
