[INFO] cloning repository https://github.com/xiaolin2004/reqwest_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaolin2004/reqwest_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaolin2004%2Freqwest_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaolin2004%2Freqwest_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cd7a096fb3394df2da7129ff9ac00485dfde779 [INFO] building xiaolin2004/reqwest_test against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaolin2004%2Freqwest_test" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xiaolin2004/reqwest_test [INFO] finished tweaking git repo https://github.com/xiaolin2004/reqwest_test [INFO] tweaked toml for git repo https://github.com/xiaolin2004/reqwest_test written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiaolin2004/reqwest_test on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xiaolin2004/reqwest_test 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded keyed_priority_queue v0.4.2 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded mysql-common-derive v0.32.0 [INFO] [stderr] Downloaded reqwest v0.12.14 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded twox-hash v2.1.0 [INFO] [stderr] Downloaded mysql_common v0.34.1 [INFO] [stderr] Downloaded mysql_async v0.35.1 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c41b7feb0f702ee4759252b7cb0093cc4417d2ff51b3ad0285da5ca80192eba [INFO] running `Command { std: "docker" "start" "-a" "7c41b7feb0f702ee4759252b7cb0093cc4417d2ff51b3ad0285da5ca80192eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c41b7feb0f702ee4759252b7cb0093cc4417d2ff51b3ad0285da5ca80192eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c41b7feb0f702ee4759252b7cb0093cc4417d2ff51b3ad0285da5ca80192eba", kill_on_drop: false }` [INFO] [stdout] 7c41b7feb0f702ee4759252b7cb0093cc4417d2ff51b3ad0285da5ca80192eba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82560e39ba8da50bf718ca160b42c2e0c131c845cc25e3ffa48dbe6e9fc02257 [INFO] running `Command { std: "docker" "start" "-a" "82560e39ba8da50bf718ca160b42c2e0c131c845cc25e3ffa48dbe6e9fc02257", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling twox-hash v2.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling keyed_priority_queue v0.4.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling mysql_common v0.34.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling mysql-common-derive v0.32.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.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 reqwest v0.12.14 [INFO] [stderr] Compiling mysql_async v0.35.1 [INFO] [stderr] Compiling rtest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mysql_async::Pool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mysql_async::Pool; [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 imports: `HeaderMap` and `self` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | header::{self, HeaderMap}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | clone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let response = match http_method { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_request` is never used [INFO] [stdout] --> src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_content_to_be_signed` is never used [INFO] [stdout] --> src/build_conten_to_be_signed.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn build_content_to_be_signed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_signature` is never used [INFO] [stdout] --> src/generate_signature.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn generate_signature(content_to_be_signed: &str, private_key: &Rsa) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_signature_header` is never used [INFO] [stdout] --> src/generate_signature.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create_signature_header(generated_signature: &str, key_version: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "82560e39ba8da50bf718ca160b42c2e0c131c845cc25e3ffa48dbe6e9fc02257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82560e39ba8da50bf718ca160b42c2e0c131c845cc25e3ffa48dbe6e9fc02257", kill_on_drop: false }` [INFO] [stdout] 82560e39ba8da50bf718ca160b42c2e0c131c845cc25e3ffa48dbe6e9fc02257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfa7c7f21c10bb009cce1ce1422f639323160121cc8fa1fce3fb505bc6b0d617 [INFO] running `Command { std: "docker" "start" "-a" "bfa7c7f21c10bb009cce1ce1422f639323160121cc8fa1fce3fb505bc6b0d617", kill_on_drop: false }` [INFO] [stderr] Compiling rtest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mysql_async::Pool` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mysql_async::Pool; [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 imports: `HeaderMap` and `self` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | header::{self, HeaderMap}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | clone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let response = match http_method { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_request` is never used [INFO] [stdout] --> src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_content_to_be_signed` is never used [INFO] [stdout] --> src/build_conten_to_be_signed.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn build_content_to_be_signed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_signature` is never used [INFO] [stdout] --> src/generate_signature.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn generate_signature(content_to_be_signed: &str, private_key: &Rsa) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_signature_header` is never used [INFO] [stdout] --> src/generate_signature.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create_signature_header(generated_signature: &str, key_version: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "bfa7c7f21c10bb009cce1ce1422f639323160121cc8fa1fce3fb505bc6b0d617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa7c7f21c10bb009cce1ce1422f639323160121cc8fa1fce3fb505bc6b0d617", kill_on_drop: false }` [INFO] [stdout] bfa7c7f21c10bb009cce1ce1422f639323160121cc8fa1fce3fb505bc6b0d617