[INFO] cloning repository https://github.com/yacn/lz4rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yacn/lz4rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyacn%2Flz4rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyacn%2Flz4rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 443a33606f073da02b991e18f5a9d2d8737a802d [INFO] checking yacn/lz4rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyacn%2Flz4rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yacn/lz4rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yacn/lz4rs [INFO] finished tweaking git repo https://github.com/yacn/lz4rs [INFO] tweaked toml for git repo https://github.com/yacn/lz4rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/yacn/lz4rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/gcc-rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ebb2efef5035c1ebf2d8df59fed77fc066faa90805a5140eb1ee2a7b87db70 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b8ebb2efef5035c1ebf2d8df59fed77fc066faa90805a5140eb1ee2a7b87db70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ebb2efef5035c1ebf2d8df59fed77fc066faa90805a5140eb1ee2a7b87db70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ebb2efef5035c1ebf2d8df59fed77fc066faa90805a5140eb1ee2a7b87db70", kill_on_drop: false }` [INFO] [stdout] b8ebb2efef5035c1ebf2d8df59fed77fc066faa90805a5140eb1ee2a7b87db70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce96a840188fca2ea1835e64eaffb723696ba0d9d472dd491508f5114340476 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ce96a840188fca2ea1835e64eaffb723696ba0d9d472dd491508f5114340476", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.1.4 (https://github.com/alexcrichton/gcc-rs?rev=f5c52d956e0742a66e40c8301e634e136c3ae287#f5c52d95) [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | 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/f5c52d9/src/lib.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | 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/f5c52d9/src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 3 | 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/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | 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] 3 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | include_directories: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [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/f5c52d9/src/lib.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:72:19 [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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | } 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:140:57 [INFO] [stdout] | [INFO] [stdout] 140 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:141:65 [INFO] [stdout] | [INFO] [stdout] 141 | .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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:142:61 [INFO] [stdout] | [INFO] [stdout] 142 | .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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | 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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | .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/git/checkouts/gcc-rs-cd3269fb36fe9cfa/f5c52d9/src/lib.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | 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` [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ce96a840188fca2ea1835e64eaffb723696ba0d9d472dd491508f5114340476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce96a840188fca2ea1835e64eaffb723696ba0d9d472dd491508f5114340476", kill_on_drop: false }` [INFO] [stdout] 8ce96a840188fca2ea1835e64eaffb723696ba0d9d472dd491508f5114340476