[INFO] fetching crate jsonrpsee-http-client 0.2.0-alpha.6... [INFO] testing jsonrpsee-http-client-0.2.0-alpha.6 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate jsonrpsee-http-client 0.2.0-alpha.6 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework v1.0.0 [INFO] [stderr] Downloaded security-framework-sys v1.0.0 [INFO] [stderr] Downloaded ct-logs v0.7.0 [INFO] [stderr] Downloaded rustls-native-certs v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626f81cb4522e3f2a0c166440354063176c7b1f5484047716efc8ed07dabb225 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "626f81cb4522e3f2a0c166440354063176c7b1f5484047716efc8ed07dabb225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626f81cb4522e3f2a0c166440354063176c7b1f5484047716efc8ed07dabb225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626f81cb4522e3f2a0c166440354063176c7b1f5484047716efc8ed07dabb225", kill_on_drop: false }` [INFO] [stdout] 626f81cb4522e3f2a0c166440354063176c7b1f5484047716efc8ed07dabb225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d2b2e65cebb52d5aaa90542c99e82331a559dd3e2cdd32f0e422b20cf5b8674c [INFO] running `Command { std: "docker" "start" "-a" "d2b2e65cebb52d5aaa90542c99e82331a559dd3e2cdd32f0e422b20cf5b8674c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling jsonrpsee-types v0.2.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling jsonrpsee-utils v0.2.0 [INFO] [stderr] Compiling jsonrpsee-http-client v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::v2::error::JsonRpcErrorAlloc` [INFO] [stdout] --> src/client.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | error::JsonRpcErrorAlloc, [INFO] [stdout] | ^^^^^^^----------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `JsonRpcError` [INFO] [stdout] | no `JsonRpcErrorAlloc` in `v2::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Error::TransportError(Box::new(e))) [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | .transport [INFO] [stdout] 72 | | .send_and_read_body(serde_json::to_string(&request).map_err(Error::ParseError)?) [INFO] [stdout] 73 | | .await [INFO] [stdout] 74 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | let response_id = parse_request_id(response.id)?; [INFO] [stdout] | ^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | / { [INFO] [stdout] 66 | | // NOTE: `fetch_add` wraps on overflow which is intended. [INFO] [stdout] 67 | | let id = self.request_id.fetch_add(1, Ordering::SeqCst); [INFO] [stdout] 68 | | let request = JsonRpcCallSer::new(Id::Number(id), method, params); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 110 | | .transport [INFO] [stdout] 111 | | .send_and_read_body(serde_json::to_string(&batch_request).map_err(Error::ParseError)?) [INFO] [stdout] 112 | | .await [INFO] [stdout] 113 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let response_id = parse_request_id(rp.id)?; [INFO] [stdout] | ^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | / { [INFO] [stdout] 97 | | let mut batch_request = Vec::with_capacity(batch.len()); [INFO] [stdout] 98 | | // NOTE(niklasad1): `ID` is not necessarily monotonically increasing. [INFO] [stdout] 99 | | let mut ordered_requests = Vec::with_capacity(batch.len()); [INFO] [stdout] ... | [INFO] [stdout] 133 | | Ok(responses) [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d2b2e65cebb52d5aaa90542c99e82331a559dd3e2cdd32f0e422b20cf5b8674c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b2e65cebb52d5aaa90542c99e82331a559dd3e2cdd32f0e422b20cf5b8674c", kill_on_drop: false }` [INFO] [stdout] d2b2e65cebb52d5aaa90542c99e82331a559dd3e2cdd32f0e422b20cf5b8674c