[INFO] fetching crate jsonrpsee-http-client 0.2.0-alpha.6... [INFO] checking jsonrpsee-http-client-0.2.0-alpha.6 against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] extracting crate jsonrpsee-http-client 0.2.0-alpha.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", 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] 91f84ed0a0a029863390d803f24ce47cf41d08fe6b8a1a382c5624012f06fc39 [INFO] running `Command { std: "docker" "start" "-a" "91f84ed0a0a029863390d803f24ce47cf41d08fe6b8a1a382c5624012f06fc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f84ed0a0a029863390d803f24ce47cf41d08fe6b8a1a382c5624012f06fc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f84ed0a0a029863390d803f24ce47cf41d08fe6b8a1a382c5624012f06fc39", kill_on_drop: false }` [INFO] [stdout] 91f84ed0a0a029863390d803f24ce47cf41d08fe6b8a1a382c5624012f06fc39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--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] b27f7daff510f16a869ab2adc2748f83e5a3b3ed690161300889ae8e94918f25 [INFO] running `Command { std: "docker" "start" "-a" "b27f7daff510f16a869ab2adc2748f83e5a3b3ed690161300889ae8e94918f25", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking jsonrpsee-types v0.2.0-alpha.6 [INFO] [stderr] Checking jsonrpsee-utils v0.2.0-alpha.6 [INFO] [stderr] Checking jsonrpsee-http-client v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_test_utils::types::Id` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let server_addr = http_server_with_hardcoded_response(String::new()).await; [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:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let server_addr = http_server_with_hardcoded_response(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let server_addr = http_server_with_hardcoded_response(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:11:77 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:28:74 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:40:58 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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" "b27f7daff510f16a869ab2adc2748f83e5a3b3ed690161300889ae8e94918f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27f7daff510f16a869ab2adc2748f83e5a3b3ed690161300889ae8e94918f25", kill_on_drop: false }` [INFO] [stdout] b27f7daff510f16a869ab2adc2748f83e5a3b3ed690161300889ae8e94918f25