[INFO] fetching crate jsonrpsee-ws-server 0.15.1... [INFO] checking jsonrpsee-ws-server-0.15.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate jsonrpsee-ws-server 0.15.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate jsonrpsee-ws-server 0.15.1 [INFO] finished tweaking crates.io crate jsonrpsee-ws-server 0.15.1 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-server 0.15.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-ws-server 0.15.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 115 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding jsonrpsee-core v0.15.1 (available: v0.26.0) [INFO] [stderr] Adding jsonrpsee-types v0.15.1 (available: v0.26.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding soketto v0.7.1 (available: v0.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 020a3ce183b59e59a9e71e922e4c7c5fe3a61eeebb6608259bd00e624e0e9f1d [INFO] running `Command { std: "docker" "start" "-a" "020a3ce183b59e59a9e71e922e4c7c5fe3a61eeebb6608259bd00e624e0e9f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020a3ce183b59e59a9e71e922e4c7c5fe3a61eeebb6608259bd00e624e0e9f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020a3ce183b59e59a9e71e922e4c7c5fe3a61eeebb6608259bd00e624e0e9f1d", kill_on_drop: false }` [INFO] [stdout] 020a3ce183b59e59a9e71e922e4c7c5fe3a61eeebb6608259bd00e624e0e9f1d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b364bb6d8d9c41c07c60418a1d0f83e390b59879eb1c0e73740ea6d76f5350df [INFO] running `Command { std: "docker" "start" "-a" "b364bb6d8d9c41c07c60418a1d0f83e390b59879eb1c0e73740ea6d76f5350df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking soketto v0.7.1 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking jsonrpsee-types v0.15.1 [INFO] [stderr] Checking jsonrpsee-core v0.15.1 [INFO] [stderr] Checking jsonrpsee-ws-server v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use jsonrpsee_test_utils::mocks::{Id, TestContext, WebSocketTestClient, WebSocketTestError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | let server = WsServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future, jsonrpsee_core::Error>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:144:63 [INFO] [stdout] | [INFO] [stdout] 144 | let server = WsServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future, jsonrpsee_core::Error>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_request` in this scope [INFO] [stdout] --> src/tests.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(response, oversized_request(100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | assert_eq!(response, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_response` in this scope [INFO] [stdout] --> src/tests.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(response, oversized_response(Id::Num(1), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | assert_eq!(response, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(response, ok_response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:369:23 [INFO] [stdout] | [INFO] [stdout] 369 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:373:23 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:377:23 [INFO] [stdout] | [INFO] [stdout] 377 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:389:23 [INFO] [stdout] | [INFO] [stdout] 389 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(response, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:407:23 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq!(response, ok_response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | assert_eq!(response, call_execution_failed("RPC context failed", Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:452:23 [INFO] [stdout] | [INFO] [stdout] 452 | assert_eq!(response, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(response, ok_response("ok!".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:472:23 [INFO] [stdout] | [INFO] [stdout] 472 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | assert_eq!(response, call_execution_failed("nah", Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:492:23 [INFO] [stdout] | [INFO] [stdout] 492 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | assert_eq!(response, method_not_found(Id::Str("foo".into()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:524:23 [INFO] [stdout] | [INFO] [stdout] 524 | assert_eq!(response, invalid_request(Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:534:23 [INFO] [stdout] | [INFO] [stdout] 534 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:572:24 [INFO] [stdout] | [INFO] [stdout] 572 | assert_eq!(response1, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:575:24 [INFO] [stdout] | [INFO] [stdout] 575 | assert_eq!(response2, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:585:23 [INFO] [stdout] | [INFO] [stdout] 585 | assert_eq!(response, invalid_request(Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 588 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:599:23 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:609:23 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(333))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:639:53 [INFO] [stdout] | [INFO] [stdout] 639 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:654:53 [INFO] [stdout] | [INFO] [stdout] 654 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:658:53 [INFO] [stdout] | [INFO] [stdout] 658 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | let sub_call = call("subscribe_hello", Vec::<()>::new(), Id::Num(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | let unsub_call = call("unsubscribe_hello", vec![sub_id], Id::Num(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:677:19 [INFO] [stdout] | [INFO] [stdout] 677 | let unsub_call = call("unsubscribe_hello", vec![sub_id], Id::Num(2)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:690:39 [INFO] [stdout] | [INFO] [stdout] 690 | deser_call(client.send_request_text(call("unsubscribe_hello", vec![13.99_f64], Id::Num(0))).await.unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:709:4 [INFO] [stdout] | [INFO] [stdout] 706 | let server = WsServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 707 | | .set_id_provider(HardcodedSubscriptionId) [INFO] [stdout] 708 | | .build("127.0.0.1:0") [INFO] [stdout] 709 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future, jsonrpsee_core::Error>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:732:37 [INFO] [stdout] | [INFO] [stdout] 732 | let sub = client.send_request_text(call("subscribe_hello", Vec::<()>::new(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests.rs:734:39 [INFO] [stdout] | [INFO] [stdout] 734 | let unsub = client.send_request_text(call("unsubscribe_hello", vec!["0xdeadbeef"], Id::Num(1))).await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:744:4 [INFO] [stdout] | [INFO] [stdout] 741 | let server = WsServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 742 | | .batch_requests_supported(false) [INFO] [stdout] 743 | | .build("127.0.0.1:0") [INFO] [stdout] 744 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future, jsonrpsee_core::Error>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `batches_not_supported` in this scope [INFO] [stdout] --> src/tests.rs:762:23 [INFO] [stdout] | [INFO] [stdout] 762 | assert_eq!(response, batches_not_supported()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-ws-server` (lib test) due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "b364bb6d8d9c41c07c60418a1d0f83e390b59879eb1c0e73740ea6d76f5350df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b364bb6d8d9c41c07c60418a1d0f83e390b59879eb1c0e73740ea6d76f5350df", kill_on_drop: false }` [INFO] [stdout] b364bb6d8d9c41c07c60418a1d0f83e390b59879eb1c0e73740ea6d76f5350df