setup
checks.x86_64-linux.ast-grep
· build #189
· raw
1this derivation will be built:2 /nix/store/j03dc8hf9fq8x8h5p49fpxcz4bzvqx73-iets-ast-grep.drv3error: Cannot build '/nix/store/j03dc8hf9fq8x8h5p49fpxcz4bzvqx73-iets-ast-grep.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/vh11blq4d3g0jpcp5dgicfg1fzkzd7pg-iets-ast-grep7 Last 25 log lines:8 > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path9 > ┌─ src/display.rs:49:910 > │11 > 49 │ crate::sys::tty::guard_region(top);12 > │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^13 >14 > error[no-function-level-use]: move this `use` to the top of the module15 > ┌─ src/sys/tty.rs:26:516 > │17 > 25 │ ╭ pub fn cursor() -> Option<(usize, usize)> {18 > 26 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr};19 > │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^20 > · │21 > 54 │ │ }22 > │ ╰─'23 >24 > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path25 > ┌─ src/build/render.rs:220:2026 > │27 > 220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r);28 > │ ^^^^^^^^^^^^^^^^^^^^^29 >30 > Error: 5 error(s) found in code.31 > Help: Scan succeeded and found error level diagnostics in the codebase.32 >33 For full logs, run:34 nix log /nix/store/j03dc8hf9fq8x8h5p49fpxcz4bzvqx73-iets-ast-grep.drv