[INFO] fetching crate scholar_cli 0.1.2... [INFO] building scholar_cli-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate scholar_cli 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate scholar_cli 0.1.2 [INFO] finished tweaking crates.io crate scholar_cli 0.1.2 [INFO] tweaked toml for crates.io crate scholar_cli 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scholar_cli 0.1.2 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 crates.io crate scholar_cli 0.1.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded cc v1.2.22 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded icu_properties v2.0.0 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded icu_properties_data v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 76955034dd18a8e161ff8480588226046eb1d91bc3f0e4da680aaa20dba4d15f [INFO] running `Command { std: "docker" "start" "-a" "76955034dd18a8e161ff8480588226046eb1d91bc3f0e4da680aaa20dba4d15f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76955034dd18a8e161ff8480588226046eb1d91bc3f0e4da680aaa20dba4d15f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76955034dd18a8e161ff8480588226046eb1d91bc3f0e4da680aaa20dba4d15f", kill_on_drop: false }` [INFO] [stdout] 76955034dd18a8e161ff8480588226046eb1d91bc3f0e4da680aaa20dba4d15f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3a9e925e7d5fe7678c63a826d54a20af65bb68efaeebe7b561c3d979891f3748 [INFO] running `Command { std: "docker" "start" "-a" "3a9e925e7d5fe7678c63a826d54a20af65bb68efaeebe7b561c3d979891f3748", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling scholar_cli v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `obfuscate` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn obfuscate(len: usize) -> String { [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 `hl` is never read [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SearchParameters { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub hl: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct SerpApiAuthorResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 83 | /// Metadata about the search request [INFO] [stdout] 84 | pub search_metadata: AuthorSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// Parameters used in the search request [INFO] [stdout] 86 | pub search_parameters: AuthorSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiAuthorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_author_url` are never read [INFO] [stdout] --> src/models.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct AuthorSearchMetadata { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 100 | /// Unique identifier for this search request [INFO] [stdout] 101 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 102 | /// Status of the search request [INFO] [stdout] 103 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | /// URL to the author's Google Scholar page [INFO] [stdout] 105 | pub google_scholar_author_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `author_id`, and `hl` are never read [INFO] [stdout] --> src/models.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AuthorSearchParameters { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 111 | /// The search engine used (google_scholar_author) [INFO] [stdout] 112 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | /// Author ID to search for [INFO] [stdout] 114 | pub author_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | /// Language code for the search [INFO] [stdout] 116 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct AuthorInterest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorInterest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link` and `serpapi_link` are never read [INFO] [stdout] --> src/models.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ArticleCitedBy { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 171 | /// SerpApi link for citations [INFO] [stdout] 172 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleCitedBy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct CoAuthor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoAuthor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct SerpApiProfilesResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 286 | /// Metadata about the search request [INFO] [stdout] 287 | pub search_metadata: ProfilesSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 288 | /// Parameters used in the search request [INFO] [stdout] 289 | pub search_parameters: ProfilesSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiProfilesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_profiles_url` are never read [INFO] [stdout] --> src/models.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct ProfilesSearchMetadata { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 297 | /// Unique identifier for this search request [INFO] [stdout] 298 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 299 | /// Status of the search request [INFO] [stdout] 300 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 301 | /// URL to the Google Scholar profiles page [INFO] [stdout] 302 | pub google_scholar_profiles_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilesSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `mauthors`, and `hl` are never read [INFO] [stdout] --> src/models.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct ProfilesSearchParameters { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 308 | /// The search engine used (google_scholar_profiles) [INFO] [stdout] 309 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | /// Author names to search for [INFO] [stdout] 311 | pub mauthors: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 312 | /// Language code for the search [INFO] [stdout] 313 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilesSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ProfileResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 324 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct ProfileInterest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 345 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileInterest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct SerpApiCiteResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 355 | /// Metadata about the search request [INFO] [stdout] 356 | pub search_metadata: CiteSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 357 | /// Parameters used in the search request [INFO] [stdout] 358 | pub search_parameters: CiteSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiCiteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_cite_url` are never read [INFO] [stdout] --> src/models.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct CiteSearchMetadata { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 368 | /// Unique identifier for this search request [INFO] [stdout] 369 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 370 | /// Status of the search request [INFO] [stdout] 371 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | /// URL to the Google Scholar cite page [INFO] [stdout] 373 | pub google_scholar_cite_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiteSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `q`, and `hl` are never read [INFO] [stdout] --> src/models.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct CiteSearchParameters { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 379 | /// The search engine used (google_scholar_cite) [INFO] [stdout] 380 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 381 | /// The result/cluster ID to get citations for [INFO] [stdout] 382 | pub q: String, [INFO] [stdout] | ^ [INFO] [stdout] 383 | /// Language code for the search [INFO] [stdout] 384 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiteSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.11s [INFO] running `Command { std: "docker" "inspect" "3a9e925e7d5fe7678c63a826d54a20af65bb68efaeebe7b561c3d979891f3748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9e925e7d5fe7678c63a826d54a20af65bb68efaeebe7b561c3d979891f3748", kill_on_drop: false }` [INFO] [stdout] 3a9e925e7d5fe7678c63a826d54a20af65bb68efaeebe7b561c3d979891f3748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6fd379b1b2b52c0116bd2daa34fc199ad77df28bea2bdf12ea8499e7105bc0f3 [INFO] running `Command { std: "docker" "start" "-a" "6fd379b1b2b52c0116bd2daa34fc199ad77df28bea2bdf12ea8499e7105bc0f3", kill_on_drop: false }` [INFO] [stderr] Compiling scholar_cli v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `obfuscate` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn obfuscate(len: usize) -> String { [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 `hl` is never read [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SearchParameters { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub hl: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct SerpApiAuthorResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 83 | /// Metadata about the search request [INFO] [stdout] 84 | pub search_metadata: AuthorSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// Parameters used in the search request [INFO] [stdout] 86 | pub search_parameters: AuthorSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiAuthorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_author_url` are never read [INFO] [stdout] --> src/models.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct AuthorSearchMetadata { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 100 | /// Unique identifier for this search request [INFO] [stdout] 101 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 102 | /// Status of the search request [INFO] [stdout] 103 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | /// URL to the author's Google Scholar page [INFO] [stdout] 105 | pub google_scholar_author_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `author_id`, and `hl` are never read [INFO] [stdout] --> src/models.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AuthorSearchParameters { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 111 | /// The search engine used (google_scholar_author) [INFO] [stdout] 112 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | /// Author ID to search for [INFO] [stdout] 114 | pub author_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | /// Language code for the search [INFO] [stdout] 116 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct AuthorInterest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthorInterest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link` and `serpapi_link` are never read [INFO] [stdout] --> src/models.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ArticleCitedBy { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 171 | /// SerpApi link for citations [INFO] [stdout] 172 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArticleCitedBy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct CoAuthor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoAuthor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct SerpApiProfilesResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 286 | /// Metadata about the search request [INFO] [stdout] 287 | pub search_metadata: ProfilesSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 288 | /// Parameters used in the search request [INFO] [stdout] 289 | pub search_parameters: ProfilesSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiProfilesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_profiles_url` are never read [INFO] [stdout] --> src/models.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct ProfilesSearchMetadata { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 297 | /// Unique identifier for this search request [INFO] [stdout] 298 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 299 | /// Status of the search request [INFO] [stdout] 300 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 301 | /// URL to the Google Scholar profiles page [INFO] [stdout] 302 | pub google_scholar_profiles_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilesSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `mauthors`, and `hl` are never read [INFO] [stdout] --> src/models.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct ProfilesSearchParameters { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 308 | /// The search engine used (google_scholar_profiles) [INFO] [stdout] 309 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | /// Author names to search for [INFO] [stdout] 311 | pub mauthors: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 312 | /// Language code for the search [INFO] [stdout] 313 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfilesSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ProfileResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 324 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serpapi_link` is never read [INFO] [stdout] --> src/models.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct ProfileInterest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 345 | pub serpapi_link: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileInterest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_metadata` and `search_parameters` are never read [INFO] [stdout] --> src/models.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct SerpApiCiteResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 355 | /// Metadata about the search request [INFO] [stdout] 356 | pub search_metadata: CiteSearchMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 357 | /// Parameters used in the search request [INFO] [stdout] 358 | pub search_parameters: CiteSearchParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerpApiCiteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, and `google_scholar_cite_url` are never read [INFO] [stdout] --> src/models.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct CiteSearchMetadata { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 368 | /// Unique identifier for this search request [INFO] [stdout] 369 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 370 | /// Status of the search request [INFO] [stdout] 371 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | /// URL to the Google Scholar cite page [INFO] [stdout] 373 | pub google_scholar_cite_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiteSearchMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine`, `q`, and `hl` are never read [INFO] [stdout] --> src/models.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct CiteSearchParameters { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 379 | /// The search engine used (google_scholar_cite) [INFO] [stdout] 380 | pub engine: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 381 | /// The result/cluster ID to get citations for [INFO] [stdout] 382 | pub q: String, [INFO] [stdout] | ^ [INFO] [stdout] 383 | /// Language code for the search [INFO] [stdout] 384 | pub hl: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiteSearchParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "6fd379b1b2b52c0116bd2daa34fc199ad77df28bea2bdf12ea8499e7105bc0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd379b1b2b52c0116bd2daa34fc199ad77df28bea2bdf12ea8499e7105bc0f3", kill_on_drop: false }` [INFO] [stdout] 6fd379b1b2b52c0116bd2daa34fc199ad77df28bea2bdf12ea8499e7105bc0f3