Skip to content

[bug]: failed to run custom build command for tdlib-rs v1.1.0 #165

@Tony-Rain

Description

@Tony-Rain

Describe the bug

the project is not being compiled

Reproduction steps

...

Expected behavior

Logs and screenshots

error: failed to run custom build command for tdlib-rs v1.1.0

Caused by:
process didn't exit successfully: /tmp/cargo-installDm2KlS/release/build/tdlib-rs-056355f50fec7c4c/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs

--- stderr

thread 'main' panicked at /home/tony/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tdlib-rs-1.1.0/build.rs:167:40:
called Result::unwrap() on an Err value: reqwest::Error { kind: Decode, source: TimedOut }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for tdlib-rs v1.1.0

Caused by:
process didn't exit successfully: /tmp/cargo-installDm2KlS/release/build/tdlib-rs-056355f50fec7c4c/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs

--- stderr

thread 'main' panicked at /home/tony/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tdlib-rs-1.1.0/build.rs:167:40:
called Result::unwrap() on an Err value: reqwest::Error { kind: Decode, source: TimedOut }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: failed to compile tgt v1.0.0, intermediate artifacts can be found at /tmp/cargo-installDm2KlS.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Method of Installation

Cargo

tgt version

v1.0.0

Operating System (including version and architecture)

Ubuntu 24.04

Terminal and Command Line Interface (CLI) (including versions)

Gnome Terminal

rustc and rustup target (including versions)

rustup 1.28.2 (e4f3ad6f8 2025-04-28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions