[INFO] fetching crate lsp-primitives 0.1.0... [INFO] testing lsp-primitives-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate lsp-primitives 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate lsp-primitives 0.1.0 [INFO] finished tweaking crates.io crate lsp-primitives 0.1.0 [INFO] tweaked toml for crates.io crate lsp-primitives 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lsp-primitives 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitcoin v0.31.2 (available: v0.32.7) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding secp256k1 v0.28.2 (available: v0.31.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded bitcoin v0.31.2 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d11e7f4debe91d8b56d9a97fb64ed00f95d3ee017e7680228583ccd5ea7c3a8 [INFO] running `Command { std: "docker" "start" "-a" "0d11e7f4debe91d8b56d9a97fb64ed00f95d3ee017e7680228583ccd5ea7c3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d11e7f4debe91d8b56d9a97fb64ed00f95d3ee017e7680228583ccd5ea7c3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d11e7f4debe91d8b56d9a97fb64ed00f95d3ee017e7680228583ccd5ea7c3a8", kill_on_drop: false }` [INFO] [stdout] 0d11e7f4debe91d8b56d9a97fb64ed00f95d3ee017e7680228583ccd5ea7c3a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb4df3c2dbfc1e1f5c9ddd063c6e618cbe35961c431c5a733519a41798981049 [INFO] running `Command { std: "docker" "start" "-a" "fb4df3c2dbfc1e1f5c9ddd063c6e618cbe35961c431c5a733519a41798981049", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling lsp-primitives v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &str { [INFO] [stdout] | -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased, Vec, Vec> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased<'a, Vec, Vec, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/lsps2/schema.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | format!("{:?}", &promise); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = format!("{:?}", &promise); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.96s [INFO] running `Command { std: "docker" "inspect" "fb4df3c2dbfc1e1f5c9ddd063c6e618cbe35961c431c5a733519a41798981049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4df3c2dbfc1e1f5c9ddd063c6e618cbe35961c431c5a733519a41798981049", kill_on_drop: false }` [INFO] [stdout] fb4df3c2dbfc1e1f5c9ddd063c6e618cbe35961c431c5a733519a41798981049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d62b5faab07fa635642b3d75e4c12b2dc1a3cc268a268f5eb86af687a2bf48ec [INFO] running `Command { std: "docker" "start" "-a" "d62b5faab07fa635642b3d75e4c12b2dc1a3cc268a268f5eb86af687a2bf48ec", kill_on_drop: false }` [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Compiling lsp-primitives v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &str { [INFO] [stdout] | -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased, Vec, Vec> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased<'a, Vec, Vec, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/lsps2/schema.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | format!("{:?}", &promise); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = format!("{:?}", &promise); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &str { [INFO] [stdout] | -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn name(&'a self) -> &'a str { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/json_rpc_erased.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased, Vec, Vec> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased<'a, Vec, Vec, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stdout] --> src/lsps2/schema.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | format!("{:?}", &promise); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = format!("{:?}", &promise); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.32s [INFO] running `Command { std: "docker" "inspect" "d62b5faab07fa635642b3d75e4c12b2dc1a3cc268a268f5eb86af687a2bf48ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d62b5faab07fa635642b3d75e4c12b2dc1a3cc268a268f5eb86af687a2bf48ec", kill_on_drop: false }` [INFO] [stdout] d62b5faab07fa635642b3d75e4c12b2dc1a3cc268a268f5eb86af687a2bf48ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d75d933faede88129178ca9ca1e8e4b4a13399174e498b42d89744b22599388 [INFO] running `Command { std: "docker" "start" "-a" "3d75d933faede88129178ca9ca1e8e4b4a13399174e498b42d89744b22599388", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/json_rpc_erased.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | fn name(&'a self) -> &str { [INFO] [stderr] | -- ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 62 | fn name(&'a self) -> &'a str { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/json_rpc_erased.rs:101:22 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn ref_erase(&self) -> &dyn JsonRpcMethodErased<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/json_rpc_erased.rs:207:33 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased, Vec, Vec> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 207 | pub fn unerase(&'a self) -> impl JsonRpcMethodUnerased<'a, Vec, Vec, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::hint::must_use` that must be used [INFO] [stderr] --> src/lsps2/schema.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | format!("{:?}", &promise); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 41 | let _ = format!("{:?}", &promise); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `lsp-primitives` (lib) generated 4 warnings (run `cargo fix --lib -p lsp-primitives` to apply 3 suggestions) [INFO] [stderr] warning: `lsp-primitives` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lsp_primitives-1e0e45c4996303cd) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test json_rpc::test::create_rpc_request_from_call ... ok [INFO] [stdout] test json_rpc::test::parse_rpc_response_failure_from_call ... ok [INFO] [stdout] test json_rpc::test::deserialize_default_error ... ok [INFO] [stdout] test json_rpc::test::parse_rpc_response_success_from_call ... ok [INFO] [stdout] test json_rpc::test::serialize_json_rpc_response_error ... ok [INFO] [stdout] test json_rpc::test::serialize_json_rpc_response_success ... ok [INFO] [stdout] test json_rpc_erased::test::create_rpc_request_from_method_erased ... ok [INFO] [stdout] test json_rpc_erased::test::parse_rpc_request_from_method_erased_fails ... ok [INFO] [stdout] test json_rpc::test::serialize_json_rpc_id ... ok [INFO] [stdout] test json_rpc_erased::test::parse_rpc_request_from_method_erased ... ok [INFO] [stdout] test lsps0::common_schemas::test::parse_and_serialize_datetime ... ok [INFO] [stdout] test lsps0::common_schemas::test::parse_scid_from_string ... ok [INFO] [stdout] test lsps0::common_schemas::test::deserialize_onchain_address ... ok [INFO] [stdout] test lsps0::common_schemas::test::serialize_fee_rate ... ok [INFO] [stdout] test lsps0::common_schemas::test::serialize_onchain_address ... ok [INFO] [stdout] test lsps0::common_schemas::test::serialize_txid_type ... ok [INFO] [stdout] test lsps0::common_schemas::test::serialize_outpoint ... ok [INFO] [stdout] test lsps0::common_schemas::test::parsing_amount_sats ... ok [INFO] [stdout] test lsps0::common_schemas::test::pubkey_is_serialized_as_hex ... ok [INFO] [stdout] test lsps0::common_schemas::test::serializing_amount_sats ... ok [INFO] [stdout] test json_rpc_erased::test::create_rpc_request_from_method_erased_checks_types ... ok [INFO] [stdout] test lsps0::common_schemas::test::short_channel_id_can_be_deserialized_from_str ... ok [INFO] [stdout] test lsps0::common_schemas::test::short_channel_id_is_serialized_as_str ... ok [INFO] [stdout] test lsps0::parameter_validation::test::serialize_error_data ... ok [INFO] [stdout] test lsps0::util::test::test_lsps_option_enabled_bitmap ... ok [INFO] [stdout] test lsps0::parameter_validation::test::test_find_unrecognized_arguments ... ok [INFO] [stdout] test lsps1::schema::test::deserialize_lsps1_options ... ok [INFO] [stdout] test lsps1::builders::tests::options_can_be_constructed_without_optional_params ... ok [INFO] [stdout] test lsps1::util::tests::test_validate_order_against_capacity_from_options_error ... ok [INFO] [stdout] test lsps1::util::tests::test_validate_order_against_options_okay ... ok [INFO] [stdout] test lsps1::schema::test::deserialize_lsps1_info ... ok [INFO] [stdout] test lsps0::parameter_validation::test::convert_invalid_params_to_error_data ... ok [INFO] [stdout] test lsps1::schema::test::lsps1_implements_serialize ... ok [INFO] [stdout] test lsps1::builders::tests::options_can_be_constructed_when_all_params_are_specified ... ok [INFO] [stdout] test lsps0::schema::test::serialize_protocol_list ... ok [INFO] [stdout] test lsps0::util::test::test_parse_bitmap ... ok [INFO] [stdout] test lsps2::schema::test::parse_too_long_promise_fails ... ok [INFO] [stdout] test lsps2::schema::test::parse_valid_promise ... ok [INFO] [stdout] test lsps2::schema::test::client_trust_lsp_defaults_to_false ... ok [INFO] [stdout] test no_params::test::deserialize_no_params ... ok [INFO] [stdout] test lsps2::schema::test::parsing_error_when_opening_fee_menu_has_extra_fields ... ok [INFO] [stdout] test no_params::test::serialize_no_params ... ok [INFO] [stdout] test lsps1::builders::tests::options_min_initial_lsp_balance_sat_should_be_less_than_max ... ok [INFO] [stdout] test lsps1::builders::tests::options_cannot_be_constructed_if_required_parameters_are_missing ... ok [INFO] [stdout] test json_rpc::test::serialize_json_rpc_request ... ok [INFO] [stdout] test lsps1::util::tests::test_validate_order_against_options_lsp_balance_sat_error ... ok [INFO] [stdout] test lsps1::util::tests::test_validate_order_against_options_client_balance_sat_error ... ok [INFO] [stdout] test lsps0::common_schemas::test::parse_datetime_that_doesnt_follow_spec ... ok [INFO] [stdout] test lsps1::builders::tests::options_min_channel_balance_should_be_less_than_max ... ok [INFO] [stdout] test lsps1::builders::tests::options_min_initial_client_balance_sat_should_be_less_than_max ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] Doc-tests lsp_primitives [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3d75d933faede88129178ca9ca1e8e4b4a13399174e498b42d89744b22599388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d75d933faede88129178ca9ca1e8e4b4a13399174e498b42d89744b22599388", kill_on_drop: false }` [INFO] [stdout] 3d75d933faede88129178ca9ca1e8e4b4a13399174e498b42d89744b22599388