[INFO] fetching crate server-security 0.1.1... [INFO] checking server-security-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate server-security 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate server-security 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate server-security 0.1.1 [INFO] finished tweaking crates.io crate server-security 0.1.1 [INFO] tweaked toml for crates.io crate server-security 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate server-security 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63af0936b089469e4c0a131e11c3ad4fbb23970c384105cb4bb705c32fb471c3 [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" "63af0936b089469e4c0a131e11c3ad4fbb23970c384105cb4bb705c32fb471c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63af0936b089469e4c0a131e11c3ad4fbb23970c384105cb4bb705c32fb471c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63af0936b089469e4c0a131e11c3ad4fbb23970c384105cb4bb705c32fb471c3", kill_on_drop: false }` [INFO] [stdout] 63af0936b089469e4c0a131e11c3ad4fbb23970c384105cb4bb705c32fb471c3 [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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59191e0d116cf6e4030856796757b9ca47d769eb17709fb37df92b2f7631608c [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" "59191e0d116cf6e4030856796757b9ca47d769eb17709fb37df92b2f7631608c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v1.5.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.19+1.1.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking git2 v0.13.18 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking log4rs v0.13.0 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "59191e0d116cf6e4030856796757b9ca47d769eb17709fb37df92b2f7631608c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59191e0d116cf6e4030856796757b9ca47d769eb17709fb37df92b2f7631608c", kill_on_drop: false }` [INFO] [stdout] 59191e0d116cf6e4030856796757b9ca47d769eb17709fb37df92b2f7631608c