[INFO] fetching crate product-os-request 0.0.38... [INFO] checking product-os-request-0.0.38 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate product-os-request 0.0.38 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate product-os-request 0.0.38 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate product-os-request 0.0.38 [INFO] finished tweaking crates.io crate product-os-request 0.0.38 [INFO] tweaked toml for crates.io crate product-os-request 0.0.38 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cookie v0.17.0 (available: v0.18.1) [INFO] [stderr] Adding cookie_store v0.20.0 (available: v0.21.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding idna v0.3.0 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c22abefed67e605fafd7a9ab42fcbbb1ed940d9ddce41c7ea1e459e7fdae22 [INFO] running `Command { std: "docker" "start" "-a" "b8c22abefed67e605fafd7a9ab42fcbbb1ed940d9ddce41c7ea1e459e7fdae22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c22abefed67e605fafd7a9ab42fcbbb1ed940d9ddce41c7ea1e459e7fdae22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c22abefed67e605fafd7a9ab42fcbbb1ed940d9ddce41c7ea1e459e7fdae22", kill_on_drop: false }` [INFO] [stdout] b8c22abefed67e605fafd7a9ab42fcbbb1ed940d9ddce41c7ea1e459e7fdae22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e55085777fe3688b6d2221ea58c915a5ff7cba896f24c09007ef69c57baf60c8 [INFO] running `Command { std: "docker" "start" "-a" "e55085777fe3688b6d2221ea58c915a5ff7cba896f24c09007ef69c57baf60c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking product-os-http v0.0.7 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking product-os-http-body v0.0.14 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking product-os-request v0.0.38 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `product_os_http::request` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use product_os_http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Bytes` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use product_os_http_body::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_http::request` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use product_os_http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Bytes` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use product_os_http_body::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Err(e) => { tracing::error!("Invalid bearer auth for header"); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut uri = match Uri::from_str(url.as_str()) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Err(e) => { tracing::error!("Invalid bearer auth for header"); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut uri = match Uri::from_str(url.as_str()) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1009:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn build_request(&self, request: ProductOSRequest) -> Result [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1150:33 [INFO] [stdout] | [INFO] [stdout] 1150 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1009:15 [INFO] [stdout] | [INFO] [stdout] 958 | fn build_request(&self, request: ProductOSRequest) -> Result [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1170:33 [INFO] [stdout] | [INFO] [stdout] 1170 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1150:33 [INFO] [stdout] | [INFO] [stdout] 1150 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1190:33 [INFO] [stdout] | [INFO] [stdout] 1190 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1170:33 [INFO] [stdout] | [INFO] [stdout] 1170 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ProductOSRequest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl ProductOSRequest { [INFO] [stdout] | ------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | fn build(self) -> Result, ProductOSRequestError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_request`, `request`, `request_simple`, and `request_raw` are never used [INFO] [stdout] --> src/lib.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 485 | impl ProductOSRequester { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 569 | fn new_request(&self, method: Method, url: String, client: &mut i... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | async fn request(&self, r: ProductOSRequest, client: &mut i... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | async fn request_simple(&self, method: Method, url: &str, client:... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | async fn request_raw(&self, r: Request, client: &mut impl P... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:1190:33 [INFO] [stdout] | [INFO] [stdout] 1190 | ... Err(e) => { product_os_http_body::BodyBytes::new(Bytes::new()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `product-os-request` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ProductOSRequest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl ProductOSRequest { [INFO] [stdout] | ------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | fn build(self) -> Result, ProductOSRequestError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_request`, `request`, `request_simple`, and `request_raw` are never used [INFO] [stdout] --> src/lib.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 485 | impl ProductOSRequester { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 569 | fn new_request(&self, method: Method, url: String, client: &mut i... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | async fn request(&self, r: ProductOSRequest, client: &mut i... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | async fn request_simple(&self, method: Method, url: &str, client:... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | async fn request_raw(&self, r: Request, client: &mut impl P... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `product-os-request` (lib) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e55085777fe3688b6d2221ea58c915a5ff7cba896f24c09007ef69c57baf60c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55085777fe3688b6d2221ea58c915a5ff7cba896f24c09007ef69c57baf60c8", kill_on_drop: false }` [INFO] [stdout] e55085777fe3688b6d2221ea58c915a5ff7cba896f24c09007ef69c57baf60c8