[INFO] cloning repository https://github.com/zjhken/zjhttpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zjhken/zjhttpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjhken%2Fzjhttpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjhken%2Fzjhttpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc587f411e6af303c281a3d19ab0636fe060996d [INFO] checking zjhken/zjhttpc against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzjhken%2Fzjhttpc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zjhken/zjhttpc on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zjhken/zjhttpc [INFO] finished tweaking git repo https://github.com/zjhken/zjhttpc [INFO] tweaked toml for git repo https://github.com/zjhken/zjhttpc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zjhken/zjhttpc 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-rs v1.12.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0727362faf5ae4a130866f7b4e9e24ae84af259167ec4273851a2f56944aaeb6 [INFO] running `Command { std: "docker" "start" "-a" "0727362faf5ae4a130866f7b4e9e24ae84af259167ec4273851a2f56944aaeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0727362faf5ae4a130866f7b4e9e24ae84af259167ec4273851a2f56944aaeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0727362faf5ae4a130866f7b4e9e24ae84af259167ec4273851a2f56944aaeb6", kill_on_drop: false }` [INFO] [stdout] 0727362faf5ae4a130866f7b4e9e24ae84af259167ec4273851a2f56944aaeb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7058bacaccd3e6b756f836d92bd80a0cf760b7bcfdfc22238fc08f70c2b4883c [INFO] running `Command { std: "docker" "start" "-a" "7058bacaccd3e6b756f836d92bd80a0cf760b7bcfdfc22238fc08f70c2b4883c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling aws-lc-rs v1.12.5 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking thiserror-context v0.1.2 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.26.0 [INFO] [stderr] Compiling synstructure v0.13.1 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking zjhttpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn send(&self, request: impl AsRef) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/lib.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_headers(&mut self, headers: HashMap>) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | 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/lib.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | 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/lib.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn put_expect_100_continue(&mut self, expect: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | username: impl AsRef, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | password: impl AsRef, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn body_string(&mut self, body: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn body_stream(&mut self, body: impl async_std::io::Read) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn body_slice(&mut self, body: impl AsRef<[u8]>) -> &mut 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/lib.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn body_form(&mut self, form: HashMap) -> &mut 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/lib.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn body_multipart_form(&mut self, form: HashMap) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | 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/lib.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | 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: fields `url` and `headers` are never read [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | method: Method, [INFO] [stdout] 31 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | headers: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct Response<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a> Response<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 122 | pub fn status_code(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn body_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn body_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn body_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn body_form(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn body_multipart_form(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dynamic` and `predefined` are never read [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 161 | dynamic: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 162 | predefined: PredefinedMethod, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Put`, `Delete`, `Post`, `Options`, and `Head` are never constructed [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | enum PredefinedMethod { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 175 | Get, [INFO] [stdout] 176 | Put, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | Post, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 180 | Head, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpProxyOption` is never constructed [INFO] [stdout] --> src/lib.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct HttpProxyOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn send(&self, request: impl AsRef) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_header(&mut self, key: impl AsRef, value: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/lib.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_headers(&mut self, headers: HashMap>) -> &mut Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | 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/lib.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | 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/lib.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn put_expect_100_continue(&mut self, expect: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | username: impl AsRef, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | password: impl AsRef, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn body_string(&mut self, body: impl AsRef) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn body_stream(&mut self, body: impl async_std::io::Read) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/lib.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn body_slice(&mut self, body: impl AsRef<[u8]>) -> &mut 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/lib.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn body_form(&mut self, form: HashMap) -> &mut 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/lib.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn body_multipart_form(&mut self, form: HashMap) -> &mut Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | 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/lib.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | 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: fields `url` and `headers` are never read [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | method: Method, [INFO] [stdout] 31 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | headers: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct Response<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a> Response<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 122 | pub fn status_code(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn header_one(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn header_all(&self, key: impl AsRef) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn body_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn body_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn body_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn body_form(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn body_multipart_form(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dynamic` and `predefined` are never read [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 161 | dynamic: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 162 | predefined: PredefinedMethod, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Put`, `Delete`, `Post`, `Options`, and `Head` are never constructed [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | enum PredefinedMethod { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 175 | Get, [INFO] [stdout] 176 | Put, [INFO] [stdout] | ^^^ [INFO] [stdout] 177 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | Post, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 180 | Head, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpProxyOption` is never constructed [INFO] [stdout] --> src/lib.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct HttpProxyOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.85s [INFO] running `Command { std: "docker" "inspect" "7058bacaccd3e6b756f836d92bd80a0cf760b7bcfdfc22238fc08f70c2b4883c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7058bacaccd3e6b756f836d92bd80a0cf760b7bcfdfc22238fc08f70c2b4883c", kill_on_drop: false }` [INFO] [stdout] 7058bacaccd3e6b756f836d92bd80a0cf760b7bcfdfc22238fc08f70c2b4883c