| 6 May 2025 |
Brian May | I seem to sometimes get random rust errors building my code inside a Nix flake using Crane. Every attempt to build I get a different error in a different Cargo dependency until it eventually "just works". rustc compiler panics are a regular thing. As is E0080 errors (in random places). Then on my next attempt it compiled successfully like there was nothing ever wrong. Any ideas?
I still have the screen logs, but it just seems so random. Although errors in js-sys and icu_provider are common.
It is more likely to build in the original flake, as opposed to another flake which uses the first flake as an input. Once it builds the second flake can use the cached copy.
This is using rust 1.86.0 and using nix 24.11 | 03:19:24 |
Brian May | * I seem to sometimes get random rust errors building my code inside a Nix flake using Crane. Every attempt to build I get a different error in a different Cargo dependency until it eventually "just works". rustc compiler panics are a regular thing. Also E0080 errors (in random places). Then on my next attempt it compiled successfully like there was nothing ever wrong. Any ideas?
I still have the screen logs, but it just seems so random. Although errors in js-sys and icu_provider are common.
It is more likely to build in the original flake, as opposed to another flake which uses the first flake as an input. Once it builds the second flake can use the cached copy.
This is using rust 1.86.0 and using nix 24.11 | 03:20:31 |
@curid:matrix.org | oom? | 05:28:42 |
Brian May | That is a theory I had. But I suspect that is extremely unlikely on this machine with 128GB ram :-)
total used free shared buff/cache available
Mem: 125Gi 77Gi 43Gi 221Mi 7.9Gi 48Gi
Swap: 511Gi 7.9Gi 504Gi
| 05:34:21 |
@curid:matrix.org | how big is the tmp directory? | 05:34:55 |
Brian May | # df -h /tmp
Filesystem Size Used Avail Use% Mounted on
rpool/nixos 2.8T 165M 2.8T 1% /
Think that should be fine. Unless I missed something. It is zfs. Hmm. Wonder if that could be significant. Didn't think of that.
| 05:35:49 |
oak 🏳️🌈♥️ | Could someone invite me to #users:nixos.org please? | 08:38:35 |
oak 🏳️🌈♥️ | I'm annoyed because I cannot join :( | 08:38:53 |
| @federicodschonborn:matrix.org changed their display name from This LEGO© Worm™ is licensed under the terms of the he/him or they/them pronouns, at your choice to This LEGO® Worm™ is licensed under the terms of the he/him or they/them pronouns, at your choice. | 09:13:23 |
K900 | Done | 09:16:33 |
theowlfarm | I would also like an invite please. Why was it made invite only? | 09:34:57 |
Marie | sent you an invite, because of spam attacks | 09:36:28 |
theowlfarm | thank you | 09:36:51 |
| pinkybrain joined the room. | 22:56:36 |
| 7 May 2025 |
| Mr. Defenestrator joined the room. | 08:26:32 |
| itpropro joined the room. | 21:42:54 |
| 8 May 2025 |
| @tebro:matrix.org joined the room. | 05:28:48 |
| isabel changed their profile picture. | 08:57:55 |
| isabel changed their profile picture. | 08:58:02 |
| 98765abc changed their profile picture. | 11:34:41 |
tengkuizdihar | Redacted or Malformed Event | 11:55:08 |
nyanbinary 🏳️⚧️ | https://github.com/NixOS/nixpkgs/pull/404938 | 13:21:21 |
nyanbinary 🏳️⚧️ | So this rust issue is blocking Zed from being updated | 13:21:31 |
nyanbinary 🏳️⚧️ | kinda annoying | 13:21:34 |
@tebro:matrix.org | I made a Matrix account just to follow this problem to see when Zed is getting the new version in. Seems quite complicated. | 13:22:20 |
98765abc | Redacted or Malformed Event | 13:52:47 |
98765abc | * Noob Question.https://github.com/NixOS/nixpkgs/blob/7fc3a8e2a7535fbdea3e31e3cba731c5825f7816/pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch#L41 Is possible to use 'which rustup' to get rustup's
nix-support/ld-wrapper.sh
?
| 13:54:07 |
nyanbinary 🏳️⚧️ | cc: Winter (she/her) | 14:38:35 |
| @saiko:knifepoint.net changed their profile picture. | 18:03:21 |
| 9 May 2025 |
| @saiko:knifepoint.net changed their display name from dblsaiko ⚧︎ 🔪 to Katalin 🔪. | 01:16:45 |