!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

684 Members
Rust155 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 May 2025
@penguin_brian:matrix.orgBrian MayI 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.1103:19:24
@penguin_brian:matrix.orgBrian 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@curid:matrix.orgoom?05:28:42
@penguin_brian:matrix.orgBrian 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@curid:matrix.orghow big is the tmp directory?05:34:55
@penguin_brian:matrix.orgBrian 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:universumi.fioak 🏳️‍🌈♥️ Could someone invite me to #users:nixos.org please? 08:38:35
@oak:universumi.fioak 🏳️‍🌈♥️I'm annoyed because I cannot join :(08:38:53
@federicodschonborn:matrix.org@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:0upti.meK900Done09:16:33
@theowlfarm:matrix.orgtheowlfarmI would also like an invite please. Why was it made invite only?09:34:57
@marie:marie.cologneMarie sent you an invite, because of spam attacks 09:36:28
@theowlfarm:matrix.orgtheowlfarmthank you09:36:51
@pinkybrain:matrix.orgpinkybrain joined the room.22:56:36
7 May 2025
@mr.defenestrator:matrix.orgMr. Defenestrator joined the room.08:26:32
@itpropro:matrix.orgitpropro joined the room.21:42:54
8 May 2025
@tebro:matrix.org@tebro:matrix.org joined the room.05:28:48
@isabel:isabelroses.comisabel changed their profile picture.08:57:55
@isabel:isabelroses.comisabel changed their profile picture.08:58:02
@98765abc:mozilla.org98765abc changed their profile picture.11:34:41
@tengkuizdihar:matrix.orgtengkuizdiharRedacted or Malformed Event11:55:08
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️https://github.com/NixOS/nixpkgs/pull/40493813:21:21
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️So this rust issue is blocking Zed from being updated 13:21:31
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️kinda annoying13:21:34
@tebro:matrix.org@tebro:matrix.orgI 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:mozilla.org98765abcRedacted or Malformed Event13:52:47
@98765abc:mozilla.org98765abc *

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
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ cc: Winter (she/her) 14:38:35
@saiko:knifepoint.net@saiko:knifepoint.net changed their profile picture.18:03:21
9 May 2025
@saiko:knifepoint.net@saiko:knifepoint.net changed their display name from dblsaiko ⚧︎ 🔪 to Katalin 🔪.01:16:45

Show newer messages


Back to Room ListRoom Version: 6