elastic-arm-0a911f46: building 5jwhmcpvdqngkngrpzvfyip2j5bz2s8v-iets-ast-grep.drv 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[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:41:9 │ 41 │ crate::sys::tty::size() │ ^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:45:9 │ 45 │ crate::sys::tty::cursor() │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:49:9 │ 49 │ crate::sys::tty::guard_region(top); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/build/render.rs:220:20 │ 220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r); │ ^^^^^^^^^^^^^^^^^^^^^ Error: 5 error(s) found in code. Help: Scan succeeded and found error level diagnostics in the codebase.