[INFO] cloning repository https://github.com/allancalix/git-fmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allancalix/git-fmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallancalix%2Fgit-fmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallancalix%2Fgit-fmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cd065a489277643bb979a17b55178903a68d34c [INFO] checking allancalix/git-fmt against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallancalix%2Fgit-fmt" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/allancalix/git-fmt on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/allancalix/git-fmt [INFO] finished tweaking git repo https://github.com/allancalix/git-fmt [INFO] tweaked toml for git repo https://github.com/allancalix/git-fmt written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/allancalix/git-fmt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.13.18 [INFO] [stderr] Downloaded libgit2-sys v0.12.19+1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ddd65bc5d913211e9a9b66e40fef310cfb871e20bdc085563eff5d9a4f96cc2 [INFO] running `Command { std: "docker" "start" "-a" "8ddd65bc5d913211e9a9b66e40fef310cfb871e20bdc085563eff5d9a4f96cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ddd65bc5d913211e9a9b66e40fef310cfb871e20bdc085563eff5d9a4f96cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddd65bc5d913211e9a9b66e40fef310cfb871e20bdc085563eff5d9a4f96cc2", kill_on_drop: false }` [INFO] [stdout] 8ddd65bc5d913211e9a9b66e40fef310cfb871e20bdc085563eff5d9a4f96cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1edbbb039e1bb8e07b0c42c986b29172ef7e4661e248f4b59dbfb716f049c46e [INFO] running `Command { std: "docker" "start" "-a" "1edbbb039e1bb8e07b0c42c986b29172ef7e4661e248f4b59dbfb716f049c46e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling libz-sys v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling libgit2-sys v0.12.19+1.1.0 [INFO] [stderr] Checking git2 v0.13.18 [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.18/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.18/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.18/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.18/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.18/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" "1edbbb039e1bb8e07b0c42c986b29172ef7e4661e248f4b59dbfb716f049c46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1edbbb039e1bb8e07b0c42c986b29172ef7e4661e248f4b59dbfb716f049c46e", kill_on_drop: false }` [INFO] [stdout] 1edbbb039e1bb8e07b0c42c986b29172ef7e4661e248f4b59dbfb716f049c46e