[INFO] fetching crate jitash-jsonrpc 0.15.0... [INFO] checking jitash-jsonrpc-0.15.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate jitash-jsonrpc 0.15.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate jitash-jsonrpc 0.15.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socks v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e59d43502f70750e53e9be22bcee8668708ba5b05ebcb1f9b28c2147334dff [INFO] running `Command { std: "docker" "start" "-a" "25e59d43502f70750e53e9be22bcee8668708ba5b05ebcb1f9b28c2147334dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e59d43502f70750e53e9be22bcee8668708ba5b05ebcb1f9b28c2147334dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e59d43502f70750e53e9be22bcee8668708ba5b05ebcb1f9b28c2147334dff", kill_on_drop: false }` [INFO] [stdout] 25e59d43502f70750e53e9be22bcee8668708ba5b05ebcb1f9b28c2147334dff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67e4618220b6948a1e467791414e7cd3a7d6ec1454f2e3e454e6ab1699204dc8 [INFO] running `Command { std: "docker" "start" "-a" "67e4618220b6948a1e467791414e7cd3a7d6ec1454f2e3e454e6ab1699204dc8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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: 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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: 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 `BufReader<&mut TcpStream>` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:2537:8 [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] 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)]` on by default [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(b"Content-Length: ").unwrap(); [INFO] [stdout] | ~~~~~ [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)]` 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] 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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(response_str.len().to_string().as_bytes()).unwrap(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1687:8 [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(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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1653:8 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 12 warnings emitted [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 9 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67e4618220b6948a1e467791414e7cd3a7d6ec1454f2e3e454e6ab1699204dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67e4618220b6948a1e467791414e7cd3a7d6ec1454f2e3e454e6ab1699204dc8", kill_on_drop: false }` [INFO] [stdout] 67e4618220b6948a1e467791414e7cd3a7d6ec1454f2e3e454e6ab1699204dc8