this derivation will be built: /nix/store/q40wcd52zsipwpz319dn87fj0dfvirsb-iets-ast-grep.drv error: Cannot build '/nix/store/q40wcd52zsipwpz319dn87fj0dfvirsb-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/8xirkjbhki75arsf75ykswpq74fd7q9d-iets-ast-grep Last 25 log lines: > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/build/render.rs:227:20 > │ > 227 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r); > │ ^^^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/build/render.rs:261:12 > │ > 261 │ if std::mem::replace(&mut self.closed, true) { > │ ^^^^^^^^^^^^^^^^^ > > error[no-function-level-use]: move this `use` to the top of the module > ┌─ src/sys/tty.rs:26:5 > │ > 25 │ ╭ pub fn cursor() -> Option<(usize, usize)> { > 26 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr}; > │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > · │ > 54 │ │ } > │ ╰─' > > Error: 7 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > For full logs, run: nix log /nix/store/q40wcd52zsipwpz319dn87fj0dfvirsb-iets-ast-grep.drv