iets-ast-grep
checks.aarch64-linux.ast-grep
· build #183
· raw
1elastic-arm-f5251078: building l9iwyvk5zm724k20jfvz5ck81i10bvnc-iets-ast-grep.drv2error[no-function-level-use]: move this `use` to the top of the module3 ┌─ src/sys/tty.rs:26:54 │ 525 │ ╭ pub fn cursor() -> Option<(usize, usize)> {626 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr};7 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^8 · │954 │ │ }10 │ ╰─'1112error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path13 ┌─ src/display.rs:39:914 │1539 │ crate::sys::tty::size()16 │ ^^^^^^^^^^^^^^^^^^^^^1718error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path19 ┌─ src/display.rs:43:920 │2143 │ crate::sys::tty::cursor()22 │ ^^^^^^^^^^^^^^^^^^^^^^^2324error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path25 ┌─ src/display.rs:47:926 │2747 │ crate::sys::tty::guard_region(top);28 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2930error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path31 ┌─ src/build/render.rs:220:2032 │33220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r);34 │ ^^^^^^^^^^^^^^^^^^^^^3536Error: 5 error(s) found in code.37Help: Scan succeeded and found error level diagnostics in the codebase.38