[INFO] cloning repository https://github.com/Staninbui/stars_fetcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Staninbui/stars_fetcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaninbui%2Fstars_fetcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaninbui%2Fstars_fetcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b298a1a176d13f41217d300054e24706cdcdba1 [INFO] testing Staninbui/stars_fetcher against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStaninbui%2Fstars_fetcher" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Staninbui/stars_fetcher [INFO] finished tweaking git repo https://github.com/Staninbui/stars_fetcher [INFO] tweaked toml for git repo https://github.com/Staninbui/stars_fetcher written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Staninbui/stars_fetcher on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Staninbui/stars_fetcher 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettytable-rs v0.10.0 [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e086b6bdc2c7a9256160534b1a9dd3c46f4d12275b7ec812a2fc44d216b2023e [INFO] running `Command { std: "docker" "start" "-a" "e086b6bdc2c7a9256160534b1a9dd3c46f4d12275b7ec812a2fc44d216b2023e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e086b6bdc2c7a9256160534b1a9dd3c46f4d12275b7ec812a2fc44d216b2023e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e086b6bdc2c7a9256160534b1a9dd3c46f4d12275b7ec812a2fc44d216b2023e", kill_on_drop: false }` [INFO] [stdout] e086b6bdc2c7a9256160534b1a9dd3c46f4d12275b7ec812a2fc44d216b2023e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1042da65837b636964a229e46958a88b35d9505b5d6199747799391f2ad50cd7 [INFO] running `Command { std: "docker" "start" "-a" "1042da65837b636964a229e46958a88b35d9505b5d6199747799391f2ad50cd7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling starts_fetcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/api/repos.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{error::Error, path::Path, fs, io::Write, process::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: type `RepoResponse` is more private than the item `::get_repo` [INFO] [stdout] --> src/api/repos.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn get_repo(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoResponse` is more private than the item `::list_repos` [INFO] [stdout] --> src/api/repos.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn list_repos(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::list_repos` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoDetailsResponse` is more private than the item `::get_repo_details` [INFO] [stdout] --> src/api/repos.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn get_repo_details(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo_details` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoDetailsResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoDetailsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Repo` is never used [INFO] [stdout] --> src/api/repos.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Repo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnerResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct OwnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoDetailsResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoDetailsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Star` is never used [INFO] [stdout] --> src/api/stars.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Star { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitHubClient` is never constructed [INFO] [stdout] --> src/api/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_http_client`, `new`, `validate_auth`, `from_config`, and `new_validated` are never used [INFO] [stdout] --> src/api/client.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl GitHubClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 17 | fn create_http_client() -> Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn new(api_url: String, token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn validate_auth(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn from_config(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn new_validated(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_github_config` is never used [INFO] [stdout] --> src/api/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn validate_github_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell` [INFO] [stdout] --> src/main.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use prettytable::{Table, row, cell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.67s [INFO] running `Command { std: "docker" "inspect" "1042da65837b636964a229e46958a88b35d9505b5d6199747799391f2ad50cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1042da65837b636964a229e46958a88b35d9505b5d6199747799391f2ad50cd7", kill_on_drop: false }` [INFO] [stdout] 1042da65837b636964a229e46958a88b35d9505b5d6199747799391f2ad50cd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef4c07836374d43a2f266c277ba94407e66b4f72f04aec1651e93078c0775e36 [INFO] running `Command { std: "docker" "start" "-a" "ef4c07836374d43a2f266c277ba94407e66b4f72f04aec1651e93078c0775e36", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling starts_fetcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/api/repos.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{error::Error, path::Path, fs, io::Write, process::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: type `RepoResponse` is more private than the item `::get_repo` [INFO] [stdout] --> src/api/repos.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn get_repo(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoResponse` is more private than the item `::list_repos` [INFO] [stdout] --> src/api/repos.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn list_repos(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::list_repos` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoDetailsResponse` is more private than the item `::get_repo_details` [INFO] [stdout] --> src/api/repos.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn get_repo_details(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo_details` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoDetailsResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoDetailsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Repo` is never used [INFO] [stdout] --> src/api/repos.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Repo { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnerResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct OwnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoDetailsResponse` is never constructed [INFO] [stdout] --> src/api/repos.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoDetailsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Star` is never used [INFO] [stdout] --> src/api/stars.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Star { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitHubClient` is never constructed [INFO] [stdout] --> src/api/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_http_client`, `new`, `validate_auth`, `from_config`, and `new_validated` are never used [INFO] [stdout] --> src/api/client.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl GitHubClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 17 | fn create_http_client() -> Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn new(api_url: String, token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn validate_auth(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn from_config(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn new_validated(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_github_config` is never used [INFO] [stdout] --> src/api/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn validate_github_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell` [INFO] [stdout] --> src/main.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use prettytable::{Table, row, cell}; [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: `io::Write` [INFO] [stdout] --> src/api/repos.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{error::Error, path::Path, fs, io::Write, process::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: type `RepoResponse` is more private than the item `::get_repo` [INFO] [stdout] --> src/api/repos.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn get_repo(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoResponse` is more private than the item `::list_repos` [INFO] [stdout] --> src/api/repos.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn list_repos(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::list_repos` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct RepoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RepoDetailsResponse` is more private than the item `::get_repo_details` [INFO] [stdout] --> src/api/repos.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn get_repo_details(&self, owner: &str, repo: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo_details` is reachable at visibility `pub(in crate::api)` [INFO] [stdout] | [INFO] [stdout] note: but type `RepoDetailsResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api/repos.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct RepoDetailsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `validate_auth`, `from_config`, and `new_validated` are never used [INFO] [stdout] --> src/api/client.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 16 | impl GitHubClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | async fn validate_auth(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn from_config(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn new_validated(config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_github_config` is never used [INFO] [stdout] --> src/api/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn validate_github_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.01s [INFO] running `Command { std: "docker" "inspect" "ef4c07836374d43a2f266c277ba94407e66b4f72f04aec1651e93078c0775e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4c07836374d43a2f266c277ba94407e66b4f72f04aec1651e93078c0775e36", kill_on_drop: false }` [INFO] [stdout] ef4c07836374d43a2f266c277ba94407e66b4f72f04aec1651e93078c0775e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87fe8aa7fe5effe41c2777602329a27361fe9a3628d3e6ee514e09388a635c03 [INFO] running `Command { std: "docker" "start" "-a" "87fe8aa7fe5effe41c2777602329a27361fe9a3628d3e6ee514e09388a635c03", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `io::Write` [INFO] [stderr] --> src/api/repos.rs:6:41 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{error::Error, path::Path, fs, io::Write, process::Command}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `RepoResponse` is more private than the item `::get_repo` [INFO] [stderr] --> src/api/repos.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | async fn get_repo(&self, owner: &str, repo: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct RepoResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `RepoResponse` is more private than the item `::list_repos` [INFO] [stderr] --> src/api/repos.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | async fn list_repos(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::list_repos` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct RepoResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RepoDetailsResponse` is more private than the item `::get_repo_details` [INFO] [stderr] --> src/api/repos.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | async fn get_repo_details(&self, owner: &str, repo: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo_details` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoDetailsResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | struct RepoDetailsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Repo` is never used [INFO] [stderr] --> src/api/repos.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait Repo { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RepoResponse` is never constructed [INFO] [stderr] --> src/api/repos.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct RepoResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OwnerResponse` is never constructed [INFO] [stderr] --> src/api/repos.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | struct OwnerResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RepoDetailsResponse` is never constructed [INFO] [stderr] --> src/api/repos.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | struct RepoDetailsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Star` is never used [INFO] [stderr] --> src/api/stars.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait Star { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GitHubClient` is never constructed [INFO] [stderr] --> src/api/client.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct GitHubClient { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `create_http_client`, `new`, `validate_auth`, `from_config`, and `new_validated` are never used [INFO] [stderr] --> src/api/client.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 16 | impl GitHubClient { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 17 | fn create_http_client() -> Client { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub async fn new(api_url: String, token: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | async fn validate_auth(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn from_config(config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub async fn new_validated(config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_github_config` is never used [INFO] [stderr] --> src/api/client.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | pub async fn validate_github_config() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RepoResponse` is more private than the item `::get_repo` [INFO] [stderr] --> src/api/repos.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | async fn get_repo(&self, owner: &str, repo: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct RepoResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `RepoResponse` is more private than the item `::list_repos` [INFO] [stderr] --> src/api/repos.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | async fn list_repos(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::list_repos` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct RepoResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RepoDetailsResponse` is more private than the item `::get_repo_details` [INFO] [stderr] --> src/api/repos.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | async fn get_repo_details(&self, owner: &str, repo: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_repo_details` is reachable at visibility `pub(in crate::api)` [INFO] [stderr] | [INFO] [stderr] note: but type `RepoDetailsResponse` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/api/repos.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | struct RepoDetailsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `validate_auth`, `from_config`, and `new_validated` are never used [INFO] [stderr] --> src/api/client.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 16 | impl GitHubClient { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | async fn validate_auth(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn from_config(config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub async fn new_validated(config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `starts_fetcher` (lib) generated 12 warnings (run `cargo fix --lib -p starts_fetcher` to apply 1 suggestion) [INFO] [stderr] warning: `starts_fetcher` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] warning: unused import: `cell` [INFO] [stderr] --> src/main.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use prettytable::{Table, row, cell}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `starts_fetcher` (bin "starts_fetcher" test) generated 1 warning (run `cargo fix --bin "starts_fetcher" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/starts_fetcher-3db0a42badad6640) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test ui::selector::tests::test_empty_repos ... ok [INFO] [stdout] test ui::selector::tests::test_repo_display_item ... ok [INFO] [stdout] test ui::selector::tests::test_select_multiple_repos ... ignored, requires user interaction [INFO] [stdout] test ui::selector::tests::test_select_repo ... ignored, requires user interaction [INFO] [stdout] test config::config::tests::test_new_creates_default_config ... ok [INFO] [stdout] test config::config::tests::test_new_uses_environment_variable ... ok [INFO] [stdout] test config::config::tests::test_new_loads_existing_config ... ok [INFO] [stdout] test config::config::tests::test_env_var_overrides_empty_token ... ok [INFO] [stdout] test api::repos::tests::test_list_repos_error ... ok [INFO] [stdout] test api::repos::tests::test_download_repo ... FAILED [INFO] [stdout] test api::repos::tests::test_list_repos ... ok [INFO] [stdout] test api::stars::tests::test_star_repo ... ok [INFO] [stdout] test api::repos::tests::test_get_repo ... ok [INFO] [stdout] test api::stars::tests::test_is_starred_true ... ok [INFO] [stdout] test api::repos::tests::test_get_repo_not_found ... ok [INFO] [stdout] test api::stars::tests::test_unstar_repo ... ok [INFO] [stdout] test api::stars::tests::test_is_starred_false ... ok [INFO] [stdout] test api::repos::tests::test_get_repo_details_not_found ... ok [INFO] [stdout] test api::repos::tests::test_get_repo_details ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- api::repos::tests::test_download_repo stdout ---- [INFO] [stdout] Download error: Err("Failed to clone repository: Cloning into '/tmp/.tmpoyRsJB'...\nfatal: unable to access 'https://github.com/octocat/Hello-World.git/': Could not resolve host: github.com\n") [INFO] [stdout] [INFO] [stdout] thread 'api::repos::tests::test_download_repo' (25) panicked at src/api/repos.rs:371:9: [INFO] [stdout] assertion failed: result.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fb83040bbd2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fb83040bbd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fb83040bbd2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fb83040bbd2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fb83041e16f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fb83041e16f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5fb8303d61f1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fb8303d61f1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fb8303e3c62 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fb8303e8d7f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fb8303e8c11 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5fb82f91200e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5fb82f91200e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fb8303e94ef - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5fb8303e94ef - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5fb8303e9266 - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5fb8303e3da9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fb8303c93bd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5fb830428eb0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5fb830428e8c - core::panicking::panic::h5b3f22493728bee0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5fb82f89fcd8 - starts_fetcher::api::repos::tests::test_download_repo::{{closure}}::hf3249f16709e7493 [INFO] [stdout] at /opt/rustwide/workdir/src/api/repos.rs:371:9 [INFO] [stdout] 21: 0x5fb82f8c5032 - as core::future::future::Future>::poll::h2447d9f7fdce9434 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x5fb82f8c506d - as core::future::future::Future>::poll::hbe93972d3212b73c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x5fb82f8e321d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h54be00bb4da5ce7e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 24: 0x5fb82f8e2fcb - tokio::runtime::coop::with_budget::hcbaff6a435db83e8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x5fb82f8e2fcb - tokio::runtime::coop::budget::he74ae773fe22988b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x5fb82f8e2fcb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h20bad6a4a7494a33 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 27: 0x5fb82f8e05c0 - tokio::runtime::scheduler::current_thread::Context::enter::h95abaefc2e883412 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 28: 0x5fb82f8e2680 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h5caf9ce23981b224 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 29: 0x5fb82f8e1884 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h6e4d0d4dd53c6acb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 30: 0x5fb82f8c470b - tokio::runtime::context::scoped::Scoped::set::h3925924f98169c00 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x5fb82f8bba79 - tokio::runtime::context::set_scheduler::{{closure}}::h967fcd381b74a900 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:38 [INFO] [stdout] 32: 0x5fb82f8b2be2 - std::thread::local::LocalKey::try_with::h324d9c9a9e178312 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 33: 0x5fb82f8b272e - std::thread::local::LocalKey::with::ha95223ec9b15a0bb [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 34: 0x5fb82f8bba2d - tokio::runtime::context::set_scheduler::h7b5a884656d3475e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:17 [INFO] [stdout] 35: 0x5fb82f8e1210 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h5af65f2fd0a2d42d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 36: 0x5fb82f8e1923 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::he4435c71c6d3ab8e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 37: 0x5fb82f8dfb93 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h7e8fbd71f602380e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 38: 0x5fb82f8d6310 - tokio::runtime::context::runtime::enter_runtime::h37e0a97b6869bb8d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x5fb82f8df5e1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h8772c1786ff7856f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 40: 0x5fb82f8df014 - tokio::runtime::runtime::Runtime::block_on_inner::h1f154b8fb70dafb6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 41: 0x5fb82f8df2e7 - tokio::runtime::runtime::Runtime::block_on::h705b3750c7befc97 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 42: 0x5fb82f89f362 - starts_fetcher::api::repos::tests::test_download_repo::h61b197f4e1cc6474 [INFO] [stdout] at /opt/rustwide/workdir/src/api/repos.rs:377:88 [INFO] [stdout] 43: 0x5fb82f89f3f7 - starts_fetcher::api::repos::tests::test_download_repo::{{closure}}::hb4ca10cd1cc274d5 [INFO] [stdout] at /opt/rustwide/workdir/src/api/repos.rs:343:34 [INFO] [stdout] 44: 0x5fb82f8e49e6 - core::ops::function::FnOnce::call_once::h4905e7e4def6ecba [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x5fb82f911dcb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x5fb82f911dcb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 47: 0x5fb82f9278b5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 48: 0x5fb82f9278b5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 49: 0x5fb82f9278b5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 50: 0x5fb82f9278b5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 51: 0x5fb82f9278b5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x5fb82f9278b5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 53: 0x5fb82f9278b5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 54: 0x5fb82f8fe224 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 55: 0x5fb82f8fe224 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 56: 0x5fb82f901bca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x5fb82f901bca - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 58: 0x5fb82f901bca - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 59: 0x5fb82f901bca - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 60: 0x5fb82f901bca - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x5fb82f901bca - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x5fb82f901bca - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 63: 0x5fb8303ddbff - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 64: 0x5fb8303ddbff - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 65: 0x70d15a28baa4 - [INFO] [stdout] 66: 0x70d15a318a34 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] api::repos::tests::test_download_repo [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "87fe8aa7fe5effe41c2777602329a27361fe9a3628d3e6ee514e09388a635c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fe8aa7fe5effe41c2777602329a27361fe9a3628d3e6ee514e09388a635c03", kill_on_drop: false }` [INFO] [stdout] 87fe8aa7fe5effe41c2777602329a27361fe9a3628d3e6ee514e09388a635c03