[INFO] crate git2 0.11.0 is already in cache [INFO] checking git2-0.11.0 against master#b1f395de642e8be7bcbbd2bd8aaadab715851f49 for pr-69410 [INFO] extracting crate git2 0.11.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate git2 0.11.0 on toolchain b1f395de642e8be7bcbbd2bd8aaadab715851f49 [INFO] running `"/workspace/cargo-home/bin/cargo" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate git2 0.11.0 [INFO] finished tweaking crates.io crate git2 0.11.0 [INFO] tweaked toml for crates.io crate git2 0.11.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate git2 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 03ad21aa1d83a22b122e31442d5b38ef5f91c43c18842a8283be5e861692f03e [INFO] running `"docker" "start" "-a" "03ad21aa1d83a22b122e31442d5b38ef5f91c43c18842a8283be5e861692f03e"` [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libssh2-sys v0.2.13 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Checking git2 v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:822:18 [INFO] [stderr] | [INFO] [stderr] 822 | unsafe { (call!(raw::git_object_typeisloose(*self)) == 1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:822:18 [INFO] [stderr] | [INFO] [stderr] 822 | unsafe { (call!(raw::git_object_typeisloose(*self)) == 1) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:277:25 [INFO] [stderr] | [INFO] [stderr] 277 | Error::from_str(error::Error::description(&e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:277:25 [INFO] [stderr] | [INFO] [stderr] 277 | Error::from_str(error::Error::description(&e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `git2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "03ad21aa1d83a22b122e31442d5b38ef5f91c43c18842a8283be5e861692f03e"` [INFO] running `"docker" "rm" "-f" "03ad21aa1d83a22b122e31442d5b38ef5f91c43c18842a8283be5e861692f03e"` [INFO] [stdout] 03ad21aa1d83a22b122e31442d5b38ef5f91c43c18842a8283be5e861692f03e