[INFO] fetching crate zjhttpc 0.1.9... [INFO] testing zjhttpc-0.1.9 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate zjhttpc 0.1.9 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate zjhttpc 0.1.9 [INFO] finished tweaking crates.io crate zjhttpc 0.1.9 [INFO] tweaked toml for crates.io crate zjhttpc 0.1.9 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zjhttpc 0.1.9 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zjhttpc 0.1.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.8.6 [INFO] [stderr] Downloaded async-tls v0.13.0 [INFO] [stderr] Downloaded snafu v0.8.6 [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded thiserror-context v0.1.2 [INFO] [stderr] Downloaded ring v0.17.13 [INFO] [stderr] Downloaded anyhow_ext v0.2.1 [INFO] [stderr] Downloaded serde_qs v0.15.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e843947275dacd017a338d4d5f8633d8c00f59d806d8d230b4eebfc90b31d0eb [INFO] running `Command { std: "docker" "start" "-a" "e843947275dacd017a338d4d5f8633d8c00f59d806d8d230b4eebfc90b31d0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e843947275dacd017a338d4d5f8633d8c00f59d806d8d230b4eebfc90b31d0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e843947275dacd017a338d4d5f8633d8c00f59d806d8d230b4eebfc90b31d0eb", kill_on_drop: false }` [INFO] [stdout] e843947275dacd017a338d4d5f8633d8c00f59d806d8d230b4eebfc90b31d0eb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b03f06b80b67336d0d9f1a11a71068d53e0f8355d3a7de7d7ac4216a62fe384b [INFO] running `Command { std: "docker" "start" "-a" "b03f06b80b67336d0d9f1a11a71068d53e0f8355d3a7de7d7ac4216a62fe384b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling anyhow_ext v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling thiserror-context v0.1.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling async-tls v0.13.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zjhttpc v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 157 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 162 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 163 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 169 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn header_one(&self, key: impl AsRef) -> Option<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn header_all(&self, key: impl AsRef) -> Vec<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expect` [INFO] [stdout] --> src/requestx.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn put_expect_continue(mut self, expect: bool) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/requestx.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn body_slice(self, body: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn body_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn body_multipart_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/response.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(|e| ZjhttpcError::InvalidHttpResponseStatusCode(status_code.to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ZjhttpCResult` is never used [INFO] [stdout] --> src/error.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type ZjhttpCResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `username`, and `password` are never read [INFO] [stdout] --> src/proxy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HttpProxyOption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 2 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.41s [INFO] running `Command { std: "docker" "inspect" "b03f06b80b67336d0d9f1a11a71068d53e0f8355d3a7de7d7ac4216a62fe384b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03f06b80b67336d0d9f1a11a71068d53e0f8355d3a7de7d7ac4216a62fe384b", kill_on_drop: false }` [INFO] [stdout] b03f06b80b67336d0d9f1a11a71068d53e0f8355d3a7de7d7ac4216a62fe384b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f418a552c8bd9d46f4406c24b3d76c6ec49d5fea96803c89e0c169cc0b65660 [INFO] running `Command { std: "docker" "start" "-a" "6f418a552c8bd9d46f4406c24b3d76c6ec49d5fea96803c89e0c169cc0b65660", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 157 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 162 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 163 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 169 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn header_one(&self, key: impl AsRef) -> Option<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn header_all(&self, key: impl AsRef) -> Vec<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expect` [INFO] [stdout] --> src/requestx.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn put_expect_continue(mut self, expect: bool) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/requestx.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn body_slice(self, body: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn body_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn body_multipart_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/response.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(|e| ZjhttpcError::InvalidHttpResponseStatusCode(status_code.to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ZjhttpCResult` is never used [INFO] [stdout] --> src/error.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type ZjhttpCResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `username`, and `password` are never read [INFO] [stdout] --> src/proxy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HttpProxyOption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 2 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zjhttpc v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 157 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 162 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 163 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/requestx.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 169 | self [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn header_one(&self, key: impl AsRef) -> Option<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/requestx.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn header_all(&self, key: impl AsRef) -> Vec<&String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expect` [INFO] [stdout] --> src/requestx.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn put_expect_continue(mut self, expect: bool) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/requestx.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn body_slice(self, body: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn body_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/requestx.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn body_multipart_form(self, form: HashMap) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/response.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(|e| ZjhttpcError::InvalidHttpResponseStatusCode(status_code.to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ZjhttpCResult` is never used [INFO] [stdout] --> src/error.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type ZjhttpCResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `username`, and `password` are never read [INFO] [stdout] --> src/proxy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HttpProxyOption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 2 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "6f418a552c8bd9d46f4406c24b3d76c6ec49d5fea96803c89e0c169cc0b65660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f418a552c8bd9d46f4406c24b3d76c6ec49d5fea96803c89e0c169cc0b65660", kill_on_drop: false }` [INFO] [stdout] 6f418a552c8bd9d46f4406c24b3d76c6ec49d5fea96803c89e0c169cc0b65660 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e641774c4fba6d1eb9925a90c6256bb3ed2ebcb00f9629078dbb24b76b5cb37a [INFO] running `Command { std: "docker" "start" "-a" "e641774c4fba6d1eb9925a90c6256bb3ed2ebcb00f9629078dbb24b76b5cb37a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/response.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use hashbrown::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/client.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/requestx.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 156 | unimplemented!(); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] 157 | self [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/requestx.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 162 | unimplemented!(); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] 163 | self [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/requestx.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 168 | unimplemented!(); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] 169 | self [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/requestx.rs:98:30 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn header_one(&self, key: impl AsRef) -> Option<&String> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/requestx.rs:102:30 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn header_all(&self, key: impl AsRef) -> Vec<&String> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expect` [INFO] [stderr] --> src/requestx.rs:106:42 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn put_expect_continue(mut self, expect: bool) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/requestx.rs:154:29 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn body_slice(self, body: impl AsRef<[u8]>) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `form` [INFO] [stderr] --> src/requestx.rs:160:28 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn body_form(self, form: HashMap) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `form` [INFO] [stderr] --> src/requestx.rs:166:38 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn body_multipart_form(self, form: HashMap) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/response.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | .map_err(|e| ZjhttpcError::InvalidHttpResponseStatusCode(status_code.to_string()))?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/response.rs:87:30 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: type alias `ZjhttpCResult` is never used [INFO] [stderr] --> src/error.rs:4:6 [INFO] [stderr] | [INFO] [stderr] 4 | type ZjhttpCResult = Result; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `host`, `port`, `username`, and `password` are never read [INFO] [stderr] --> src/proxy.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct HttpProxyOption { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 2 | host: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 3 | port: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 5 | password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zjhttpc` (lib) generated 15 warnings (run `cargo fix --lib -p zjhttpc` to apply 1 suggestion) [INFO] [stderr] warning: `zjhttpc` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zjhttpc-71f08cd92875a0d0) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test client::tests::test_parse_one_line_header_basic ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_case_sensitive ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_empty_value_no_space ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_empty_string ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_empty_value_with_space ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_missing_colon ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_missing_crlf ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_numbers_and_symbols ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_only_crlf ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_special_characters ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_with_remaining_input ... ok [INFO] [stdout] test client::tests::test_parse_one_line_header_with_spaces_in_value ... ok [INFO] [stdout] test requestx::tests::test_url_set_query ... ok [INFO] [stdout] test requestx::tests::test_url_parsing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zjhttpc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e641774c4fba6d1eb9925a90c6256bb3ed2ebcb00f9629078dbb24b76b5cb37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e641774c4fba6d1eb9925a90c6256bb3ed2ebcb00f9629078dbb24b76b5cb37a", kill_on_drop: false }` [INFO] [stdout] e641774c4fba6d1eb9925a90c6256bb3ed2ebcb00f9629078dbb24b76b5cb37a