[INFO] cloning repository https://github.com/matthiaskrgr/gitgc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthiaskrgr/gitgc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthiaskrgr%2Fgitgc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthiaskrgr%2Fgitgc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c95b23ec0024b81b273e6f88e99f167b4970ed29 [INFO] checking matthiaskrgr/gitgc against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthiaskrgr%2Fgitgc" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthiaskrgr/gitgc 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/matthiaskrgr/gitgc [INFO] finished tweaking git repo https://github.com/matthiaskrgr/gitgc [INFO] tweaked toml for git repo https://github.com/matthiaskrgr/gitgc written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/matthiaskrgr/gitgc 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 9d61d947b8975d58d64f689fef3bdae87a477c6aa7b550deea2e7063014e5e37 [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" "9d61d947b8975d58d64f689fef3bdae87a477c6aa7b550deea2e7063014e5e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d61d947b8975d58d64f689fef3bdae87a477c6aa7b550deea2e7063014e5e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d61d947b8975d58d64f689fef3bdae87a477c6aa7b550deea2e7063014e5e37", kill_on_drop: false }` [INFO] [stdout] 9d61d947b8975d58d64f689fef3bdae87a477c6aa7b550deea2e7063014e5e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 940e9b4d2544720a5fa79d2693b53b5d5cade427806c94e3fb0bcc4aa9440c95 [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" "940e9b4d2544720a5fa79d2693b53b5d5cade427806c94e3fb0bcc4aa9440c95", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.20+1.1.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking git2 v0.13.19 [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/git2-0.13.19/src/attr.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | match (self, other) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined on the method body at 73:26... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/git2-0.13.19/src/attr.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | fn eq(&self, other: &AttrValue<'_>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/git2-0.13.19/src/attr.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | match (self, other) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected `(&AttrValue<'_>, &AttrValue<'_>)` [INFO] [stdout] found `(&AttrValue<'_>, &AttrValue<'_>)` [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'_` as defined on the impl at 72:30... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/git2-0.13.19/src/attr.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | impl PartialEq for AttrValue<'_> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/git2-0.13.19/src/attr.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | | (Self::Bytes(bytes), AttrValue::String(string)) => string.as_bytes() == *bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected `AttrValue<'_>` [INFO] [stdout] found `AttrValue<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git2` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "940e9b4d2544720a5fa79d2693b53b5d5cade427806c94e3fb0bcc4aa9440c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940e9b4d2544720a5fa79d2693b53b5d5cade427806c94e3fb0bcc4aa9440c95", kill_on_drop: false }` [INFO] [stdout] 940e9b4d2544720a5fa79d2693b53b5d5cade427806c94e3fb0bcc4aa9440c95