this derivation will be built: /nix/store/ld6crgkq7xnzqb65wcln47jkllirwk0p-iets-ast-grep.drv building '/nix/store/ld6crgkq7xnzqb65wcln47jkllirwk0p-iets-ast-grep.drv' iets-ast-grep> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path iets-ast-grep> ┌─ src/build/render.rs:220:20 iets-ast-grep> │ iets-ast-grep> 220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r); iets-ast-grep> │ ^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> iets-ast-grep> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path iets-ast-grep> ┌─ src/display.rs:39:9 iets-ast-grep> │ iets-ast-grep> 39 │ crate::sys::tty::size() iets-ast-grep> │ ^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> iets-ast-grep> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path iets-ast-grep> ┌─ src/display.rs:43:9 iets-ast-grep> │ iets-ast-grep> 43 │ crate::sys::tty::cursor() iets-ast-grep> │ ^^^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> iets-ast-grep> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path iets-ast-grep> ┌─ src/display.rs:47:9 iets-ast-grep> │ iets-ast-grep> 47 │ crate::sys::tty::guard_region(top); iets-ast-grep> │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> iets-ast-grep> error[no-function-level-use]: move this `use` to the top of the module iets-ast-grep> ┌─ src/sys/tty.rs:26:5 iets-ast-grep> │ iets-ast-grep> 25 │ ╭ pub fn cursor() -> Option<(usize, usize)> { iets-ast-grep> 26 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr}; iets-ast-grep> │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> · │ iets-ast-grep> 54 │ │ } iets-ast-grep> │ ╰─' iets-ast-grep> iets-ast-grep> Error: 5 error(s) found in code. iets-ast-grep> Help: Scan succeeded and found error level diagnostics in the codebase. iets-ast-grep> error: Cannot build '/nix/store/ld6crgkq7xnzqb65wcln47jkllirwk0p-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6dkbqj5vkm9aa4g539yh1g6yk1y68hak-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/display.rs:43:9 > │ > 43 │ crate::sys::tty::cursor() > │ ^^^^^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/display.rs:47:9 > │ > 47 │ crate::sys::tty::guard_region(top); > │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > 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: 5 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > For full logs, run: nix log /nix/store/ld6crgkq7xnzqb65wcln47jkllirwk0p-iets-ast-grep.drv