[INFO] fetching crate tower-lsp 0.20.0... [INFO] testing tower-lsp-0.20.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate tower-lsp 0.20.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate tower-lsp 0.20.0 [INFO] finished tweaking crates.io crate tower-lsp 0.20.0 [INFO] tweaked toml for crates.io crate tower-lsp 0.20.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-lsp 0.20.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-lsp 0.20.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 942a060bbb54f1f85a6a777a4cf08699a2120fa75f9617e3370c78c9a1b018fc [INFO] running `Command { std: "docker" "start" "-a" "942a060bbb54f1f85a6a777a4cf08699a2120fa75f9617e3370c78c9a1b018fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "942a060bbb54f1f85a6a777a4cf08699a2120fa75f9617e3370c78c9a1b018fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942a060bbb54f1f85a6a777a4cf08699a2120fa75f9617e3370c78c9a1b018fc", kill_on_drop: false }` [INFO] [stdout] 942a060bbb54f1f85a6a777a4cf08699a2120fa75f9617e3370c78c9a1b018fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30f345be753e81b3c26f81260f046705888878bdb81093183d48fa0093af2671 [INFO] running `Command { std: "docker" "start" "-a" "30f345be753e81b3c26f81260f046705888878bdb81093183d48fa0093af2671", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.61 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling serde_repr v0.1.10 [INFO] [stderr] Compiling auto_impl v1.0.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling tower-lsp v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/service/client/pending.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | struct Waiters(usize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.50s [INFO] running `Command { std: "docker" "inspect" "30f345be753e81b3c26f81260f046705888878bdb81093183d48fa0093af2671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f345be753e81b3c26f81260f046705888878bdb81093183d48fa0093af2671", kill_on_drop: false }` [INFO] [stdout] 30f345be753e81b3c26f81260f046705888878bdb81093183d48fa0093af2671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b440835dce56faf2f92ca30c1371b81fec2d4a1bce1ab825eb11e0b68c67056 [INFO] running `Command { std: "docker" "start" "-a" "7b440835dce56faf2f92ca30c1371b81fec2d4a1bce1ab825eb11e0b68c67056", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [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-subscriber v0.3.16 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tungstenite v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling async-tungstenite v0.22.2 [INFO] [stderr] Compiling tower-lsp v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/service/client/pending.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | struct Waiters(usize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/service/client/pending.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | struct Waiters(usize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 41.90s [INFO] running `Command { std: "docker" "inspect" "7b440835dce56faf2f92ca30c1371b81fec2d4a1bce1ab825eb11e0b68c67056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b440835dce56faf2f92ca30c1371b81fec2d4a1bce1ab825eb11e0b68c67056", kill_on_drop: false }` [INFO] [stdout] 7b440835dce56faf2f92ca30c1371b81fec2d4a1bce1ab825eb11e0b68c67056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 223b5e5066163e375b5b221397ff14d25a729d63d944c088a43b04f0afb40bfa [INFO] running `Command { std: "docker" "start" "-a" "223b5e5066163e375b5b221397ff14d25a729d63d944c088a43b04f0afb40bfa", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/service/client/pending.rs:67:24 [INFO] [stderr] | [INFO] [stderr] 67 | struct Waiters(usize); [INFO] [stderr] | ------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tower-lsp` (lib) generated 1 warning [INFO] [stderr] warning: `tower-lsp` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_lsp-0c10ee74a657b11b) [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::decodes_optional_content_type ... ok [INFO] [stdout] test codec::tests::encode_and_decode ... ok [INFO] [stdout] test codec::tests::recovers_from_parse_error ... ok [INFO] [stdout] test jsonrpc::error::tests::error_code_deserializes_from_i64 ... ok [INFO] [stdout] test jsonrpc::error::tests::error_code_serializes_as_i64 ... 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::handles_incorrect_request_types ... 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::router::tests::routes_requests ... ok [INFO] [stdout] test jsonrpc::router::tests::routes_notifications ... 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::tests::outgoing_from_str_or_value ... ok [INFO] [stdout] test jsonrpc::tests::incoming_from_str_or_value ... ok [INFO] [stdout] test jsonrpc::tests::parses_incoming_message ... 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::pending::tests::routes_responses_in_fifo_order ... ok [INFO] [stdout] test service::client::pending::tests::waits_for_client_response ... ok [INFO] [stdout] test service::client::tests::log_message ... ok [INFO] [stdout] test service::client::tests::show_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::client::tests::telemetry_event ... ok [INFO] [stdout] test service::tests::get_inner ... ok [INFO] [stdout] test service::tests::exit_notification ... ok [INFO] [stdout] test service::tests::cancels_pending_requests ... ok [INFO] [stdout] test service::tests::initializes_only_once ... ok [INFO] [stdout] test service::tests::serves_custom_requests ... ok [INFO] [stdout] test transport::tests::serves_on_stdio ... ok [INFO] [stdout] test service::tests::refuses_requests_after_shutdown ... ok [INFO] [stdout] test transport::tests::handles_invalid_json ... ok [INFO] [stdout] test transport::tests::interleaves_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tower_lsp [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] test src/service.rs - service::LspServiceBuilder::custom_method (line 170) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "223b5e5066163e375b5b221397ff14d25a729d63d944c088a43b04f0afb40bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223b5e5066163e375b5b221397ff14d25a729d63d944c088a43b04f0afb40bfa", kill_on_drop: false }` [INFO] [stdout] 223b5e5066163e375b5b221397ff14d25a729d63d944c088a43b04f0afb40bfa