!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

641 Members
Rust147 Servers

Load older messages


SenderMessageTime
11 Aug 2025
@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
@emilazy:matrix.orgemilyuh15:36:42
@emilazy:matrix.orgemilyok, but then I applied your patch again and it's back to failing15:36:47
@emilazy:matrix.orgemilyso I guess it just worked once and then I ^C'd half-way through and tried another build and it re-broke :)15:36:56
@tomasajt:matrix.orgTomahell yeah i love consistency15:37:06
@emilazy:matrix.orgemily I'm doubting this is a bug in your code rather than a VM/passta issue 15:37:10
@emilazy:matrix.orgemilywait no15:37:24
@tomasajt:matrix.orgTomain any case, the timeout logic is better with my PR15:37:31
@emilazy:matrix.orgemilyyeah ok no it's working with your patch15:37:33
@emilazy:matrix.orgemilyand not timing out15:37:38
@emilazy:matrix.orgemilyI don't understand why15:37:44
@emilazy:matrix.orgemilyyes I do15:38:17
@emilazy:matrix.orgemilyor at least I have a very good guess15:38:19
@emilazy:matrix.orgemily
[builder@virby-vm:~]$ ping google.com
PING google.com (142.250.140.113) 56(84) bytes of data.
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=1 ttl=114 time=10.1 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=2 ttl=114 time=9.36 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=3 ttl=114 time=9.04 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=4 ttl=114 time=9.57 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=5 ttl=114 time=9.75 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=6 ttl=114 time=9.29 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=7 ttl=114 time=9.16 ms
64 bytes from wj-in-f113.1e100.net (142.250.140.113): icmp_seq=8 ttl=114 time=10.5 ms
^C
--- google.com ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7033ms
rtt min/avg/max/mdev = 9.043/9.599/10.544/0.475 ms

[builder@virby-vm:~]$ ping ipv6.google.com
PING ipv6.google.com (2a00:1450:4009:81e::200e) 56 data bytes
15:38:27
@emilazy:matrix.orgemilyI bet your changes help it fall back to v415:38:37
@tomasajt:matrix.orgTomano idea15:38:56
@tomasajt:matrix.orgToma the main change was actually specifying timeouts via with session.get(url, stream=True, timeout=(CONNECT_TIMEOUT, **READ_TIMEOUT)) 15:39:15
@tomasajt:matrix.orgTomaand also changing the task cancellation logic15:39:24
@tomasajt:matrix.orgTomabut if it's not even timing out, then IDK15:39:34

Show newer messages


Back to Room ListRoom Version: 6