these 3 derivations will be built: /nix/store/k166h1g8kdlac02xhp0s3a8sf9ldsra4-treefmt.toml.drv /nix/store/cd0r9mgqxr8mk4mx4bng6jlda4m5a4y9-treefmt.drv /nix/store/b463sr9xqbdnc0cjd104mdl9fa3zhm46-treefmt-check.drv these 40 paths will be fetched (156.4 MiB download, 1.2 GiB unpacked): /nix/store/xrnlavkjfxarwxzqh7vk3yjbva16rpbc-clang-21.1.2 /nix/store/kl4w4f8bb77faahsdv40gjmfzg2d081d-clang-21.1.2-lib /nix/store/n0pl3y0x06zgxq4a65bslvaqy3rn0j8f-clang-tools-21.1.2 /nix/store/sqlnjj8c3n3si3sjnadhdbcwgrk97g2w-clang-wrapper-21.1.2 /nix/store/rckafkh916d8hd4642n2hzywa7sf1npp-deadnix-1.3.1 /nix/store/kcyldn3kr3isccbr3l66q0zmkgzad6d1-deno-2.6.3 /nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194 /nix/store/4qhdhmi7pzgad0zfd7c5lsg235mbf9hv-git-2.51.2 /nix/store/pbpaldw534z1bwrxns5ah98adpwwk9ck-git-lfs-3.7.1 /nix/store/54jkwsavi3fdciqfyjmbilq0jhvv4jga-gmp-with-cxx-6.3.0 /nix/store/148w3ssbgc4wf6xcp6j0s5vy5mz41i8y-iana-etc-20250505 /nix/store/297k82b8m9fvkw727w4xn9z4qip46cgh-jemalloc-5.3.0-unstable-2025-09-12 /nix/store/64q3424klqaq5bq409nrmjmiyrs04k2a-json-c-0.18 /nix/store/vg0afp6lmdrs4li4q4viry8blf5pbjrr-libyaml-0.2.5 /nix/store/szjqgwcv0c593fvrjgdw4zszd5fx4p0m-nixfmt-1.1.0 /nix/store/gdni20c8009xdz8gms6yn1r2hfhmk1jk-numactl-2.0.18 /nix/store/r7cs2cad91rsrbl9a9xh4403jgq720gy-python3.13-cbor2-5.7.0 /nix/store/2vk5kpv1zvn41nhppjnqd555lv3kd8kx-python3.13-colorama-0.4.6 /nix/store/406b79klgsd5s9hz3qbdp9xbcbpn0in6-python3.13-flit-core-3.12.0 /nix/store/fa7kh9s8mn4vk6xk6g3l5657zza43i30-python3.13-markdown-it-py-3.0.0 /nix/store/mglpc180hphlv98w29ldx6fgavxwz428-python3.13-mdurl-0.1.2 /nix/store/9c86vkfs0idys4vhp35bjvz276g0mfmc-python3.13-mypy-1.17.1 /nix/store/41aj9k3h856ikl17hwqjd6js74panv64-python3.13-mypy-extensions-1.1.0 /nix/store/ssjyr57prs6vykfvzs3srvcm7nvqc9mk-python3.13-pathspec-0.12.1 /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2 /nix/store/nrqf7kmlhisk754q80bkcrgzga54bvz9-python3.13-python-dateutil-2.9.0.post0 /nix/store/yv88fk5ya2c35gbady8ssmg3l92k4vki-python3.13-pyyaml-6.0.3 /nix/store/7gss3axgxr5h3d4zq4ykryg2wq411qpb-python3.13-remarshal-1.2.0 /nix/store/xnp6l19q5b8qgxfx2hlrlsmixfn59533-python3.13-rich-14.1.0 /nix/store/5b806arkfpznywa5b5cp0h2pr31nzhfg-python3.13-rich-argparse-1.7.1 /nix/store/fxbffn4g9z7l4livi6wm48yb162bc1ga-python3.13-ruamel-base-1.0.0 /nix/store/prpbn02py0x7xgb4fk1xmgzghix6wnxb-python3.13-ruamel-yaml-0.18.14 /nix/store/zs5kbqpr3dj8rb4szgrp1l3pnl03la6d-python3.13-ruamel-yaml-clib-0.2.12 /nix/store/89kp5ww3adl1fgcm41k357ky6vnqsy92-python3.13-six-1.17.0 /nix/store/j5bq6balpx7l4lhdj7z89z0xvb7w722k-python3.13-tomlkit-0.13.3 /nix/store/1m2hgwaar1fmvjkr9jl992yg95h79yw7-python3.13-typing-extensions-4.15.0 /nix/store/kzzkd7nynly3yllcf64ql7w88bx2i8dn-python3.13-u-msgpack-python-2.8.0 /nix/store/7xva92dr1p9s81f0wsrvm3jmc5b5p4mw-ruff-0.14.9 /nix/store/rkjabsxaza38l5msg0qcir6ypprnvbb1-treefmt-2.4.0 /nix/store/xc4xbvx0jl2xhx1gl1x6xdmf9s9lsp8d-yamlfmt-0.20.0 building '/nix/store/k166h1g8kdlac02xhp0s3a8sf9ldsra4-treefmt.toml.drv' treefmt.toml> building '/nix/store/cd0r9mgqxr8mk4mx4bng6jlda4m5a4y9-treefmt.drv' building '/nix/store/b463sr9xqbdnc0cjd104mdl9fa3zhm46-treefmt-check.drv' treefmt-check> treefmt v2.4.0traversed 51 files treefmt-check> emitted 42 files for processing treefmt-check> formatted 42 files (1 changed) in 415ms treefmt-check> M src/nix-eval-jobs.cc treefmt-check> diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc treefmt-check> index c4c9081..7b2be0f 100644 treefmt-check> --- a/src/nix-eval-jobs.cc treefmt-check> +++ b/src/nix-eval-jobs.cc treefmt-check> @@ -37,8 +37,8 @@ treefmt-check> #include treefmt-check> #include treefmt-check> #ifdef __linux__ treefmt-check> -# include treefmt-check> -# include treefmt-check> +#include treefmt-check> +#include treefmt-check> #endif treefmt-check> #include treefmt-check> #include treefmt-check> @@ -539,8 +539,9 @@ auto main(int argc, char **argv) -> int { treefmt-check> if (unshare(CLONE_NEWNS) == -1) { treefmt-check> throw nix::SysError("setting up a private mount namespace"); treefmt-check> } treefmt-check> - } catch (nix::Error & e) { treefmt-check> - nix::warn("failed to set up a private mount namespace: %s", e.msg()); treefmt-check> + } catch (nix::Error &e) { treefmt-check> + nix::warn("failed to set up a private mount namespace: %s", treefmt-check> + e.msg()); treefmt-check> } treefmt-check> } treefmt-check> #endif error: Cannot build '/nix/store/b463sr9xqbdnc0cjd104mdl9fa3zhm46-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/rj95adgwfmmghm93g3b0yglvag2vx5w2-treefmt-check Last 25 log lines: > --- a/src/nix-eval-jobs.cc > +++ b/src/nix-eval-jobs.cc > @@ -37,8 +37,8 @@ > #include > #include > #ifdef __linux__ > -# include > -# include > +#include > +#include > #endif > #include > #include > @@ -539,8 +539,9 @@ auto main(int argc, char **argv) -> int { > if (unshare(CLONE_NEWNS) == -1) { > throw nix::SysError("setting up a private mount namespace"); > } > - } catch (nix::Error & e) { > - nix::warn("failed to set up a private mount namespace: %s", e.msg()); > + } catch (nix::Error &e) { > + nix::warn("failed to set up a private mount namespace: %s", > + e.msg()); > } > } > #endif For full logs, run: nix log /nix/store/b463sr9xqbdnc0cjd104mdl9fa3zhm46-treefmt-check.drv