Skip to content

Install Fail: DNS Error #2181

@amsitlab

Description

@amsitlab
cargo binstall --verbose --log-level debug [email protected]

DEBUG using (/data/data/com.termux/files/home/.local/share/cargo) as cargo home
DEBUG Using install path: /data/data/com.termux/files/home/.local/share/cargo/bin
INFO resolve: Resolving package: 'lux-cli@=0.6.0'
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}: Downloading from: 'https://index.crates.io/config.json'
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}:new_resolver: Using system DNS resolver configuration
INFO resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}: Received timeout error from reqwest. Delay future request by 200ms
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}: server-side rate limit exceeded; sleeping.
DEBUG get_target_from_rustc()=Some("aarch64-linux-android")
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}:new_resolver: Using system DNS resolver configuration
INFO resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}: Received timeout error from reqwest. Delay future request by 200ms
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}: server-side rate limit exceeded; sleeping.
DEBUG resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}:new_resolver: Using system DNS resolver configuration
INFO resolve:fetch_crate_matched{crate_name="lux-cli" registry_url=https://index.crates.io/ version_req==0.6.0}:do_send_request{request=Request { method: GET, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("index.crates.io")), port: None, path: "/config.json", query: None, fragment: None }, headers: {} } url=https://index.crates.io/config.json}: Received timeout error from reqwest. Delay future request by 200ms
DEBUG run time: 814.544635ms
ERROR Fatal error:
�[31m�[0m For crate lux-cli: could not GET https://index.crates.io/
�[31m│�[0m config.json: error sending request
�[31m ├─▶ �[0mcould not GET https://index.crates.io/config.json: error
�[31m │ �[0msending request
�[31m ├─▶ �[0merror sending request
�[31m ├─▶ �[0mclient error (Connect)
�[31m ├─▶ �[0mdns error
�[31m ╰─▶ �[0mproto error: io error: No such file or directory (os error
�[31m �[0m2)

Note

The command below was successfull:

curl -LO https://index.crates.io/config.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions