[INFO] cloning repository https://github.com/limeburst/uptime-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/limeburst/uptime-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimeburst%2Fuptime-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimeburst%2Fuptime-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6496cef66d55d7857f2770bff17162ee13e59ce3 [INFO] checking limeburst/uptime-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimeburst%2Fuptime-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/limeburst/uptime-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/limeburst/uptime-rust [INFO] finished tweaking git repo https://github.com/limeburst/uptime-rust [INFO] tweaked toml for git repo https://github.com/limeburst/uptime-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/limeburst/uptime-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.1.3 [INFO] [stderr] Downloaded time v0.1.10 [INFO] [stderr] Downloaded utmp v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43b0d4ceab3520fd47b4d54e33c321f2f20f88d0a2bd82da22d9de28f6967335 [INFO] running `Command { std: "docker" "start" "-a" "43b0d4ceab3520fd47b4d54e33c321f2f20f88d0a2bd82da22d9de28f6967335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b0d4ceab3520fd47b4d54e33c321f2f20f88d0a2bd82da22d9de28f6967335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b0d4ceab3520fd47b4d54e33c321f2f20f88d0a2bd82da22d9de28f6967335", kill_on_drop: false }` [INFO] [stdout] 43b0d4ceab3520fd47b4d54e33c321f2f20f88d0a2bd82da22d9de28f6967335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8f834bc55abb21f40d2ea3a041be1d257f59c6ccfe7a2bb7f6c128776707ee [INFO] running `Command { std: "docker" "start" "-a" "ff8f834bc55abb21f40d2ea3a041be1d257f59c6ccfe7a2bb7f6c128776707ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.1.3 [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/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.3/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.3/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | 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.3/src/lib.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | 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.3/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.3/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.3/src/lib.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | 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.3/src/lib.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | 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.3/src/lib.rs:98:64 [INFO] [stdout] | [INFO] [stdout] 98 | 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.3/src/lib.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | 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.3/src/lib.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | 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.3/src/lib.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cmd = Command::new(gcc(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.3/src/lib.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | 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.3/src/lib.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | 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.3/src/lib.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | 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.3/src/lib.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | } 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.3/src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | 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.3/src/lib.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | run(Command::new(ar(target.as_slice())).arg("crus") [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.3/src/lib.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | 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.3/src/lib.rs:134:57 [INFO] [stdout] | [INFO] [stdout] 134 | 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.3/src/lib.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | .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.3/src/lib.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | .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 `find_str` found for reference `&str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | let is_android = target.find_str("android").is_some(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_str` found for reference `&str` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let is_android = target.find_str("android").is_some(); [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.3/src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | .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.3/src/lib.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | res.push(sdk_path.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 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 27 previous errors [INFO] running `Command { std: "docker" "inspect" "ff8f834bc55abb21f40d2ea3a041be1d257f59c6ccfe7a2bb7f6c128776707ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8f834bc55abb21f40d2ea3a041be1d257f59c6ccfe7a2bb7f6c128776707ee", kill_on_drop: false }` [INFO] [stdout] ff8f834bc55abb21f40d2ea3a041be1d257f59c6ccfe7a2bb7f6c128776707ee