[INFO] fetching crate lsp-async-stub 0.7.0...
[INFO] checking lsp-async-stub-0.7.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate lsp-async-stub 0.7.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate lsp-async-stub 0.7.0
[INFO] finished tweaking crates.io crate lsp-async-stub 0.7.0
[INFO] tweaked toml for crates.io crate lsp-async-stub 0.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lsp-async-stub 0.7.0 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lsp-async-stub 0.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b6af42538d53aed2213a9f8c36345ec946b84a40a9b73f5a65b1222d868f2de
[INFO] running `Command { std: "docker" "start" "-a" "5b6af42538d53aed2213a9f8c36345ec946b84a40a9b73f5a65b1222d868f2de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b6af42538d53aed2213a9f8c36345ec946b84a40a9b73f5a65b1222d868f2de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b6af42538d53aed2213a9f8c36345ec946b84a40a9b73f5a65b1222d868f2de", kill_on_drop: false }`
[INFO] [stdout] 5b6af42538d53aed2213a9f8c36345ec946b84a40a9b73f5a65b1222d868f2de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2dbe7446af9b9b71b2f9e18b034fb07e3a0c64083a98089937bec16b7007baa6
[INFO] running `Command { std: "docker" "start" "-a" "2dbe7446af9b9b71b2f9e18b034fb07e3a0c64083a98089937bec16b7007baa6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking text-size v1.1.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking countme v3.0.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking rowan v0.15.15
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_repr v0.1.18
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking lsp-types v0.93.2
[INFO] [stderr]     Checking lsp-async-stub v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `CharacterRange` is never constructed
[INFO] [stdout]   --> src/util.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CharacterRange(u64, u64);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `CharacterRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `method` is never used
[INFO] [stdout]   --> src/handler.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) trait Handler<W: Clone> {
[INFO] [stdout]    |                  ------- method in this trait
[INFO] [stdout] 11 |     fn method(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn as_err(&mut self) -> CancelTokenErr {
[INFO] [stdout]    |                   ^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn as_err(&mut self) -> CancelTokenErr<'_> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lsp-async-stub` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `CharacterRange` is never constructed
[INFO] [stdout]   --> src/util.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CharacterRange(u64, u64);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `CharacterRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `method` is never used
[INFO] [stdout]   --> src/handler.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) trait Handler<W: Clone> {
[INFO] [stdout]    |                  ------- method in this trait
[INFO] [stdout] 11 |     fn method(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn as_err(&mut self) -> CancelTokenErr {
[INFO] [stdout]    |                   ^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn as_err(&mut self) -> CancelTokenErr<'_> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lsp-async-stub` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2dbe7446af9b9b71b2f9e18b034fb07e3a0c64083a98089937bec16b7007baa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dbe7446af9b9b71b2f9e18b034fb07e3a0c64083a98089937bec16b7007baa6", kill_on_drop: false }`
[INFO] [stdout] 2dbe7446af9b9b71b2f9e18b034fb07e3a0c64083a98089937bec16b7007baa6
