Our Personal Data Server from scratch! tranquil.farm

New Build Failure #681

Closed nel.pet
Closed opened by nel.pet

I am currently using commit c0a067b which works fine, but trying to upgrade to the latest main commit causes a build failure, the log snippet shows:

tranquil-pds> Running phase: buildPhase
tranquil-pds> Executing cargoBuildHook
tranquil-pds> cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline --profile release
tranquil-pds> error: rustc 1.99.0 is not supported by the following packages:
tranquil-pds>   reqx@0.2.14 requires rustc 1.99.1
tranquil-pds>   s3@0.1.38 requires rustc 1.99.1
tranquil-pds> Either upgrade rustc or select compatible dependency versions with
tranquil-pds> `cargo update <name>@<current-ver> --precise <compatible-ver>`
tranquil-pds> where `<compatible-ver>` is the latest version supporting rustc 1.99.0
tranquil-pds> 
error: Cannot build '/nix/store/vwymr7jx1dvbd3wlmpq4ckiyh5qv24n5-tranquil-pds-0.7.1.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/h0nqyf1mgpav3c2cpcl8b9kfhnm9kh4p-tranquil-pds-0.7.1

For now I have pointed my flake at c0a067b to continue building correctly as I am working on something else.

Yea this is/was known. We updated to some crates that depend on rust 1.99.1 to get some security fixes but nixpkgs hadn't finished updating to 1.99.1 at the time. It's still not hit nixpkgs-unstable yet but I temporarily moved us over to nixos-unstable where it has landed. Latest main should work for you now.

Sign up or Sign in to add to the discussion.