these 53 derivations will be built: /nix/store/063230f082nsl5z54hfkw89g7avr95n2-cargo-package-pem-4.0.0.drv /nix/store/14bq86ic5nyy6db00j69hvh073sd41n9-cargo-package-zerovec-derive-0.11.3.drv /nix/store/163chpgn4g3qh042gl23w6mndbicpykr-cargo-package-web-sys-0.3.103.drv /nix/store/1k5p896jw0hincr9l782i3l9rq3ikn3x-cargo-package-yoke-0.8.3.drv /nix/store/258ig39pd44fip2yc3jmpa09yjdgr7ph-cargo-package-x509-parser-0.18.1.drv /nix/store/2gbcx5dl9y66wb5r65mfsljrxqpcl6r3-cargo-package-zerotrie-0.2.4.drv /nix/store/35008hfv9xhjj5y35lzi48bpwasfkrz2-cargo-package-windows_i686_gnullvm-0.52.6.drv /nix/store/36w9r9j216p6l6ixwihfhs3ygk5afaiw-cargo-package-zerocopy-0.8.55.drv /nix/store/3ds4ic9p5vgw2g4i7p3735whgb1q2yr8-cargo-package-webpki-root-certs-1.0.9.drv /nix/store/4pyjdi1r4z3dic3xhq764klypvk361cg-cargo-package-bit-vec-0.9.1.drv /nix/store/50i3lf6sm5c986d5bylmd6ww7hyr9n4r-cargo-package-zerocopy-derive-0.8.55.drv /nix/store/61yyram707ymqaml875xb0qpw0fyxqwg-replaceCargoLockHook.drv /nix/store/6v0l3wg4abslaf6vkcchjw7pcqq88vp4-cargo-package-windows_x86_64_msvc-0.52.6.drv /nix/store/7bx7gzqf7xq4v3vvmwkpmqg49qm1xqss-cargo-package-yasna-0.6.0.drv /nix/store/7q8qm42yndcfrvqa184fglkq4sk4jjs5-cargo-package-windows_x86_64_gnullvm-0.52.6.drv /nix/store/8fsxqrqchzv1xbcl7wdvxl6ymgv5hgrj-cargo-package-zerofrom-derive-0.1.7.drv /nix/store/ag6qi67qqgq5wxaha3j76sx6p6kdcv22-cargo-package-oid-registry-0.8.1.drv /nix/store/bc0328gxdsb27wwjf4arvgs196pnq1hi-cargo-package-yoke-derive-0.8.2.drv /nix/store/ci634l1wszh002g09j21037k74bqkzbf-cargo-package-rusticata-macros-4.1.0.drv /nix/store/ck4dj8ypld7kv567iq8j9sgp3sbsdf0d-cargo-package-minimal-lexical-0.2.1.drv /nix/store/d1c4my6i3242rbrz13cv609j5q3ixidf-cargo-package-zeroize-1.9.0.drv /nix/store/d9c1zy8dkxsvjxppryh60m2n7b6kl3ck-cargo-package-base64-0.23.1.drv /nix/store/ddh7y7yq4332mh9z3palacnlswn1w5lh-cargo-package-nom-7.1.3.drv /nix/store/fx209zsvmkwi4c2m7jln54ara47qwwnf-cargo-package-writeable-0.6.3.drv /nix/store/gcck692hj3msxb7b71c90cybwj9gx7dr-cargo-package-zmij-1.0.23.drv /nix/store/gd44h8fgix4v2q7cxvhjqjy1n9sx5r0l-cargo-package-web-time-1.1.0.drv /nix/store/gv7rqh6agl5f8bl0hxbhc56m5mv1s2mk-cargo-package-rcgen-0.14.10.drv /nix/store/gw8hcwhg91ij7iqmzdbiarrmcfdk3c43-cargo-package-windows_x86_64_gnu-0.52.6.drv /nix/store/hdivacazidab6q4mgsk5hgpm3dj3kw28-cargo-package-windows_i686_msvc-0.52.6.drv /nix/store/hpjkk1wrzdbziygfpm09ip0ljb9r9271-cargo-package-asn1-rs-impl-0.2.0.drv /nix/store/k2jji09v68ajimnw2b0g9lfib7308m5i-cargo-package-zstd-0.13.3.drv /nix/store/l2ycrswpw2pvrn9in4dxhf0b4mx748dz-cargo-package-windows_aarch64_msvc-0.52.6.drv /nix/store/l4j0iksq6rvwj3jfa55fix72sni0hji6-cargo-package-winapi-util-0.1.11.drv /nix/store/l4jc6hpgq95gf4jya020vc0ghqrrvbdp-cargo-package-windows-targets-0.52.6.drv /nix/store/mi4fcfwl5z8pd9xgk67laxp77a2mpp26-cargo-package-windows_aarch64_gnullvm-0.52.6.drv /nix/store/nb74ivlf8ghagkdpgj0czfw4j138klp6-cargo-package-zstd-safe-7.3.0.drv /nix/store/nhrcibc8jpgba3j977qjqxdh6226qlly-cargo-package-zerovec-0.11.6.drv /nix/store/nvni4crq3vwpiyfavp3sj7fc7ikpgjfn-cargo-package-windows-link-0.2.1.drv /nix/store/q213084hp7b2j3wyc4970rr1bfnglggn-cargo-package-zerofrom-0.1.8.drv /nix/store/q6rjxy5irkh65aw3iga74bsh9icbysvf-cargo-package-windows_i686_gnu-0.52.6.drv /nix/store/r5mg0m9790qs7ah4244zn6jlz36ac5i5-cargo-package-der-parser-10.0.0.drv /nix/store/xhcrk9w2jlkz4dw6drc9kzwmy5lj9hmr-cargo-package-asn1-rs-0.7.2.drv /nix/store/y0rmcaga59g3nn8prpgrn618wkz67dir-cargo-package-windows-sys-0.52.0.drv /nix/store/zhl8w0a9rajd1kfrzg7lawpjmflmrc9f-cargo-package-winnow-0.7.15.drv /nix/store/zxgblcbx7hdmnvmg4rp2diw5xn8xkfgw-cargo-package-windows-sys-0.61.2.drv /nix/store/zxvdl7inanxls5nh653qx42hzhah2vi3-cargo-package-asn1-rs-derive-0.6.0.drv /nix/store/hm4w92n7sd18hg4lshk1yg3v0r2m5hn0-vendor-registry.drv /nix/store/9c5y0bjjhximjfa56nl7a2hbcn39klqi-vendor-cargo-deps.drv /nix/store/k41s3zgk2gpqq8k5wq4azj2j7hf8f33i-cargoHelperFunctionsHook.drv /nix/store/raiqhcbb7d509www4i2dgzli665xh3dj-Cargo.toml.drv /nix/store/why8l23p7x09n1xihfly7hw5sz054wy8-source.drv /nix/store/9m0asjxx2h7lzbwd02ydppdy4zznch0f-herdr-eternal-deps-0.1.0.drv /nix/store/dr7jai0cik59hakyasrkwwqgq3ssp2h3-herdr-eternal-clippy-0.1.0.drv building '/nix/store/xhcrk9w2jlkz4dw6drc9kzwmy5lj9hmr-cargo-package-asn1-rs-0.7.2.drv' building '/nix/store/4pyjdi1r4z3dic3xhq764klypvk361cg-cargo-package-bit-vec-0.9.1.drv' building '/nix/store/ddh7y7yq4332mh9z3palacnlswn1w5lh-cargo-package-nom-7.1.3.drv' building '/nix/store/063230f082nsl5z54hfkw89g7avr95n2-cargo-package-pem-4.0.0.drv' cargo-package-asn1-rs-0.7.2> Running phase: unpackPhase building '/nix/store/raiqhcbb7d509www4i2dgzli665xh3dj-Cargo.toml.drv' cargo-package-asn1-rs-0.7.2> setting SOURCE_DATE_EPOCH to timestamp 1153704088 of file "./crate/tests/x509.rs" cargo-package-asn1-rs-0.7.2> Running phase: patchPhase cargo-package-asn1-rs-0.7.2> Running phase: updateAutotoolsGnuConfigScriptsPhase cargo-package-bit-vec-0.9.1> Running phase: unpackPhase cargo-package-bit-vec-0.9.1> setting SOURCE_DATE_EPOCH to timestamp 1153704088 of file "./crate/src/lib.rs" cargo-package-asn1-rs-0.7.2> Running phase: installPhase cargo-package-bit-vec-0.9.1> Running phase: patchPhase cargo-package-nom-7.1.3> Running phase: unpackPhase cargo-package-bit-vec-0.9.1> Running phase: updateAutotoolsGnuConfigScriptsPhase cargo-package-bit-vec-0.9.1> Running phase: installPhase building '/nix/store/why8l23p7x09n1xihfly7hw5sz054wy8-source.drv' cargo-package-nom-7.1.3> setting SOURCE_DATE_EPOCH to timestamp 1153704088 of file "./crate/tests/reborrow_fold.rs" cargo-package-nom-7.1.3> Running phase: patchPhase cargo-package-nom-7.1.3> Running phase: updateAutotoolsGnuConfigScriptsPhase cargo-package-nom-7.1.3> Running phase: installPhase cargo-package-pem-4.0.0> Running phase: unpackPhase cargo-package-pem-4.0.0> setting SOURCE_DATE_EPOCH to timestamp 1153704088 of file "./crate/src/parser.rs" cargo-package-pem-4.0.0> Running phase: patchPhase cargo-package-pem-4.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase cargo-package-pem-4.0.0> Running phase: installPhase building '/nix/store/dr7jai0cik59hakyasrkwwqgq3ssp2h3-herdr-eternal-clippy-0.1.0.drv' herdr-eternal-clippy-0.1.0> Running phase: unpackPhase herdr-eternal-clippy-0.1.0> unpacking source archive /nix/store/ky49v8k44hgbqn6chawsd2w0hylf9n86-source herdr-eternal-clippy-0.1.0> source root is source herdr-eternal-clippy-0.1.0> Running phase: patchPhase herdr-eternal-clippy-0.1.0> Executing configureCargoCommonVars herdr-eternal-clippy-0.1.0> decompressing cargo artifacts from /nix/store/w8b929nbh0hbiy5bsz6v02j29c349h9z-herdr-eternal-deps-0.1.0/target.tar.zst to target herdr-eternal-clippy-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase herdr-eternal-clippy-0.1.0> Running phase: configurePhase herdr-eternal-clippy-0.1.0> will append /build/source/.cargo-home/config.toml with contents of /nix/store/s7ky7cap49pnr09cmh3360xchhqiv497-vendor-cargo-deps/config.toml herdr-eternal-clippy-0.1.0> default configurePhase, nothing to do herdr-eternal-clippy-0.1.0> Running phase: buildPhase herdr-eternal-clippy-0.1.0> +++ command cargo --version herdr-eternal-clippy-0.1.0> cargo 1.97.0 (c980f4866 2026-06-30) herdr-eternal-clippy-0.1.0> +++ command cargo clippy --release --locked --all-targets -- -D warnings herdr-eternal-clippy-0.1.0> Checking herdr-eternal-proto v0.1.0 (/build/source/proto) herdr-eternal-clippy-0.1.0> Checking herdr-eternal-server v0.1.0 (/build/source/server) herdr-eternal-clippy-0.1.0> Checking herdr-eternal-ssh v0.1.0 (/build/source/client) herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> client/src/lib.rs:250:17 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 250 | / if agent_channel.is_none() { herdr-eternal-clippy-0.1.0> 251 | | if let (Some(socket), Some(token)) = (&target.agent_socket, &resume_token) { herdr-eternal-clippy-0.1.0> 252 | | agent_channel = Some(AbortOnDrop(tokio::spawn(agent::forward_agent( herdr-eternal-clippy-0.1.0> 253 | | target.clone(), herdr-eternal-clippy-0.1.0> ... | herdr-eternal-clippy-0.1.0> 258 | | } herdr-eternal-clippy-0.1.0> | |_________________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> = note: `-D clippy::collapsible-if` implied by `-D warnings` herdr-eternal-clippy-0.1.0> = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 250 ~ if agent_channel.is_none() herdr-eternal-clippy-0.1.0> 251 ~ && let (Some(socket), Some(token)) = (&target.agent_socket, &resume_token) { herdr-eternal-clippy-0.1.0> 252 | agent_channel = Some(AbortOnDrop(tokio::spawn(agent::forward_agent( herdr-eternal-clippy-0.1.0> ... herdr-eternal-clippy-0.1.0> 256 | )))); herdr-eternal-clippy-0.1.0> 257 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: could not compile `herdr-eternal-ssh` (lib) due to 1 previous error herdr-eternal-clippy-0.1.0> warning: build failed, waiting for other jobs to finish... herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/auth.rs:69:9 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 69 | / if let Some(static_token) = &self.static_token { herdr-eternal-clippy-0.1.0> 70 | | if constant_time_eq(static_token.as_bytes(), presented.as_bytes()) { herdr-eternal-clippy-0.1.0> 71 | | return Ok(()); herdr-eternal-clippy-0.1.0> 72 | | } herdr-eternal-clippy-0.1.0> 73 | | } herdr-eternal-clippy-0.1.0> | |_________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> = note: `-D clippy::collapsible-if` implied by `-D warnings` herdr-eternal-clippy-0.1.0> = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]` herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 69 ~ if let Some(static_token) = &self.static_token herdr-eternal-clippy-0.1.0> 70 ~ && constant_time_eq(static_token.as_bytes(), presented.as_bytes()) { herdr-eternal-clippy-0.1.0> 71 | return Ok(()); herdr-eternal-clippy-0.1.0> 72 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/auth.rs:157:9 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 157 | / if let Some(client_id) = &claims.client_id { herdr-eternal-clippy-0.1.0> 158 | | if client_id != &self.config.client_id { herdr-eternal-clippy-0.1.0> 159 | | return Err(AuthError::WrongClient(client_id.clone())); herdr-eternal-clippy-0.1.0> 160 | | } herdr-eternal-clippy-0.1.0> 161 | | } herdr-eternal-clippy-0.1.0> | |_________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 157 ~ if let Some(client_id) = &claims.client_id herdr-eternal-clippy-0.1.0> 158 ~ && client_id != &self.config.client_id { herdr-eternal-clippy-0.1.0> 159 | return Err(AuthError::WrongClient(client_id.clone())); herdr-eternal-clippy-0.1.0> 160 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/lib.rs:854:17 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 854 | / if exit_code.is_some() { herdr-eternal-clippy-0.1.0> 855 | | if let Some(child) = child.as_mut() { herdr-eternal-clippy-0.1.0> 856 | | child.wait().await.ok(); herdr-eternal-clippy-0.1.0> 857 | | } herdr-eternal-clippy-0.1.0> 858 | | } herdr-eternal-clippy-0.1.0> | |_________________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 854 ~ if exit_code.is_some() herdr-eternal-clippy-0.1.0> 855 ~ && let Some(child) = child.as_mut() { herdr-eternal-clippy-0.1.0> 856 | child.wait().await.ok(); herdr-eternal-clippy-0.1.0> 857 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/lib.rs:865:29 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 865 | / ... if let Some(pipe) = stdin.as_mut() { herdr-eternal-clippy-0.1.0> 866 | | ... if pipe.write_all(&data).await.is_err() || pipe.flush().await.is_err() { herdr-eternal-clippy-0.1.0> 867 | | ... stdin = None; herdr-eternal-clippy-0.1.0> 868 | | ... } herdr-eternal-clippy-0.1.0> 869 | | ... } herdr-eternal-clippy-0.1.0> | |_______________________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 865 ~ if let Some(pipe) = stdin.as_mut() herdr-eternal-clippy-0.1.0> 866 ~ && (pipe.write_all(&data).await.is_err() || pipe.flush().await.is_err()) { herdr-eternal-clippy-0.1.0> 867 | stdin = None; herdr-eternal-clippy-0.1.0> 868 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/lib.rs:888:25 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 888 | / if let Some(pipe) = stdin.take() { herdr-eternal-clippy-0.1.0> 889 | | if let Ok(fd) = pipe.into_nonblocking_fd() { herdr-eternal-clippy-0.1.0> 890 | | fds.push(("stdin", fd)); herdr-eternal-clippy-0.1.0> 891 | | } herdr-eternal-clippy-0.1.0> 892 | | } herdr-eternal-clippy-0.1.0> | |_________________________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 888 ~ if let Some(pipe) = stdin.take() herdr-eternal-clippy-0.1.0> 889 ~ && let Ok(fd) = pipe.into_nonblocking_fd() { herdr-eternal-clippy-0.1.0> 890 | fds.push(("stdin", fd)); herdr-eternal-clippy-0.1.0> 891 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: this `if` statement can be collapsed herdr-eternal-clippy-0.1.0> --> server/src/lib.rs:934:9 herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 934 | / if let Some(code) = exit_code { herdr-eternal-clippy-0.1.0> 935 | | if !stdout_open && !stderr_open { herdr-eternal-clippy-0.1.0> 936 | | seq += 1; herdr-eternal-clippy-0.1.0> 937 | | log.push(proto::ChannelMessage::Exit { seq, code }); herdr-eternal-clippy-0.1.0> ... | herdr-eternal-clippy-0.1.0> 940 | | } herdr-eternal-clippy-0.1.0> | |_________^ herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if herdr-eternal-clippy-0.1.0> help: collapse nested if block herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> 934 ~ if let Some(code) = exit_code herdr-eternal-clippy-0.1.0> 935 ~ && !stdout_open && !stderr_open { herdr-eternal-clippy-0.1.0> 936 | seq += 1; herdr-eternal-clippy-0.1.0> 937 | log.push(proto::ChannelMessage::Exit { seq, code }); herdr-eternal-clippy-0.1.0> 938 | return; herdr-eternal-clippy-0.1.0> 939 ~ } herdr-eternal-clippy-0.1.0> | herdr-eternal-clippy-0.1.0> herdr-eternal-clippy-0.1.0> error: could not compile `herdr-eternal-server` (lib) due to 6 previous errors error: Cannot build '/nix/store/dr7jai0cik59hakyasrkwwqgq3ssp2h3-herdr-eternal-clippy-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/12lzn79khjs3ccqi014zfg03kll3b54g-herdr-eternal-clippy-0.1.0 Last 25 log lines: > | > > error: this `if` statement can be collapsed > --> server/src/lib.rs:934:9 > | > 934 | / if let Some(code) = exit_code { > 935 | | if !stdout_open && !stderr_open { > 936 | | seq += 1; > 937 | | log.push(proto::ChannelMessage::Exit { seq, code }); > ... | > 940 | | } > | |_________^ > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if > help: collapse nested if block > | > 934 ~ if let Some(code) = exit_code > 935 ~ && !stdout_open && !stderr_open { > 936 | seq += 1; > 937 | log.push(proto::ChannelMessage::Exit { seq, code }); > 938 | return; > 939 ~ } > | > > error: could not compile `herdr-eternal-server` (lib) due to 6 previous errors For full logs, run: nix log /nix/store/dr7jai0cik59hakyasrkwwqgq3ssp2h3-herdr-eternal-clippy-0.1.0.drv