[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 master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallancalix%2Fgit-fmt" "/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/allancalix/git-fmt on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-7/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libgit2-sys v0.12.19+1.1.0 [INFO] [stderr] Downloaded git2 v0.13.18 [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" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a7f71b7fd67056334e984197068b2c6a197aa7bf57952a4fee33609651ac7a [INFO] running `Command { std: "docker" "start" "-a" "87a7f71b7fd67056334e984197068b2c6a197aa7bf57952a4fee33609651ac7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a7f71b7fd67056334e984197068b2c6a197aa7bf57952a4fee33609651ac7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a7f71b7fd67056334e984197068b2c6a197aa7bf57952a4fee33609651ac7a", kill_on_drop: false }` [INFO] [stdout] 87a7f71b7fd67056334e984197068b2c6a197aa7bf57952a4fee33609651ac7a [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" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 664dfc78ba40f8f445f5f3458ef06ff8e9fe35a3720f71f55969f473d69df887 [INFO] running `Command { std: "docker" "start" "-a" "664dfc78ba40f8f445f5f3458ef06ff8e9fe35a3720f71f55969f473d69df887", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling libz-sys v1.1.0 [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] [stderr] error: could not compile `git2` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "664dfc78ba40f8f445f5f3458ef06ff8e9fe35a3720f71f55969f473d69df887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664dfc78ba40f8f445f5f3458ef06ff8e9fe35a3720f71f55969f473d69df887", kill_on_drop: false }` [INFO] [stdout] 664dfc78ba40f8f445f5f3458ef06ff8e9fe35a3720f71f55969f473d69df887