I’m getting an error during nixos-rebuil switch. I’m not sure what to do. This is with a previously working config, it’s just a rebuild after a channel update. Is there some feature I can turn off to avoid the error? Or turn on? And how do I go about finding it?
[464/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/postprocess_pp_mlaa.c.o
RUSTC L rust/kernel.o
[465/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_build.c.o
[466/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_info.c.o
[467/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_dynamic_indexing.c.o
[468/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_from_mesa.c.o
[469/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_iterate.c.o
warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable
--> /build/source/rust/kernel/lib.rs:21:12
|
21 | #![feature(new_uninit)]
| ^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
error[E0658]: use of unstable library feature 'box_uninit_write'
--> /build/source/rust/kernel/alloc/box_ext.rs:25:12
|
25 | Ok(Box::write(b, x))
| ^^^^^^^^^^
|
= note: see issue #129397 <https://github.com/rust-lang/rust/issues/129397> for more information
= help: add `#![feature(box_uninit_write)]` to the crate attributes to enable
= note: this compiler was built on 2024-10-15; consider upgrading it if it is out of date
[470/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_parse.c.o
[471/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_sanity.c.o
[472/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_point_sprite.c.o
[473/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_dump.c.o
[474/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_lowering.c.o
[475/1478] Compiling C object src/gallium/auxiliary/libgallium.a.p/tgsi_tgsi_strings.c.o
error: aborting due to 1 previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0658`.
make[3]: *** [../rust/Makefile:413: rust/kernel.o] Error 1
make[2]: *** [/build/source/Makefile:1213: prepare] Error 2
make[1]: *** [/build/source/Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/build/source/build'
make: *** [Makefile:240: __sub-make] Error 2
error: builder for '/nix/store/gpkrdsg012byrrjvi1ns41jkshdr6gw8-linux-6.10.6-asahi.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/kfj6k6ml5wdhdj1kda7wc1ljp7cdigb7-nixos-system-sasahi-24.11pre703931.4aa36568d413.drv' failed to build
error:
… while calling the 'head' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1:35741:
… while evaluating the attribute 'value'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:1:33591:
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: 1 dependencies of derivation '/nix/store/lzbgir15bd8qkw58zpiiqivi86w09r4s-references.nix.drv' failed to build