this derivation will be built: /nix/store/5hmaxn1vsnrm2cya2ar3l1jjhj2jznxf-bcachefs-module-7.0.14-12-pve.drv building '/nix/store/5hmaxn1vsnrm2cya2ar3l1jjhj2jznxf-bcachefs-module-7.0.14-12-pve.drv'... error: Cannot build '/nix/store/5hmaxn1vsnrm2cya2ar3l1jjhj2jznxf-bcachefs-module-7.0.14-12-pve.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/jdn6a5ljj1fasajg7qknznj23dwsbgz6-bcachefs-module-7.0.14-12-pve Last 25 log lines: > | > 25 | pub fn to_compile_error(&self) -> TokenStream { > | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: consider restricting its visibility: `pub(crate)` > > error[E0463]: can't find crate for `core` > | > = note: the `target` target may not be installed > = help: consider downloading the target with `rustup target add target` > = help: consider building the standard library from source with `cargo build -Zbuild-std` > > error: aborting due to 1 previous error > > For more information about this error, try `rustc --explain E0463`. > make[5]: *** [src/fs/bcachefs/Makefile:440: src/fs/bcachefs/bitflags.o] Error 1 > warning: 8 warnings emitted > > make[4]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.0.14-12-pve/scripts/Makefile.build:548: src/fs/bcachefs] Error 2 > make[3]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.0.14-12-pve/Makefile:2134: .] Error 2 > make[2]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.0.14-12-pve/Makefile:248: __sub-make] Error 2 > make[2]: Leaving directory '/build/bcachefs-dkms-src' > make[1]: *** [Makefile:248: __sub-make] Error 2 > make[1]: Leaving directory '/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.0.14-12-pve' > make: *** [Makefile:18: default] Error 2 For full logs, run: nix log /nix/store/5hmaxn1vsnrm2cya2ar3l1jjhj2jznxf-bcachefs-module-7.0.14-12-pve.drv