[INFO] fetching crate jitash-jsonrpc 0.15.0... [INFO] testing jitash-jsonrpc-0.15.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jitash-jsonrpc 0.15.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jitash-jsonrpc 0.15.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 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.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socks v0.3.4 [INFO] [stderr] Downloaded minreq v2.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de708558bfe94ef61db34b915e0936e8d4e48a5ec2f7ecb61c18d727e41189d7 [INFO] running `Command { std: "docker" "start" "-a" "de708558bfe94ef61db34b915e0936e8d4e48a5ec2f7ecb61c18d727e41189d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de708558bfe94ef61db34b915e0936e8d4e48a5ec2f7ecb61c18d727e41189d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de708558bfe94ef61db34b915e0936e8d4e48a5ec2f7ecb61c18d727e41189d7", kill_on_drop: false }` [INFO] [stdout] de708558bfe94ef61db34b915e0936e8d4e48a5ec2f7ecb61c18d727e41189d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2ec6772117483a340c1d882ea72593da9ba245e632e4d4d86207eeee2caa879 [INFO] running `Command { std: "docker" "start" "-a" "d2ec6772117483a340c1d882ea72593da9ba245e632e4d4d86207eeee2caa879", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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 40.91s [INFO] running `Command { std: "docker" "inspect" "d2ec6772117483a340c1d882ea72593da9ba245e632e4d4d86207eeee2caa879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ec6772117483a340c1d882ea72593da9ba245e632e4d4d86207eeee2caa879", kill_on_drop: false }` [INFO] [stdout] d2ec6772117483a340c1d882ea72593da9ba245e632e4d4d86207eeee2caa879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae219265d12ab1c79ee78da2fa6694efae37a25c239e6dd23dab5ab065306081 [INFO] running `Command { std: "docker" "start" "-a" "ae219265d12ab1c79ee78da2fa6694efae37a25c239e6dd23dab5ab065306081", kill_on_drop: false }` [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] 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: 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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:2662: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] 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1835: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_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] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1801: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)]` (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" "ae219265d12ab1c79ee78da2fa6694efae37a25c239e6dd23dab5ab065306081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae219265d12ab1c79ee78da2fa6694efae37a25c239e6dd23dab5ab065306081", kill_on_drop: false }` [INFO] [stdout] ae219265d12ab1c79ee78da2fa6694efae37a25c239e6dd23dab5ab065306081