[INFO] fetching crate jsonrpc-utils 0.5.0... [INFO] checking jsonrpc-utils-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate jsonrpc-utils 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate jsonrpc-utils 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonrpc-utils 0.5.0 [INFO] tweaked toml for crates.io crate jsonrpc-utils 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpc-utils 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpc-utils 0.5.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpc-utils-macros v0.2.5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37433acaed0fc6cb548910139eddbe34536a5551520e5996463ddf059720fc19 [INFO] running `Command { std: "docker" "start" "-a" "37433acaed0fc6cb548910139eddbe34536a5551520e5996463ddf059720fc19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37433acaed0fc6cb548910139eddbe34536a5551520e5996463ddf059720fc19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37433acaed0fc6cb548910139eddbe34536a5551520e5996463ddf059720fc19", kill_on_drop: false }` [INFO] [stdout] 37433acaed0fc6cb548910139eddbe34536a5551520e5996463ddf059720fc19 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c92f9551b4abfe184f8c1018f36e67f5178425e4f7bf7f14b454bbd7d6368a [INFO] running `Command { std: "docker" "start" "-a" "b9c92f9551b4abfe184f8c1018f36e67f5178425e4f7bf7f14b454bbd7d6368a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking jsonrpc-server-utils v18.0.0 [INFO] [stderr] Checking jsonrpc-utils v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking jsonrpc-http-server v18.0.0 [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::axum_utils`, `jsonrpc_utils::rpc`, `jsonrpc_utils::stream` [INFO] [stdout] --> examples/openrpc.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use jsonrpc_utils::{axum_utils::jsonrpc_router, rpc, stream::StreamServerConfig}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^ could not find `stream` in `jsonrpc_utils` [INFO] [stdout] | | | [INFO] [stdout] | | no `rpc` in the root [INFO] [stdout] | could not find `axum_utils` in `jsonrpc_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 8 | pub mod axum_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] ... [INFO] [stdout] 65 | pub use jsonrpc_utils_macros::rpc; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 12 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/openrpc.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::axum_utils`, `jsonrpc_utils::pub_sub`, `jsonrpc_utils::stream` [INFO] [stdout] --> examples/server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | axum_utils::jsonrpc_router, [INFO] [stdout] | ^^^^^^^^^^ could not find `axum_utils` in `jsonrpc_utils` [INFO] [stdout] 9 | pub_sub::{add_pub_sub, PublishMsg}, [INFO] [stdout] | ^^^^^^^ could not find `pub_sub` in `jsonrpc_utils` [INFO] [stdout] 10 | stream::{serve_stream_sink, StreamMsg, StreamServerConfig}, [INFO] [stdout] | ^^^^^^ could not find `stream` in `jsonrpc_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 8 | pub mod axum_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 10 | pub mod pub_sub; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 12 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> examples/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::{SinkExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `jsonrpc_core::futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/server.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `my_rpc_doc` in this scope [INFO] [stdout] --> examples/openrpc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let doc = my_rpc_doc(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_my_rpc_methods` in this scope [INFO] [stdout] --> examples/openrpc.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | add_my_rpc_methods(&mut rpc, MyRpcImpl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/openrpc.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/openrpc.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/blocking-client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn sleep(&self, secs: u64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/blocking-client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn add(&self, (x, y): (i32, i32), z: i32) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> examples/blocking-client.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn add(&self, (x, y): (i32, i32), z: i32) -> Result; [INFO] [stdout] | ^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/blocking-client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn ping(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::axum_utils`, `jsonrpc_utils::pub_sub`, `jsonrpc_utils::stream` [INFO] [stdout] --> examples/broadcast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | axum_utils::jsonrpc_router, [INFO] [stdout] | ^^^^^^^^^^ could not find `axum_utils` in `jsonrpc_utils` [INFO] [stdout] 9 | pub_sub::{add_pub_sub, PublishMsg}, [INFO] [stdout] | ^^^^^^^ could not find `pub_sub` in `jsonrpc_utils` [INFO] [stdout] 10 | stream::StreamServerConfig, [INFO] [stdout] | ^^^^^^ could not find `stream` in `jsonrpc_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 8 | pub mod axum_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 10 | pub mod pub_sub; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 12 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> examples/broadcast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `jsonrpc_core::futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/broadcast.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] --> examples/server-macros.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_core::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures_core`, use `cargo add futures_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::axum_utils`, `jsonrpc_utils::pub_sub`, `jsonrpc_utils::rpc`, `jsonrpc_utils::stream` [INFO] [stdout] --> examples/server-macros.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | axum_utils::jsonrpc_router, pub_sub::PublishMsg, rpc, stream::StreamServerConfig, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^ could not find `stream` in `jsonrpc_utils` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `rpc` in the root [INFO] [stdout] | | could not find `pub_sub` in `jsonrpc_utils` [INFO] [stdout] | could not find `axum_utils` in `jsonrpc_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 8 | pub mod axum_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 10 | pub mod pub_sub; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] ... [INFO] [stdout] 65 | pub use jsonrpc_utils_macros::rpc; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 12 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_core` [INFO] [stdout] --> examples/server-macros.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_core::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures_core`, use `cargo add futures_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/server-macros.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/server.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/server-macros.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_my_rpc_methods` in this scope [INFO] [stdout] --> examples/server-macros.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | add_my_rpc_methods(&mut rpc, RpcImpl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "openrpc") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `map_ok` found for struct `FramedRead` in the current scope [INFO] [stdout] --> examples/server.rs:85:55 [INFO] [stdout] | [INFO] [stdout] 85 | let r = FramedRead::new(r, codec.clone()).map_ok(StreamMsg::Str); [INFO] [stdout] | ^^^^^^ method not found in `FramedRead` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/try_stream/mod.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn map_ok(self, f: F) -> MapOk [INFO] [stdout] | ------ the method is available for `FramedRead` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TryStreamExt` which provides `map_ok` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use jsonrpc_core::futures::TryStreamExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with` found for struct `FramedWrite` in the current scope [INFO] [stdout] --> examples/server.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | let w = FramedWrite::new(w, codec).with(|msg| async move { [INFO] [stdout] | ---------------------------^^^^ method not found in `FramedWrite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/sink/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn with(self, f: F) -> With [INFO] [stdout] | ---- the method is available for `FramedWrite` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SinkExt` which provides `with` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use jsonrpc_core::futures::SinkExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "server-macros") due to 6 previous errors [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/server.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn sleep(&self, secs: u64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn value(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn add(&self, (x, y): (i32, i32), z: i32) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> examples/client.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | async fn add(&self, (x, y): (i32, i32), z: i32) -> Result; [INFO] [stdout] | ^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn ping(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "server") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::rpc_client`, `jsonrpc_utils::HttpClient` [INFO] [stdout] --> examples/client.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonrpc_utils::{rpc_client, HttpClient}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ no `HttpClient` in the root [INFO] [stdout] | | [INFO] [stdout] | no `rpc_client` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] ... [INFO] [stdout] 107 | pub use jsonrpc_utils_macros::rpc_client; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/client.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rpc` in this scope [INFO] [stdout] --> examples/client.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[rpc(name = "@ping")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::rpc_client`, `jsonrpc_utils::BlockingHttpClient` [INFO] [stdout] --> examples/blocking-client.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonrpc_utils::{rpc_client, BlockingHttpClient}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `BlockingHttpClient` in the root [INFO] [stdout] | | [INFO] [stdout] | no `rpc_client` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] ... [INFO] [stdout] 107 | pub use jsonrpc_utils_macros::rpc_client; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/blocking-client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rpc` in this scope [INFO] [stdout] --> examples/blocking-client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[rpc(name = "@ping")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/client.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `BroadcastStream<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/broadcast.rs:38:53 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(BroadcastStream::new(tx.subscribe()).map(|result| { [INFO] [stdout] | -------------------------------------^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-stream-0.1.17/src/wrappers/broadcast.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BroadcastStream { [INFO] [stdout] | ----------------------------- doesn't satisfy `BroadcastStream<_>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BroadcastStream<_>: Iterator` [INFO] [stdout] which is required by `&mut BroadcastStream<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `map` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 3 + use jsonrpc_core::futures::StreamExt; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio_stream::StreamExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0642, E0752. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/broadcast.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/broadcast.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] --> examples/server-macros-custom-error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_core::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures_core`, use `cargo add futures_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "client") due to 10 previous errors [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "blocking-client") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved imports `jsonrpc_utils::axum_utils`, `jsonrpc_utils::pub_sub`, `jsonrpc_utils::rpc`, `jsonrpc_utils::stream` [INFO] [stdout] --> examples/server-macros-custom-error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | axum_utils::jsonrpc_router, pub_sub::PublishMsg, rpc, stream::StreamServerConfig, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^ could not find `stream` in `jsonrpc_utils` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `rpc` in the root [INFO] [stdout] | | could not find `pub_sub` in `jsonrpc_utils` [INFO] [stdout] | could not find `axum_utils` in `jsonrpc_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 8 | pub mod axum_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 10 | pub mod pub_sub; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] ... [INFO] [stdout] 65 | pub use jsonrpc_utils_macros::rpc; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 12 | pub mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "broadcast") due to 6 previous errors [INFO] [stdout] error[E0432]: unresolved import `futures_core` [INFO] [stdout] --> examples/server-macros-custom-error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_core::{stream::BoxStream, Stream}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures_core`, use `cargo add futures_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/server-macros-custom-error.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/server-macros-custom-error.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_my_rpc_methods` in this scope [INFO] [stdout] --> examples/server-macros-custom-error.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | add_my_rpc_methods(&mut rpc, RpcImpl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils` (example "server-macros-custom-error") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b9c92f9551b4abfe184f8c1018f36e67f5178425e4f7bf7f14b454bbd7d6368a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c92f9551b4abfe184f8c1018f36e67f5178425e4f7bf7f14b454bbd7d6368a", kill_on_drop: false }` [INFO] [stdout] b9c92f9551b4abfe184f8c1018f36e67f5178425e4f7bf7f14b454bbd7d6368a