[INFO] cloning repository https://github.com/danepoirier0/rquest-http-helper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danepoirier0/rquest-http-helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanepoirier0%2Frquest-http-helper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanepoirier0%2Frquest-http-helper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8fa59e777fa046c821f85f9a0c9b7820bd3a572 [INFO] checking danepoirier0/rquest-http-helper against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanepoirier0%2Frquest-http-helper" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danepoirier0/rquest-http-helper [INFO] finished tweaking git repo https://github.com/danepoirier0/rquest-http-helper [INFO] tweaked toml for git repo https://github.com/danepoirier0/rquest-http-helper written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danepoirier0/rquest-http-helper on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danepoirier0/rquest-http-helper 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie_store v0.21.0 [INFO] [stderr] Downloaded tokio-rboring v4.9.1 [INFO] [stderr] Downloaded async-compression v0.4.12 [INFO] [stderr] Downloaded rboring v4.9.1 [INFO] [stderr] Downloaded rh2 v0.3.31 [INFO] [stderr] Downloaded rquest v0.20.85 [INFO] [stderr] Downloaded rhyper v0.14.33 [INFO] [stderr] Downloaded rboring-sys v4.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fb9277ea55ecc3e1480a112c899cfa7962733c5968835ab9c4669308ee53769 [INFO] running `Command { std: "docker" "start" "-a" "9fb9277ea55ecc3e1480a112c899cfa7962733c5968835ab9c4669308ee53769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fb9277ea55ecc3e1480a112c899cfa7962733c5968835ab9c4669308ee53769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb9277ea55ecc3e1480a112c899cfa7962733c5968835ab9c4669308ee53769", kill_on_drop: false }` [INFO] [stdout] 9fb9277ea55ecc3e1480a112c899cfa7962733c5968835ab9c4669308ee53769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88b8be4f48a53981197e07b880b7ffc9b690c1b9f3d138787b4b14ce5e59063c [INFO] running `Command { std: "docker" "start" "-a" "88b8be4f48a53981197e07b880b7ffc9b690c1b9f3d138787b4b14ce5e59063c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling typed-builder-macro v0.19.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking typed-builder v0.19.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling rboring-sys v4.9.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking rh2 v0.3.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.21.0 [INFO] [stderr] Checking rhyper v0.14.33 [INFO] [stderr] Checking rboring v4.9.1 [INFO] [stderr] Checking tokio-rboring v4.9.1 [INFO] [stderr] Checking rquest v0.20.85 [INFO] [stderr] Checking stock-ana-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_test` is never used [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn get_test() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Boolean`, `Array`, and `Map` are never constructed [INFO] [stdout] --> src/utils/rquest_helper.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BodyDataMap { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | String(String), [INFO] [stdout] 11 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Map(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyDataMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/utils/rquest_helper.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 33 | impl RquestHttpHelper { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get(&self, url: String, headers: &HashMap, cookies: &HashMap) -> Result src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn get_test() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Boolean`, `Array`, and `Map` are never constructed [INFO] [stdout] --> src/utils/rquest_helper.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BodyDataMap { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | String(String), [INFO] [stdout] 11 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Map(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BodyDataMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/utils/rquest_helper.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 33 | impl RquestHttpHelper { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get(&self, url: String, headers: &HashMap, cookies: &HashMap) -> Result