!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
9 Aug 2025
@dmitrii_s:matrix.orgdmitrii_s joined the room.16:09:51
10 Aug 2025
@theeasternfurry:beautifulblossomgarden.io.vntheeasternfurry joined the room.02:31:17
@yuzuki:matrix.kikuri.moeyuzuki joined the room.09:12:09
11 Aug 2025
@emilazy:matrix.orgemily Toma: is it expected that fetchCargoVendor is super slow or is something weird about my setup? 13:46:41
@tomasajt:matrix.orgToma It is not that speed-optimized, but I don't think it should be that slow. What do you mean by super slow? 1 crate / second? 13:50:14
@emilazy:matrix.orgemilylike waiting >15 minutes for a <2000 line Cargo.lock file to download13:53:14
@emilazy:matrix.orgemilythis is inside a Linux VM remote builder, so it is possible something is screwy there13:53:29
@emilazy:matrix.orgemilyjust wanted to check if I should be surprised or not13:53:41
@emilazy:matrix.orgemily seems it's getting completely stuck on the first tarball it fetches. I have no idea why. downloads instantly with curl inside the VM. might be a Lix passta thing. it fetches a Git repo successfully before that. hmm. I could swear it was just being really slow but not totally hanging yesterday 15:06:43
@emilazy:matrix.orgemily it seems like session.get(…) is never returning 15:06:49
@benjaminsparks:chat.alugha.appBen SparksI'd observed this before as well for a few days back in May / June I think. The vendoring process would slow to a crawl15:14:21
@emilazy:matrix.orgemily
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): crates.io:443

and then nothing. fun

15:14:24
@emilazy:matrix.orgemilyis that the same building-Linux-package-in-remote-builder-VM-on-macOS config?15:14:50
@benjaminsparks:chat.alugha.appBen SparksI think it was; currently trying to find old messages of mine where I had asked in one nix-related channel if crates.io rate-limited15:16:18
@emilazy:matrix.orgemily May / June makes passta an unlikely culprit too (unless it was late June and you use Lix) 15:17:02
@benjaminsparks:chat.alugha.appBen Sparks
$ nix --version
nix (Lix, like Nix) 2.91.3
15:17:34
@emilazy:matrix.orgemilyon the builder VM too? :)15:17:54
@emilazy:matrix.orgemilywould depend on exact timing then I suppose15:18:12
@benjaminsparks:chat.alugha.appBen SparksI wouldn't rely on this timespan btw until I find further proof of when the issues occurred. I also never found out why this happened; it just "went away" at some point15:19:20
@tomasajt:matrix.orgToma

emily: could you try with the changes in this PR: https://github.com/NixOS/nixpkgs/pull/400865

(while testing if you only build cargoDeps.vendorStaging you won't have many rebuilds)

15:33:57
@tomasajt:matrix.orgTomaCurrently the timeout logic in fetchCargoVendor is pretty bad (not even sure if it's working properly) and this tries to fix it, while also doing some general improvements (at least it tries to)15:34:55
@tomasajt:matrix.orgToma* Currently the timeout logic in fetchCargoVendor is pretty bad (not even sure if it's working properly) and this tries to fix it, while also doing some general improvements15:35:05
@emilazy:matrix.orgemilyunfortunately I rebooted the VM and it fixed it 😅15:35:45
@emilazy:matrix.orgemilybut I will try this next time15:35:47
@k900:0upti.meK900Any reason we're not just doing async at this point15:35:52
@k900:0upti.meK900Feels like it'll make things significantly less painful15:35:59
@emilazy:matrix.orgemilyoh wait15:36:04
@emilazy:matrix.orgemilyit worked after applying your patch and I assumed that was because I rebooted15:36:16
@emilazy:matrix.orgemilybut it fails again if I revert your patch15:36:20
@emilazy:matrix.orgemilywell, hangs again15:36:25

Show newer messages


Back to Room ListRoom Version: 6