[INFO] cloning repository https://github.com/lyledean1/rust2git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lyledean1/rust2git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyledean1%2Frust2git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyledean1%2Frust2git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff24b7d19b15e060bc21822f62ff01202e2cef9d [INFO] checking lyledean1/rust2git against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyledean1%2Frust2git" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lyledean1/rust2git on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lyledean1/rust2git [INFO] finished tweaking git repo https://github.com/lyledean1/rust2git [INFO] tweaked toml for git repo https://github.com/lyledean1/rust2git written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lyledean1/rust2git 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "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 curl-sys v0.4.59+curl-7.86.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a541d61f6520793c14bf45b135da27a1fb1932db8f32e87c5f8fe59b45714f1f [INFO] running `Command { std: "docker" "start" "-a" "a541d61f6520793c14bf45b135da27a1fb1932db8f32e87c5f8fe59b45714f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a541d61f6520793c14bf45b135da27a1fb1932db8f32e87c5f8fe59b45714f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a541d61f6520793c14bf45b135da27a1fb1932db8f32e87c5f8fe59b45714f1f", kill_on_drop: false }` [INFO] [stdout] a541d61f6520793c14bf45b135da27a1fb1932db8f32e87c5f8fe59b45714f1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0049212dcffd98b44c7bdc51939057239ea017cae93b6b1e6f1cba0ab4dcf2 [INFO] running `Command { std: "docker" "start" "-a" "0d0049212dcffd98b44c7bdc51939057239ea017cae93b6b1e6f1cba0ab4dcf2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling base64ct v1.5.3 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rust2git v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/git/raw.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/git/mod.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | extern fn shutdown() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/git/raw.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/git/mod.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | extern fn shutdown() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/git/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn find_commit(&self, oid: &Oid) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn find_commit(&self, oid: &Oid) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/git/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn author(&self) -> Signature { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn author(&self) -> Signature<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/git/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn find_commit(&self, oid: &Oid) -> Result { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn find_commit(&self, oid: &Oid) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/git/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn author(&self) -> Signature { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn author(&self) -> Signature<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling curl-sys v0.4.59+curl-7.86.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.3 [INFO] [stderr] Compiling libgit2-sys v0.1.0 (/opt/rustwide/workdir/libgit2-sys) [INFO] [stdout] warning: unexpected `cfg` condition value: `runtime_linking` [INFO] [stdout] --> libgit2-sys/build.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "runtime_linking")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cfg-if`, `lazy_static`, `libloading`, and `log` [INFO] [stdout] = help: consider adding `runtime_linking` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `private-docs-rs` [INFO] [stdout] --> libgit2-sys/build.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | if cfg!(feature = "private-docs-rs") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cfg-if`, `lazy_static`, `libloading`, and `log` [INFO] [stdout] = help: consider adding `private-docs-rs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> libgit2-sys/build.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | fs::create_dir_all(build_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 146 | let _ = fs::create_dir_all(build_dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `libgit2-sys v0.1.0 (/opt/rustwide/workdir/libgit2-sys)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libgit2-sys-c22c9acfadcfa966/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=LIBGIT2_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=LIBGIT2_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] libgit2-sys/build.rs:94: output = "/opt/rustwide/target/debug/build/libgit2-sys-407da33187c90ef2/out" [INFO] [stderr] libgit2-sys/build.rs:96: source = "/opt/rustwide/workdir/libgit2-sys/target/source-v1.5.0" [INFO] [stderr] libgit2-sys/build.rs:98: lib_dir = "/opt/rustwide/target/debug/build/libgit2-sys-407da33187c90ef2/out/lib-v1.5.0" [INFO] [stderr] libgit2-sys/build.rs:102: Creating directory "/opt/rustwide/target/debug/build/libgit2-sys-407da33187c90ef2/out/lib-v1.5.0" [INFO] [stderr] libgit2-sys/build.rs:106: framework_library_path = "/opt/rustwide/target/debug/build/libgit2-sys-407da33187c90ef2/out/lib-v1.5.0/liblibgit2_framework.so.2" [INFO] [stderr] libgit2-sys/build.rs:108: library_path = "/opt/rustwide/target/debug/build/libgit2-sys-407da33187c90ef2/out/lib-v1.5.0/liblibgit2.so.2" [INFO] [stderr] libgit2-sys/build.rs:187: Executing "bazel" "version" [INFO] [stderr] cargo:error=Bazel must be installed at version 3.7.2 or greater. (Error: No such file or directory (os error 2)) [INFO] running `Command { std: "docker" "inspect" "0d0049212dcffd98b44c7bdc51939057239ea017cae93b6b1e6f1cba0ab4dcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0049212dcffd98b44c7bdc51939057239ea017cae93b6b1e6f1cba0ab4dcf2", kill_on_drop: false }` [INFO] [stdout] 0d0049212dcffd98b44c7bdc51939057239ea017cae93b6b1e6f1cba0ab4dcf2