[INFO] fetching crate jsonrpsee-http-client 0.2.0-alpha.6... [INFO] checking jsonrpsee-http-client-0.2.0-alpha.6 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate jsonrpsee-http-client 0.2.0-alpha.6 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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] aa22a55c133fbca465d87761e04e0dfc2b59431bf84adb648a96dbd50c96cb6d [INFO] running `Command { std: "docker" "start" "-a" "aa22a55c133fbca465d87761e04e0dfc2b59431bf84adb648a96dbd50c96cb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa22a55c133fbca465d87761e04e0dfc2b59431bf84adb648a96dbd50c96cb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa22a55c133fbca465d87761e04e0dfc2b59431bf84adb648a96dbd50c96cb6d", kill_on_drop: false }` [INFO] [stdout] aa22a55c133fbca465d87761e04e0dfc2b59431bf84adb648a96dbd50c96cb6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2df20e5713c875305eb4db5d2e121f311f22c5d3c10c389809cc7b70e1255e5f [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" "2df20e5713c875305eb4db5d2e121f311f22c5d3c10c389809cc7b70e1255e5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking memchr v2.4.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking http-body v0.4.2 [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 jsonrpsee-types v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking jsonrpsee-utils v0.2.0-alpha.6 [INFO] [stderr] Checking hyper-rustls v0.22.1 [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" "2df20e5713c875305eb4db5d2e121f311f22c5d3c10c389809cc7b70e1255e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df20e5713c875305eb4db5d2e121f311f22c5d3c10c389809cc7b70e1255e5f", kill_on_drop: false }` [INFO] [stdout] 2df20e5713c875305eb4db5d2e121f311f22c5d3c10c389809cc7b70e1255e5f