[INFO] fetching crate jitash-jsonrpc 0.15.0... [INFO] testing jitash-jsonrpc-0.15.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate jitash-jsonrpc 0.15.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate jitash-jsonrpc 0.15.0 [INFO] finished tweaking crates.io crate jitash-jsonrpc 0.15.0 [INFO] tweaked toml for crates.io crate jitash-jsonrpc 0.15.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jitash-jsonrpc 0.15.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socks v0.3.4 [INFO] [stderr] Downloaded minreq v2.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f8f62a43dd7d3f46e4c5c03eb09ec8edbae3b8a4b296942ef9bb59c0694521b [INFO] running `Command { std: "docker" "start" "-a" "9f8f62a43dd7d3f46e4c5c03eb09ec8edbae3b8a4b296942ef9bb59c0694521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f8f62a43dd7d3f46e4c5c03eb09ec8edbae3b8a4b296942ef9bb59c0694521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8f62a43dd7d3f46e4c5c03eb09ec8edbae3b8a4b296942ef9bb59c0694521b", kill_on_drop: false }` [INFO] [stdout] 9f8f62a43dd7d3f46e4c5c03eb09ec8edbae3b8a4b296942ef9bb59c0694521b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ea342805d87b0c77ebc2218a24822f120da236127913b1e230e301b13dbcd6 [INFO] running `Command { std: "docker" "start" "-a" "93ea342805d87b0c77ebc2218a24822f120da236127913b1e230e301b13dbcd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jitash-jsonrpc v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:521:7 [INFO] [stdout] | [INFO] [stdout] 521 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:524:7 [INFO] [stdout] | [INFO] [stdout] 524 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:528:7 [INFO] [stdout] | [INFO] [stdout] 528 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/http/simple_http.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(auth.as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(cookie.as_ref().as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/simple_http.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Err(Error::HttpErrorCode(1)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINAL_RESP_ALLOC` is never used [INFO] [stdout] --> src/http/simple_http.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const FINAL_RESP_ALLOC: u64 = 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fresh_socket` is never used [INFO] [stdout] --> src/http/simple_http.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl SimpleHttpTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn fresh_socket(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.69s [INFO] running `Command { std: "docker" "inspect" "93ea342805d87b0c77ebc2218a24822f120da236127913b1e230e301b13dbcd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ea342805d87b0c77ebc2218a24822f120da236127913b1e230e301b13dbcd6", kill_on_drop: false }` [INFO] [stdout] 93ea342805d87b0c77ebc2218a24822f120da236127913b1e230e301b13dbcd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b51c58a4eafed2956085af28ebabbdd833bb23a392b030ba5ba3074e73f9c7ef [INFO] running `Command { std: "docker" "start" "-a" "b51c58a4eafed2956085af28ebabbdd833bb23a392b030ba5ba3074e73f9c7ef", kill_on_drop: false }` [INFO] [stderr] Compiling jitash-jsonrpc v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:521:7 [INFO] [stdout] | [INFO] [stdout] 521 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:524:7 [INFO] [stdout] | [INFO] [stdout] 524 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:528:7 [INFO] [stdout] | [INFO] [stdout] 528 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/http/simple_http.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(auth.as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(cookie.as_ref().as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/simple_http.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Err(Error::HttpErrorCode(1)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINAL_RESP_ALLOC` is never used [INFO] [stdout] --> src/http/simple_http.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const FINAL_RESP_ALLOC: u64 = 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fresh_socket` is never used [INFO] [stdout] --> src/http/simple_http.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl SimpleHttpTransport { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn fresh_socket(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(jsonrpc_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:521:7 [INFO] [stdout] | [INFO] [stdout] 521 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:524:7 [INFO] [stdout] | [INFO] [stdout] 524 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:528:7 [INFO] [stdout] | [INFO] [stdout] 528 | #[cfg(jsonrpc_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/http/simple_http.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `jsonrpc_fuzz` [INFO] [stdout] --> src/http/simple_http.rs:670:43 [INFO] [stdout] | [INFO] [stdout] 670 | #[cfg(all(not(feature = "proxy"), not(jsonrpc_fuzz)))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(jsonrpc_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(jsonrpc_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/http/simple_http.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(auth.as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http/simple_http.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(cookie.as_ref().as_bytes()))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `std::io::BufReader` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:689:22 [INFO] [stdout] | [INFO] [stdout] 688 | let _http_request: Vec<_> = buf_reader [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 689 | | .lines() [INFO] [stdout] | | -^^^^^ method not found in `std::io::BufReader<&mut TcpStream>` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:2702:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::BufReader<&mut TcpStream>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BufRead` which provides `lines` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::BufRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:702:24 [INFO] [stdout] | [INFO] [stdout] 702 | stream.write_all(b"HTTP/1.1 200\r\n").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 702 - stream.write_all(b"HTTP/1.1 200\r\n").unwrap(); [INFO] [stdout] 702 + stream.write(b"HTTP/1.1 200\r\n").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | stream.write_all(b"Content-Length: ").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 703 - stream.write_all(b"Content-Length: ").unwrap(); [INFO] [stdout] 703 + stream.write(b"Content-Length: ").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:704:24 [INFO] [stdout] | [INFO] [stdout] 704 | stream.write_all(response_str.len().to_string().as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 704 - stream.write_all(response_str.len().to_string().as_bytes()).unwrap(); [INFO] [stdout] 704 + stream.write(response_str.len().to_string().as_bytes()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:705:24 [INFO] [stdout] | [INFO] [stdout] 705 | stream.write_all(b"\r\n").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 705 - stream.write_all(b"\r\n").unwrap(); [INFO] [stdout] 705 + stream.write(b"\r\n").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:706:24 [INFO] [stdout] | [INFO] [stdout] 706 | stream.write_all(b"\r\n").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 706 - stream.write_all(b"\r\n").unwrap(); [INFO] [stdout] 706 + stream.write(b"\r\n").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:707:24 [INFO] [stdout] | [INFO] [stdout] 707 | stream.write_all(response_str.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1875:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 707 - stream.write_all(response_str.as_bytes()).unwrap(); [INFO] [stdout] 707 + stream.write(response_str.as_bytes()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `TcpStream` in the current scope [INFO] [stdout] --> src/http/simple_http.rs:708:24 [INFO] [stdout] | [INFO] [stdout] 708 | stream.flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `TcpStream` [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1841:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `TcpStream` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 565 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/simple_http.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | Err(error) => Err(Error::HttpErrorCode(1)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jitash-jsonrpc` (lib test) due to 8 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b51c58a4eafed2956085af28ebabbdd833bb23a392b030ba5ba3074e73f9c7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51c58a4eafed2956085af28ebabbdd833bb23a392b030ba5ba3074e73f9c7ef", kill_on_drop: false }` [INFO] [stdout] b51c58a4eafed2956085af28ebabbdd833bb23a392b030ba5ba3074e73f9c7ef