[INFO] cloning repository https://github.com/ZapAnton/rust-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZapAnton/rust-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Frust-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Frust-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 182a8b8fbbee0a52b3c47ff7c6fa1f08f7586d5b [INFO] checking ZapAnton/rust-analyzer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Frust-analyzer" "/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/ZapAnton/rust-analyzer 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 git repo https://github.com/ZapAnton/rust-analyzer [INFO] finished tweaking git repo https://github.com/ZapAnton/rust-analyzer [INFO] tweaked toml for git repo https://github.com/ZapAnton/rust-analyzer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ZapAnton/rust-analyzer 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.31 [INFO] [stderr] Downloaded libc v0.2.50 [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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6315dc52cb6c838648f301c181dd1ed35769ce22bef829e9f969470cd8131f1d [INFO] running `Command { std: "docker" "start" "-a" "6315dc52cb6c838648f301c181dd1ed35769ce22bef829e9f969470cd8131f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6315dc52cb6c838648f301c181dd1ed35769ce22bef829e9f969470cd8131f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6315dc52cb6c838648f301c181dd1ed35769ce22bef829e9f969470cd8131f1d", kill_on_drop: false }` [INFO] [stdout] 6315dc52cb6c838648f301c181dd1ed35769ce22bef829e9f969470cd8131f1d [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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be3e430f491abcca2783b25446e0c1e9681af775ff247f452672d8d0860468c9 [INFO] running `Command { std: "docker" "start" "-a" "be3e430f491abcca2783b25446e0c1e9681af775ff247f452672d8d0860468c9", 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] proc-macro2 v0.4.27: default [INFO] [stderr] quote v0.6.11: default [INFO] [stderr] syn v0.15.30: extra-traits, visit [INFO] [stderr] syn v0.15.30 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking rust-analyzer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/analyzer.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.56s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking quote v0.6.11 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde v1.0.91 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking rust-analyzer v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&syn::File` [INFO] [stdout] --> src/analyzers/reverse_string/mod.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | .find(|ast| ast == solution_ast) [INFO] [stdout] | --- ^^ ------------ &syn::File [INFO] [stdout] | | [INFO] [stdout] | &syn::File [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 E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-analyzer` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&syn::File` [INFO] [stdout] --> src/analyzers/reverse_string/mod.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | .find(|ast| ast == solution_ast) [INFO] [stdout] | --- ^^ ------------ &syn::File [INFO] [stdout] | | [INFO] [stdout] | &syn::File [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 E0369`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "be3e430f491abcca2783b25446e0c1e9681af775ff247f452672d8d0860468c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3e430f491abcca2783b25446e0c1e9681af775ff247f452672d8d0860468c9", kill_on_drop: false }` [INFO] [stdout] be3e430f491abcca2783b25446e0c1e9681af775ff247f452672d8d0860468c9