[INFO] fetching crate zjhttpc 0.1.4... [INFO] testing zjhttpc-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate zjhttpc 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zjhttpc 0.1.4 [INFO] finished tweaking crates.io crate zjhttpc 0.1.4 [INFO] tweaked toml for crates.io crate zjhttpc 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zjhttpc 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zjhttpc 0.1.4 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3868e5a9ccf9feb32032ea119e55751340d397127ebfe0a8e3b2fa3b8e3202 [INFO] running `Command { std: "docker" "start" "-a" "df3868e5a9ccf9feb32032ea119e55751340d397127ebfe0a8e3b2fa3b8e3202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3868e5a9ccf9feb32032ea119e55751340d397127ebfe0a8e3b2fa3b8e3202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3868e5a9ccf9feb32032ea119e55751340d397127ebfe0a8e3b2fa3b8e3202", kill_on_drop: false }` [INFO] [stdout] df3868e5a9ccf9feb32032ea119e55751340d397127ebfe0a8e3b2fa3b8e3202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4b7b097ddcf1e6c74e78f2802d1d7f29ea90f5b7db8bf7251086f634c3e2869 [INFO] running `Command { std: "docker" "start" "-a" "f4b7b097ddcf1e6c74e78f2802d1d7f29ea90f5b7db8bf7251086f634c3e2869", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow_ext v0.2.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling thiserror-context v0.1.2 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki-roots v0.22.6 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-tls v0.13.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_builder v0.20.2 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling serde_qs v0.15.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.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | 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:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | .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: variable does not need to be mutable [INFO] [stdout] --> src/response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut resp = Response { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [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/response.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | 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 43.93s [INFO] running `Command { std: "docker" "inspect" "f4b7b097ddcf1e6c74e78f2802d1d7f29ea90f5b7db8bf7251086f634c3e2869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b7b097ddcf1e6c74e78f2802d1d7f29ea90f5b7db8bf7251086f634c3e2869", kill_on_drop: false }` [INFO] [stdout] f4b7b097ddcf1e6c74e78f2802d1d7f29ea90f5b7db8bf7251086f634c3e2869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f810b63b6c8d38c05263552bca5ed199290f91508c17ffe36b410fbfc1f33dc [INFO] running `Command { std: "docker" "start" "-a" "7f810b63b6c8d38c05263552bca5ed199290f91508c17ffe36b410fbfc1f33dc", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | 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] [stderr] Compiling zjhttpc v0.1.4 (/opt/rustwide/workdir) [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:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | .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: variable does not need to be mutable [INFO] [stdout] --> src/response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut resp = Response { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [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/response.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | 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] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/client.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | 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:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | .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: variable does not need to be mutable [INFO] [stdout] --> src/response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut resp = Response { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/response.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [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/response.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | 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.70s [INFO] running `Command { std: "docker" "inspect" "7f810b63b6c8d38c05263552bca5ed199290f91508c17ffe36b410fbfc1f33dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f810b63b6c8d38c05263552bca5ed199290f91508c17ffe36b410fbfc1f33dc", kill_on_drop: false }` [INFO] [stdout] 7f810b63b6c8d38c05263552bca5ed199290f91508c17ffe36b410fbfc1f33dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ee32722f24c6ddb9f304db233938b373ef0aa9f335950bf074c1e885e510abe [INFO] running `Command { std: "docker" "start" "-a" "4ee32722f24c6ddb9f304db233938b373ef0aa9f335950bf074c1e885e510abe", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/client.rs:158:21 [INFO] [stderr] | [INFO] [stderr] 158 | 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:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | .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: variable does not need to be mutable [INFO] [stderr] --> src/response.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut resp = Response { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/response.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/response.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | 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 16 warnings (run `cargo fix --lib -p zjhttpc` to apply 1 suggestion) [INFO] [stderr] warning: `zjhttpc` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zjhttpc-6daaa2fc69b97b9c) [INFO] [stdout] [INFO] [stdout] running 2 tests [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. 2 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" "4ee32722f24c6ddb9f304db233938b373ef0aa9f335950bf074c1e885e510abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee32722f24c6ddb9f304db233938b373ef0aa9f335950bf074c1e885e510abe", kill_on_drop: false }` [INFO] [stdout] 4ee32722f24c6ddb9f304db233938b373ef0aa9f335950bf074c1e885e510abe