[INFO] fetching crate lsp-async-stub 0.7.0... [INFO] checking lsp-async-stub-0.7.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate lsp-async-stub 0.7.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lsp-async-stub 0.7.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31c7176e44b8564a1a97b6d0f091aac5ced70803b03a60bdd28403961a4251de [INFO] running `Command { std: "docker" "start" "-a" "31c7176e44b8564a1a97b6d0f091aac5ced70803b03a60bdd28403961a4251de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31c7176e44b8564a1a97b6d0f091aac5ced70803b03a60bdd28403961a4251de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c7176e44b8564a1a97b6d0f091aac5ced70803b03a60bdd28403961a4251de", kill_on_drop: false }` [INFO] [stdout] 31c7176e44b8564a1a97b6d0f091aac5ced70803b03a60bdd28403961a4251de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfe51f18bedb5612071cbd2ba4873edf0993496adf5869b4b0427995b5285025 [INFO] running `Command { std: "docker" "start" "-a" "bfe51f18bedb5612071cbd2ba4873edf0993496adf5869b4b0427995b5285025", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [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] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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] warning: method `method` is never used [INFO] [stdout] --> src/handler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait Handler { [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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 179 | pub async fn is_shutting_down(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn world(&self) -> &W { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn cancel_token(&mut self) -> &mut CancelToken { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:196:58 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 196 | pub async fn defer + 'static>(&self, fut: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lsp-async-stub` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `method` is never used [INFO] [stdout] --> src/handler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait Handler { [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] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 179 | pub async fn is_shutting_down(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn world(&self) -> &W { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn cancel_token(&mut self) -> &mut CancelToken { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:196:58 [INFO] [stdout] | [INFO] [stdout] 166 | impl std::ops::Deref for Context { [INFO] [stdout] | --------------------------------------------- trait implemented here [INFO] [stdout] 167 | type Target = W; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 196 | pub async fn defer + 'static>(&self, fut: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lsp-async-stub` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bfe51f18bedb5612071cbd2ba4873edf0993496adf5869b4b0427995b5285025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe51f18bedb5612071cbd2ba4873edf0993496adf5869b4b0427995b5285025", kill_on_drop: false }` [INFO] [stdout] bfe51f18bedb5612071cbd2ba4873edf0993496adf5869b4b0427995b5285025