Skip to content

Rust update broke all of my projects. Cannot build due to spurious network error #14517

Open

Description

I tried this code:

building my project
https://github.com/Nordgaren/pe-util
https://github.com/Nordgaren/memory-mirror
https://github.com/Nordgaren/fisherman
https://github.com/Nordgaren/tabstate-util

The list goes on

I expected to see this happen: explanation

I expected it to build

Instead, this happened: explanation

Execution failed (exit code 101).
C:/Users/Nordgaren/.cargo/bin/cargo.exe metadata --verbose --format-version 1 --all-features --filter-platform x86_64-pc-windows-msvc
    in working directory: C:\Users\Nordgaren\source\Rust\pe-util
    with extra environment variables: CARGO_TERM_PROGRESS_WHEN=always TERM=ansi RUSTC=C:\Users\Nordgaren\.cargo\bin\rustc.exe RUST_BACKTRACE=short CARGO_TERM_PROGRESS_WIDTH=80
stdout:     Blocking waiting for file lock on package cache
    Updating git repository `https://github.com/Nordgaren/encoded-pointer.git`
warning: spurious network error (3 tries remaining): failed to send request: A connection with the server could not be established
; class=Os (2)
warning: spurious network error (2 tries remaining): failed to send request: A connection with the server could not be established
; class=Os (2)
warning: spurious network error (1 tries remaining): failed to send request: A connection with the server could not be established
; class=Os (2)
error: failed to get `encoded-pointer` as a dependency of package `pe-util v0.1.0 (C:\Users\Nordgaren\source\Rust\pe-util)`

Caused by:
  failed to load source for dependency `encoded-pointer`

Caused by:
  Unable to update https://github.com/Nordgaren/encoded-pointer.git#010e735c

Caused by:
  failed to clone into: C:\Users\Nordgaren\.cargo\git\db\encoded-pointer-22d63338fdd0644f

Caused by:
  failed to send request: A connection with the server could not be established
  ; class=Os (2)

stderr: 

Meta

rustc --version --verbose:

rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: x86_64-pc-windows-msvc
release: 1.80.1
LLVM version: 18.1.7

I don't have a backtrace because I can't even build the projects.

This happend one day after updating rust.
If I go back to an older version of Rust, like 1.75.0, they build fine and don't have this error. I have no idea what I need to do to "Upgrade" my tools, but I keep getting DMs telling me my code doesn't work because other people are apparently having this issue, as well, on newer compiler versions.

What do I need to do? I tried uninstalling Rust completely and re-installing, and that didn't work. I would really like my tools to not be stuck on an old version of Rust for something that seems like it has nothing to do with me.

My tools are just hosted on GitHub, because most of them are not ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-networkingArea: networking issues, curl, etc.Area: networking issues, curl, etc.S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions