[INFO] cloning repository https://github.com/sandysong/tushare-cli-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandysong/tushare-cli-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandysong%2Ftushare-cli-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandysong%2Ftushare-cli-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc4020a20a05af755432c6be8f07939c484f43ea
[INFO] testing sandysong/tushare-cli-rust against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandysong%2Ftushare-cli-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sandysong/tushare-cli-rust
[INFO] finished tweaking git repo https://github.com/sandysong/tushare-cli-rust
[INFO] tweaked toml for git repo https://github.com/sandysong/tushare-cli-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sandysong/tushare-cli-rust on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sandysong/tushare-cli-rust 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5edc95b564a1ce7862339acaa18be72bc37b1577e94eec2649c419b32bc1e0e7
[INFO] running `Command { std: "docker" "start" "-a" "5edc95b564a1ce7862339acaa18be72bc37b1577e94eec2649c419b32bc1e0e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5edc95b564a1ce7862339acaa18be72bc37b1577e94eec2649c419b32bc1e0e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5edc95b564a1ce7862339acaa18be72bc37b1577e94eec2649c419b32bc1e0e7", kill_on_drop: false }`
[INFO] [stdout] 5edc95b564a1ce7862339acaa18be72bc37b1577e94eec2649c419b32bc1e0e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9bbde708884d155c6d0c9b08cf83396975198760ffbc1f68b7f67e4257946de7
[INFO] running `Command { std: "docker" "start" "-a" "9bbde708884d155c6d0c9b08cf83396975198760ffbc1f68b7f67e4257946de7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling comfy-table v7.2.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling tushare v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `request::TushareRequest`
[INFO] [stdout]   --> src/client/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use request::TushareRequest;
[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: `ResponseData`, `TushareErrorResponse`, and `TushareResponse`
[INFO] [stdout]   --> src/client/mod.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use response::{TushareResponse, ResponseData, TushareErrorResponse};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options`, `OutputFormat`, `ParamValue`, and `ParsedArgs`
[INFO] [stdout]  --> src/cli/mod.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use args::{ParsedArgs, Options, OutputFormat, ParamValue};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiOutputField` and `ApiParameter`
[INFO] [stdout]  --> src/api/mod.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use definitions::{ApiDefinition, ApiParameter, ApiOutputField, load_api_definitions, get_categories};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_token_path`, `load_token`, and `save_token`
[INFO] [stdout]  --> src/config/mod.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use token::{load_token, save_token, get_token_path};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_id` is never read
[INFO] [stdout]   --> src/client/response.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TushareResponse {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub request_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TushareErrorResponse` is never constructed
[INFO] [stdout]   --> src/client/response.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct TushareErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_token` and `call_sync` are never used
[INFO] [stdout]   --> src/client/client.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl TushareClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn with_token(token: String) -> TResult<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn call_sync(&self, api_name: &str, params: Option<serde_json::Value>, fields: Option<String>) -> TResult<TushareResponse> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/cli/args.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl OutputFormat {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_param` is never used
[INFO] [stdout]    --> src/cli/args.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl ParsedArgs {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn get_param(&self, key: &str) -> Option<&ParamValue> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `snake_to_kebab` is never used
[INFO] [stdout]   --> src/cli/parser.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn snake_to_kebab(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ApiNotFound` and `ValidationError` are never constructed
[INFO] [stdout]   --> src/error.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TushareError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     ApiNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     ValidationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_apis_by_category` is never used
[INFO] [stdout]   --> src/api/search.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_apis_by_category<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token_path` is never used
[INFO] [stdout]   --> src/config/token.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn get_token_path() -> PathBuf {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_token` is never used
[INFO] [stdout]   --> src/config/token.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn load_token() -> TResult<Option<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_token` is never used
[INFO] [stdout]   --> src/config/token.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn save_token(token: &str) -> TResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token` is never used
[INFO] [stdout]   --> src/config/token.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn get_token() -> TResult<String> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.13s
[INFO] running `Command { std: "docker" "inspect" "9bbde708884d155c6d0c9b08cf83396975198760ffbc1f68b7f67e4257946de7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bbde708884d155c6d0c9b08cf83396975198760ffbc1f68b7f67e4257946de7", kill_on_drop: false }`
[INFO] [stdout] 9bbde708884d155c6d0c9b08cf83396975198760ffbc1f68b7f67e4257946de7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d6e02e78939667c0d1a45eed2ce5f5bfa631e30b2ae02d9b20a127f9ce2f7c6
[INFO] running `Command { std: "docker" "start" "-a" "0d6e02e78939667c0d1a45eed2ce5f5bfa631e30b2ae02d9b20a127f9ce2f7c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling tushare v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `request::TushareRequest`
[INFO] [stdout]   --> src/client/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use request::TushareRequest;
[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: `ResponseData`, `TushareErrorResponse`, and `TushareResponse`
[INFO] [stdout]   --> src/client/mod.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use response::{TushareResponse, ResponseData, TushareErrorResponse};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options` and `OutputFormat`
[INFO] [stdout]    --> src/cli/commands.rs:366:28
[INFO] [stdout]     |
[INFO] [stdout] 366 |     use crate::cli::args::{OutputFormat, Options};
[INFO] [stdout]     |                            ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options`, `OutputFormat`, `ParamValue`, and `ParsedArgs`
[INFO] [stdout]  --> src/cli/mod.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use args::{ParsedArgs, Options, OutputFormat, ParamValue};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiOutputField` and `ApiParameter`
[INFO] [stdout]  --> src/api/mod.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use definitions::{ApiDefinition, ApiParameter, ApiOutputField, load_api_definitions, get_categories};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_token_path`, `load_token`, and `save_token`
[INFO] [stdout]  --> src/config/mod.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use token::{load_token, save_token, get_token_path};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handle_command`
[INFO] [stdout]  --> tests/integration_test.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tushare::cli::{parse_args, handle_command};
[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 import: `request::TushareRequest`
[INFO] [stdout]   --> src/client/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use request::TushareRequest;
[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: `ResponseData`, `TushareErrorResponse`, and `TushareResponse`
[INFO] [stdout]   --> src/client/mod.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use response::{TushareResponse, ResponseData, TushareErrorResponse};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options`, `OutputFormat`, `ParamValue`, and `ParsedArgs`
[INFO] [stdout]  --> src/cli/mod.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use args::{ParsedArgs, Options, OutputFormat, ParamValue};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiOutputField` and `ApiParameter`
[INFO] [stdout]  --> src/api/mod.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use definitions::{ApiDefinition, ApiParameter, ApiOutputField, load_api_definitions, get_categories};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_token_path`, `load_token`, and `save_token`
[INFO] [stdout]  --> src/config/mod.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use token::{load_token, save_token, get_token_path};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cli/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[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: `Options` and `OutputFormat`
[INFO] [stdout]    --> src/cli/commands.rs:366:28
[INFO] [stdout]     |
[INFO] [stdout] 366 |     use crate::cli::args::{OutputFormat, Options};
[INFO] [stdout]     |                            ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/client/client.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let client = TushareClient::with_token("test_token".to_string()).unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/client/client.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let client = TushareClient::with_token("test_token".to_string()).unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_id` is never read
[INFO] [stdout]   --> src/client/response.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TushareResponse {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub request_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TushareErrorResponse` is never constructed
[INFO] [stdout]   --> src/client/response.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct TushareErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_token` and `call_sync` are never used
[INFO] [stdout]   --> src/client/client.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl TushareClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn with_token(token: String) -> TResult<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn call_sync(&self, api_name: &str, params: Option<serde_json::Value>, fields: Option<String>) -> TResult<TushareResponse> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/cli/args.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl OutputFormat {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_param` is never used
[INFO] [stdout]    --> src/cli/args.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl ParsedArgs {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn get_param(&self, key: &str) -> Option<&ParamValue> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `snake_to_kebab` is never used
[INFO] [stdout]   --> src/cli/parser.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn snake_to_kebab(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ApiNotFound` and `ValidationError` are never constructed
[INFO] [stdout]   --> src/error.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TushareError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     ApiNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     ValidationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_apis_by_category` is never used
[INFO] [stdout]   --> src/api/search.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_apis_by_category<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token_path` is never used
[INFO] [stdout]   --> src/config/token.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn get_token_path() -> PathBuf {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_token` is never used
[INFO] [stdout]   --> src/config/token.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn load_token() -> TResult<Option<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_token` is never used
[INFO] [stdout]   --> src/config/token.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn save_token(token: &str) -> TResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token` is never used
[INFO] [stdout]   --> src/config/token.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn get_token() -> TResult<String> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_id` is never read
[INFO] [stdout]   --> src/client/response.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct TushareResponse {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub request_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TushareErrorResponse` is never constructed
[INFO] [stdout]   --> src/client/response.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct TushareErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call_sync` is never used
[INFO] [stdout]   --> src/client/client.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl TushareClient {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn call_sync(&self, api_name: &str, params: Option<serde_json::Value>, fields: Option<String>) -> TResult<TushareResponse> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/cli/args.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl OutputFormat {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ApiNotFound` and `ValidationError` are never constructed
[INFO] [stdout]   --> src/error.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TushareError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     ApiNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     ValidationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TushareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ApiRegistry` is never used
[INFO] [stdout]   --> src/api/definitions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_token` is never used
[INFO] [stdout]   --> src/config/token.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn get_token() -> TResult<String> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 19.93s
[INFO] running `Command { std: "docker" "inspect" "0d6e02e78939667c0d1a45eed2ce5f5bfa631e30b2ae02d9b20a127f9ce2f7c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d6e02e78939667c0d1a45eed2ce5f5bfa631e30b2ae02d9b20a127f9ce2f7c6", kill_on_drop: false }`
[INFO] [stdout] 0d6e02e78939667c0d1a45eed2ce5f5bfa631e30b2ae02d9b20a127f9ce2f7c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d227f1eb9957b8d04a73db2e8fcff346ba926f358aec301509f192ce4703d817
[INFO] running `Command { std: "docker" "start" "-a" "d227f1eb9957b8d04a73db2e8fcff346ba926f358aec301509f192ce4703d817", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/cli/commands.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ApiRegistry` is never used
[INFO] [stderr]   --> src/api/definitions.rs:58:6
[INFO] [stderr]    |
[INFO] [stderr] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stderr]    |      ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Options` and `OutputFormat`
[INFO] [stderr]    --> src/cli/commands.rs:366:28
[INFO] [stderr]     |
[INFO] [stderr] 366 |     use crate::cli::args::{OutputFormat, Options};
[INFO] [stderr]     |                            ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]    --> src/client/client.rs:157:13
[INFO] [stderr]     |
[INFO] [stderr] 157 |         let client = TushareClient::with_token("test_token".to_string()).unwrap();
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tushare` (lib) generated 2 warnings (run `cargo fix --lib -p tushare` to apply 1 suggestion)
[INFO] [stderr] warning: `tushare` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p tushare --tests` to apply 2 suggestions)
[INFO] [stderr] warning: unused import: `request::TushareRequest`
[INFO] [stderr]   --> src/client/mod.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use request::TushareRequest;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ResponseData`, `TushareErrorResponse`, and `TushareResponse`
[INFO] [stderr]   --> src/client/mod.rs:11:20
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub use response::{TushareResponse, ResponseData, TushareErrorResponse};
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/cli/commands.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Options`, `OutputFormat`, `ParamValue`, and `ParsedArgs`
[INFO] [stderr]  --> src/cli/mod.rs:9:16
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use args::{ParsedArgs, Options, OutputFormat, ParamValue};
[INFO] [stderr]   |                ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ApiOutputField` and `ApiParameter`
[INFO] [stderr]  --> src/api/mod.rs:8:38
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use definitions::{ApiDefinition, ApiParameter, ApiOutputField, load_api_definitions, get_categories};
[INFO] [stderr]   |                                      ^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get_token_path`, `load_token`, and `save_token`
[INFO] [stderr]  --> src/config/mod.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use token::{load_token, save_token, get_token_path};
[INFO] [stderr]   |                 ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `request_id` is never read
[INFO] [stderr]   --> src/client/response.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct TushareResponse {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub request_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TushareResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TushareErrorResponse` is never constructed
[INFO] [stderr]   --> src/client/response.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct TushareErrorResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_token` and `call_sync` are never used
[INFO] [stderr]   --> src/client/client.rs:29:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl TushareClient {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn with_token(token: String) -> TResult<Self> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 87 |     pub fn call_sync(&self, api_name: &str, params: Option<serde_json::Value>, fields: Option<String>) -> TResult<TushareResponse> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/cli/args.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl OutputFormat {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_param` is never used
[INFO] [stderr]    --> src/cli/args.rs:154:12
[INFO] [stderr]     |
[INFO] [stderr] 132 | impl ParsedArgs {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub fn get_param(&self, key: &str) -> Option<&ParamValue> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `snake_to_kebab` is never used
[INFO] [stderr]   --> src/cli/parser.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn snake_to_kebab(s: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ApiNotFound` and `ValidationError` are never constructed
[INFO] [stderr]   --> src/error.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub enum TushareError {
[INFO] [stderr]    |          ------------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 36 |     ApiNotFound(String),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40 |     ValidationError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TushareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ApiRegistry` is never used
[INFO] [stderr]   --> src/api/definitions.rs:58:6
[INFO] [stderr]    |
[INFO] [stderr] 58 | type ApiRegistry = HashMap<String, Vec<ApiDefinition>>;
[INFO] [stderr]    |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_apis_by_category` is never used
[INFO] [stderr]   --> src/api/search.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn get_apis_by_category<'a>(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_token_path` is never used
[INFO] [stderr]   --> src/config/token.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn get_token_path() -> PathBuf {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_token` is never used
[INFO] [stderr]   --> src/config/token.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn load_token() -> TResult<Option<String>> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `save_token` is never used
[INFO] [stderr]   --> src/config/token.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub fn save_token(token: &str) -> TResult<()> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_token` is never used
[INFO] [stderr]   --> src/config/token.rs:58:8
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub fn get_token() -> TResult<String> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `handle_command`
[INFO] [stderr]  --> tests/integration_test.rs:3:32
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tushare::cli::{parse_args, handle_command};
[INFO] [stderr]   |                                ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `call_sync` is never used
[INFO] [stderr]   --> src/client/client.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl TushareClient {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 87 |     pub fn call_sync(&self, api_name: &str, params: Option<serde_json::Value>, fields: Option<String>) -> TResult<TushareResponse> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tushare` (bin "tushare") generated 19 warnings (run `cargo fix --bin "tushare" -p tushare` to apply 6 suggestions)
[INFO] [stderr] warning: `tushare` (test "integration_test") generated 1 warning (run `cargo fix --test "integration_test" -p tushare` to apply 1 suggestion)
[INFO] [stderr] warning: `tushare` (bin "tushare" test) generated 15 warnings (14 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tushare-6da79f4f064360be)
[INFO] [stdout] 
[INFO] [stdout] running 44 tests
[INFO] [stdout] test api::definitions::tests::test_get_categories ... ok
[INFO] [stdout] test cli::args::tests::test_output_format_from_str ... ok
[INFO] [stdout] test api::search::tests::test_get_apis_by_category ... ok
[INFO] [stdout] test cli::args::tests::test_param_value_from_str ... ok
[INFO] [stdout] test cli::parser::tests::test_kebab_to_snake ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_options ... ok
[INFO] [stdout] test cli::args::tests::test_params_to_json ... ok
[INFO] [stdout] test cli::args::tests::test_parsed_args ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_with_equals ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_with_params ... ok
[INFO] [stdout] test cli::commands::tests::test_show_general_help ... ok
[INFO] [stdout] test cli::commands::tests::test_show_version ... ok
[INFO] [stdout] test api::search::tests::test_search_apis ... ok
[INFO] [stdout] test api::search::tests::test_find_api_by_name ... ok
[INFO] [stdout] test api::definitions::tests::test_api_definition_serialization ... ok
[INFO] [stdout] test cli::parser::tests::test_snake_to_kebab ... ok
[INFO] [stdout] test client::request::tests::test_request_creation ... ok
[INFO] [stdout] test client::response::tests::test_to_objects ... ok
[INFO] [stdout] test client::client::tests::test_client_with_token ... ok
[INFO] [stdout] test client::response::tests::test_response_error ... ok
[INFO] [stdout] test client::client::tests::test_set_token ... ok
[INFO] [stdout] name,note
[INFO] [stdout] "Alice, Bob","He said ""hello"""
[INFO] [stdout] [
[INFO] [stdout]   {
[INFO] [stdout]     "key": "value"
[INFO] [stdout]   }
[INFO] [stdout] ]
[INFO] [stdout] age,name
[INFO] [stdout] 25,Alice
[INFO] [stdout] 30,Bob
[INFO] [stdout] [{"key":"value"}]
[INFO] [stdout] test client::client::tests::test_client_creation ... ok
[INFO] [stdout] test config::token::tests::test_get_token_path ... ok
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test output::csv::tests::test_output_csv_with_special_chars ... ok
[INFO] [stdout] | age | name  |
[INFO] [stdout] |---|-----|
[INFO] [stdout] | 25  | Alice |
[INFO] [stdout] | 30  | Bob   |
[INFO] [stdout] test output::json::tests::test_output_json_pretty ... ok
[INFO] [stdout] test output::csv::tests::test_output_csv ... ok
[INFO] [stdout] test client::client::tests::test_request_building ... ok
[INFO] [stdout] test output::json::tests::test_output_json ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_simple_command ... ok
[INFO] [stdout] test client::request::tests::test_request_serialize ... ok
[INFO] [stdout] test output::markdown::tests::test_output_empty_markdown ... ok
[INFO] [stdout] test output::table::tests::test_output_empty_table ... ok
[INFO] [stdout] test output::markdown::tests::test_output_markdown ... ok
[INFO] [stdout] test client::request::tests::test_request_with_params ... ok
[INFO] [stdout] test client::response::tests::test_response_success ... ok
[INFO] [stdout] test output::table::tests::test_output_table ... ok
[INFO] [stdout] test error::tests::test_token_not_configured ... ok
[INFO] [stdout] test output::tests::test_format_value ... ok
[INFO] [stdout] test output::tests::test_escape_csv_value ... ok
[INFO] [stdout] test output::tests::test_get_fields ... ok
[INFO] [stdout] test cli::commands::tests::test_list_apis ... ok
[INFO] [stdout] test config::token::tests::test_save_and_load_token ... ok
[INFO] [stdout] test cli::commands::tests::test_search_apis ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tushare-1eff01223a8b2be8)
[INFO] [stdout] 
[INFO] [stdout] running 44 tests
[INFO] [stdout] test api::definitions::tests::test_get_categories ... ok
[INFO] [stdout] test api::search::tests::test_find_api_by_name ... ok
[INFO] [stdout] test api::search::tests::test_search_apis ... ok
[INFO] [stdout] test cli::args::tests::test_output_format_from_str ... ok
[INFO] [stdout] test cli::args::tests::test_param_value_from_str ... ok
[INFO] [stdout] test cli::commands::tests::test_show_version ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_options ... ok
[INFO] [stdout] test cli::parser::tests::test_kebab_to_snake ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_simple_command ... ok
[INFO] [stdout] test cli::args::tests::test_parsed_args ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_with_equals ... ok
[INFO] [stdout] test cli::parser::tests::test_parse_with_params ... ok
[INFO] [stdout] test client::client::tests::test_client_with_token ... ok
[INFO] [stdout] test client::client::tests::test_request_building ... ok
[INFO] [stdout] test client::request::tests::test_request_creation ... ok
[INFO] [stdout] test client::client::tests::test_set_token ... ok
[INFO] [stdout] test client::request::tests::test_request_serialize ... ok
[INFO] [stdout] test config::token::tests::test_get_token_path ... ok
[INFO] [stdout] test config::token::tests::test_save_and_load_token ... ok
[INFO] [stdout] test client::response::tests::test_response_success ... ok
[INFO] [stdout] age,name
[INFO] [stdout] 25,Alice
[INFO] [stdout] 30,Bob
[INFO] [stdout] name,note
[INFO] [stdout] "Alice, Bob","He said ""hello"""
[INFO] [stdout] [{"key":"value"}]
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test client::request::tests::test_request_with_params ... ok
[INFO] [stdout] test error::tests::test_token_not_configured ... ok
[INFO] [stdout] test output::csv::tests::test_output_csv ... ok
[INFO] [stdout] [
[INFO] [stdout]   {
[INFO] [stdout]     "key": "value"
[INFO] [stdout]   }
[INFO] [stdout] ]
[INFO] [stdout] | age | name  |
[INFO] [stdout] |---|-----|
[INFO] [stdout] | 25  | Alice |
[INFO] [stdout] | 30  | Bob   |
[INFO] [stdout] test api::search::tests::test_get_apis_by_category ... ok
[INFO] [stdout] test output::csv::tests::test_output_csv_with_special_chars ... ok
[INFO] [stdout] test output::json::tests::test_output_json ... ok
[INFO] [stdout] test client::response::tests::test_response_error ... ok
[INFO] [stdout] test cli::args::tests::test_params_to_json ... ok
[INFO] [stdout] test client::response::tests::test_to_objects ... ok
[INFO] [stdout] test output::table::tests::test_output_empty_table ... ok
[INFO] [stdout] test output::json::tests::test_output_json_pretty ... ok
[INFO] [stdout] test cli::commands::tests::test_show_general_help ... ok
[INFO] [stdout] test output::markdown::tests::test_output_empty_markdown ... ok
[INFO] [stdout] test output::markdown::tests::test_output_markdown ... ok
[INFO] [stdout] test api::definitions::tests::test_api_definition_serialization ... ok
[INFO] [stdout] test cli::parser::tests::test_snake_to_kebab ... ok
[INFO] [stdout] test client::client::tests::test_client_creation ... ok
[INFO] [stdout] test output::table::tests::test_output_table ... ok
[INFO] [stdout] test output::tests::test_escape_csv_value ... ok
[INFO] [stdout] test output::tests::test_get_fields ... ok
[INFO] [stdout] test output::tests::test_format_value ... ok
[INFO] [stdout] test cli::commands::tests::test_search_apis ... ok
[INFO] [stdout] test cli::commands::tests::test_list_apis ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-8d7e133f20c00649)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_help_command ... ok
[INFO] [stdout] test test_parse_options ... ok
[INFO] [stdout] test test_parse_simple_command ... ok
[INFO] [stdout] test test_parse_with_equals ... ok
[INFO] [stdout] test test_parse_with_params ... ok
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tushare
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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" "d227f1eb9957b8d04a73db2e8fcff346ba926f358aec301509f192ce4703d817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d227f1eb9957b8d04a73db2e8fcff346ba926f358aec301509f192ce4703d817", kill_on_drop: false }`
[INFO] [stdout] d227f1eb9957b8d04a73db2e8fcff346ba926f358aec301509f192ce4703d817
