[INFO] fetching crate realhydroper-lsp 0.22.0... [INFO] testing realhydroper-lsp-0.22.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate realhydroper-lsp 0.22.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate realhydroper-lsp 0.22.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate realhydroper-lsp 0.22.0 [INFO] tweaked toml for crates.io crate realhydroper-lsp 0.22.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate realhydroper-lsp 0.22.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate realhydroper-lsp 0.22.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-codec-lite v0.0.2 [INFO] [stderr] Downloaded realhydroper-lsp-macros v0.9.0 [INFO] [stderr] Downloaded ws_stream_tungstenite v0.10.0 [INFO] [stderr] Downloaded async-tungstenite v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10f2c6a10fd7d2d6f6db871611791df03590372f662774780bfe5524cf3ac2bb [INFO] running `Command { std: "docker" "start" "-a" "10f2c6a10fd7d2d6f6db871611791df03590372f662774780bfe5524cf3ac2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f2c6a10fd7d2d6f6db871611791df03590372f662774780bfe5524cf3ac2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f2c6a10fd7d2d6f6db871611791df03590372f662774780bfe5524cf3ac2bb", kill_on_drop: false }` [INFO] [stdout] 10f2c6a10fd7d2d6f6db871611791df03590372f662774780bfe5524cf3ac2bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f9323c8abcec356e407121aa37eb61485b6d33fbbe704b3e90f16ca8714001 [INFO] running `Command { std: "docker" "start" "-a" "51f9323c8abcec356e407121aa37eb61485b6d33fbbe704b3e90f16ca8714001", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling auto_impl v1.2.1 [INFO] [stderr] Compiling realhydroper-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling realhydroper-lsp v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.61s [INFO] running `Command { std: "docker" "inspect" "51f9323c8abcec356e407121aa37eb61485b6d33fbbe704b3e90f16ca8714001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f9323c8abcec356e407121aa37eb61485b6d33fbbe704b3e90f16ca8714001", kill_on_drop: false }` [INFO] [stdout] 51f9323c8abcec356e407121aa37eb61485b6d33fbbe704b3e90f16ca8714001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ce5a8350c241947d5c42b94851b5ae3bb82765287636506b26d35a969ba4bfc [INFO] running `Command { std: "docker" "start" "-a" "3ce5a8350c241947d5c42b94851b5ae3bb82765287636506b26d35a969ba4bfc", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling pharos v0.5.3 [INFO] [stderr] Compiling async_io_stream v0.3.3 [INFO] [stderr] Compiling ws_stream_tungstenite v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling async-tungstenite v0.22.2 [INFO] [stderr] Compiling realhydroper-lsp v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.17s [INFO] running `Command { std: "docker" "inspect" "3ce5a8350c241947d5c42b94851b5ae3bb82765287636506b26d35a969ba4bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce5a8350c241947d5c42b94851b5ae3bb82765287636506b26d35a969ba4bfc", kill_on_drop: false }` [INFO] [stdout] 3ce5a8350c241947d5c42b94851b5ae3bb82765287636506b26d35a969ba4bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23d6b4f0e80f23d284375db63305582493b03738609f1956545a789a7ef01581 [INFO] running `Command { std: "docker" "start" "-a" "23d6b4f0e80f23d284375db63305582493b03738609f1956545a789a7ef01581", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/realhydroper_lsp-a6c79aef60441f69) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test codec::tests::decodes_zero_length_message ... ok [INFO] [stdout] test codec::tests::decodes_small_chunks ... ok [INFO] [stdout] test codec::tests::encode_and_decode ... ok [INFO] [stdout] test codec::tests::decodes_optional_content_type ... ok [INFO] [stdout] test jsonrpc::error::tests::error_code_serializes_as_i64 ... ok [INFO] [stdout] test jsonrpc::error::tests::error_code_deserializes_from_i64 ... ok [INFO] [stdout] test codec::tests::recovers_from_parse_error ... ok [INFO] [stdout] test jsonrpc::router::tests::routes_notifications ... ok [INFO] [stdout] test jsonrpc::router::tests::handles_incorrect_request_types ... ok [INFO] [stdout] test jsonrpc::router::tests::ignores_nonexistent_notification ... ok [INFO] [stdout] test jsonrpc::router::tests::ignores_notification_with_invalid_params ... ok [INFO] [stdout] test jsonrpc::router::tests::routes_requests ... ok [INFO] [stdout] test jsonrpc::tests::accepts_negative_integer_request_id ... ok [INFO] [stdout] test jsonrpc::tests::accepts_null_request_id ... ok [INFO] [stdout] test jsonrpc::router::tests::rejects_request_with_invalid_params ... ok [INFO] [stdout] test jsonrpc::router::tests::responds_to_nonexistent_request ... ok [INFO] [stdout] test jsonrpc::tests::incoming_from_str_or_value ... ok [INFO] [stdout] test jsonrpc::tests::outgoing_from_str_or_value ... ok [INFO] [stdout] test jsonrpc::tests::parses_invalid_server_request ... ok [INFO] [stdout] test jsonrpc::tests::parses_outgoing_message ... ok [INFO] [stdout] test service::client::tests::log_message ... ok [INFO] [stdout] test service::client::tests::publish_diagnostics ... ok [INFO] [stdout] test service::pending::tests::cancels_server_request ... ok [INFO] [stdout] test service::pending::tests::executes_server_request ... ok [INFO] [stdout] test service::tests::cancels_pending_requests ... ok [INFO] [stdout] test jsonrpc::tests::parses_incoming_message ... ok [INFO] [stdout] test service::tests::get_inner ... ok [INFO] [stdout] test service::client::tests::telemetry_event ... ok [INFO] [stdout] test transport::tests::handles_invalid_json ... ok [INFO] [stdout] test service::client::pending::tests::waits_for_client_response ... ok [INFO] [stdout] test service::tests::initializes_only_once ... ok [INFO] [stdout] test service::tests::exit_notification ... ok [INFO] [stdout] test service::tests::refuses_requests_after_shutdown ... ok [INFO] [stdout] test service::client::pending::tests::routes_responses_in_fifo_order ... ok [INFO] [stdout] test service::client::tests::show_message ... ok [INFO] [stdout] test service::tests::serves_custom_requests ... ok [INFO] [stdout] test transport::tests::interleaves_messages ... ok [INFO] [stdout] test transport::tests::serves_on_stdio ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests realhydroper_lsp [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/service.rs - service::LspServiceBuilder::custom_method (line 171) ... FAILED [INFO] [stdout] test src/service/client.rs - service::client::Client::progress (line 468) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/service.rs - service::LspServiceBuilder::custom_method (line 171) stdout ---- [INFO] [stdout] error[E0053]: method `initialize` has an incompatible type for trait [INFO] [stdout] --> src/service.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future>`, found trait `Future> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Mock, realhydroper_lsp::lsp_types::InitializeParams) -> Pin> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Mock, realhydroper_lsp::lsp_types::InitializeParams) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `shutdown` has an incompatible type for trait [INFO] [stdout] --> src/service.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future>`, found trait `Future> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Mock) -> Pin> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Mock) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0053]: method `initialize` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future>`, found trait `Future> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::InitializeParams) -> Pin> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::InitializeParams) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `initialized` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future`, found trait `Future + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::InitializedParams) -> Pin + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::InitializedParams) -> Pin + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `shutdown` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future>`, found trait `Future> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Backend) -> Pin> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Backend) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `completion` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future, realhydroper_lsp::jsonrpc::Error>>`, found trait `Future, realhydroper_lsp::jsonrpc::Error>> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::CompletionParams) -> Pin, realhydroper_lsp::jsonrpc::Error>> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::CompletionParams) -> Pin, realhydroper_lsp::jsonrpc::Error>> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0053]: method `hover` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[realhydroper_lsp::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Future, realhydroper_lsp::jsonrpc::Error>>`, found trait `Future, realhydroper_lsp::jsonrpc::Error>> + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::HoverParams) -> Pin, realhydroper_lsp::jsonrpc::Error>> + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Backend, realhydroper_lsp::lsp_types::HoverParams) -> Pin, realhydroper_lsp::jsonrpc::Error>> + Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:20:81 [INFO] [stdout] | [INFO] [stdout] 15 | async fn initialize(&self, _: InitializeParams) -> Result { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 16 | | Ok(InitializeResult { [INFO] [stdout] 17 | | capabilities: ServerCapabilities { [INFO] [stdout] 18 | | hover_provider: Some(HoverProviderCapability::Simple(true)), [INFO] [stdout] ... | [INFO] [stdout] 23 | | }) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `Backend`, the trait `Sync` is not implemented for `Rc` [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> src/lib.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 15 | async fn initialize(&self, _: InitializeParams) -> Result { [INFO] [stdout] | ^^^^ has type `&Backend` which is not `Send`, because `Backend` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + Send>>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIeHStQ/rust_out.long-type-1866205153944803457.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | self.client [INFO] [stdout] 28 | | .log_message(MessageType::INFO, "server initialized!") [INFO] [stdout] 29 | | .await; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `Backend`, the trait `Sync` is not implemented for `Rc` [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> src/lib.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | ^^^^ has type `&Backend` which is not `Send`, because `Backend` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin + Send>>` [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | self.client [INFO] [stdout] 28 | | .log_message(MessageType::INFO, "server initialized!") [INFO] [stdout] 29 | | .await; [INFO] [stdout] 30 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`Rc` cannot be sent between threads safely [INFO] [stdout] | within this `{async block@src/lib.rs:26:55: 30:6}` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/lib.rs:26:55: 30:6}`, the trait `Send` is not implemented for `Rc` [INFO] [stdout] note: required because it appears within the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/service/client.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/service/client.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | / { [INFO] [stdout] 524 | | let request = Request::from_notification::(params); [INFO] [stdout] 525 | | if self.clone().call(request).await.is_err() { [INFO] [stdout] 526 | | error!("failed to send notification"); [INFO] [stdout] 527 | | } [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/service/client.rs:170:79 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn log_message(&self, typ: MessageType, message: M) { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 171 | | use lsp_types::notification::LogMessage; [INFO] [stdout] 172 | | self.send_notification_unchecked::(LogMessageParams { [INFO] [stdout] 173 | | typ, [INFO] [stdout] ... | [INFO] [stdout] 176 | | .await; [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | self.client [INFO] [stdout] 28 | | .log_message(MessageType::INFO, "server initialized!") [INFO] [stdout] 29 | | .await; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin + Send>>` [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future, ExitedError>>` cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | self.client [INFO] [stdout] 28 | | .log_message(MessageType::INFO, "server initialized!") [INFO] [stdout] 29 | | .await; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ `dyn Future, ExitedError>>` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn Future, ExitedError>>` [INFO] [stdout] = note: required for `Unique, ExitedError>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box, ExitedError>>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin, ExitedError>>>>` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/service/client.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | / { [INFO] [stdout] 524 | | let request = Request::from_notification::(params); [INFO] [stdout] 525 | | if self.clone().call(request).await.is_err() { [INFO] [stdout] 526 | | error!("failed to send notification"); [INFO] [stdout] 527 | | } [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/service/client.rs:170:79 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn log_message(&self, typ: MessageType, message: M) { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 171 | | use lsp_types::notification::LogMessage; [INFO] [stdout] 172 | | self.send_notification_unchecked::(LogMessageParams { [INFO] [stdout] 173 | | typ, [INFO] [stdout] ... | [INFO] [stdout] 176 | | .await; [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/lib.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 26 | async fn initialized(&self, _: InitializedParams) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | self.client [INFO] [stdout] 28 | | .log_message(MessageType::INFO, "server initialized!") [INFO] [stdout] 29 | | .await; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin + Send>>` [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 32 | async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 33 | | Ok(()) [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `Backend`, the trait `Sync` is not implemented for `Rc` [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> src/lib.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 32 | async fn shutdown(&self) -> Result<()> { [INFO] [stdout] | ^^^^ has type `&Backend` which is not `Send`, because `Backend` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:41:91 [INFO] [stdout] | [INFO] [stdout] 36 | async fn completion(&self, _: CompletionParams) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 37 | | Ok(Some(CompletionResponse::Array(vec![ [INFO] [stdout] 38 | | CompletionItem::new_simple("Hello".to_string(), "Some detail".to_string()), [INFO] [stdout] 39 | | CompletionItem::new_simple("Bye".to_string(), "More detail".to_string()) [INFO] [stdout] 40 | | ]))) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `Backend`, the trait `Sync` is not implemented for `Rc` [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 36 | async fn completion(&self, _: CompletionParams) -> Result> { [INFO] [stdout] | ^^^^ has type `&Backend` which is not `Send`, because `Backend` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ...>> + Send>>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIeHStQ/rust_out.long-type-10946063802641527459.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 43 | async fn hover(&self, _: HoverParams) -> Result> { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 44 | | Ok(Some(Hover { [INFO] [stdout] 45 | | contents: HoverContents::Scalar( [INFO] [stdout] 46 | | MarkedString::String("You're hovering!".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 49 | | })) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `Backend`, the trait `Sync` is not implemented for `Rc` [INFO] [stdout] note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync` [INFO] [stdout] --> src/lib.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 43 | async fn hover(&self, _: HoverParams) -> Result> { [INFO] [stdout] | ^^^^ has type `&Backend` which is not `Send`, because `Backend` is not `Sync` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, Error>> + Send>>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestIeHStQ/rust_out.long-type-16726677725862909167.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/service.rs - service::LspServiceBuilder::custom_method (line 171) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "23d6b4f0e80f23d284375db63305582493b03738609f1956545a789a7ef01581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d6b4f0e80f23d284375db63305582493b03738609f1956545a789a7ef01581", kill_on_drop: false }` [INFO] [stdout] 23d6b4f0e80f23d284375db63305582493b03738609f1956545a789a7ef01581