this derivation will be built: /nix/store/pszv3v5ps1yp4shnipawj5vkaqpvb7h4-iets-ast-grep.drv building '/nix/store/pszv3v5ps1yp4shnipawj5vkaqpvb7h4-iets-ast-grep.drv' 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[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path iets-ast-grep> ┌─ src/display.rs:41:9 iets-ast-grep> │ iets-ast-grep> 41 │ 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:45:9 iets-ast-grep> │ iets-ast-grep> 45 │ 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:49:9 iets-ast-grep> │ iets-ast-grep> 49 │ crate::sys::tty::guard_region(top); 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> ┌─ tests/cli.rs:16:24 iets-ast-grep> │ iets-ast-grep> 16 │ fn run_complete(mut c: std::process::Command, words: &[&str]) -> String { 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> ┌─ tests/cli.rs:130:16 iets-ast-grep> │ iets-ast-grep> 130 │ let conf = std::env::temp_dir().join(format!("iets-complete-{}", std::process::id())); 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> ┌─ tests/cli.rs:131:5 iets-ast-grep> │ iets-ast-grep> 131 │ std::fs::create_dir_all(conf.join("iets")).unwrap(); 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> ┌─ tests/cli.rs:132:5 iets-ast-grep> │ iets-ast-grep> 132 │ std::fs::write(conf.join("iets/iets.toml"), "this is = not [valid\n").unwrap(); 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> ┌─ tests/cli.rs:153:13 iets-ast-grep> │ iets-ast-grep> 153 │ let _ = std::fs::remove_dir_all(&conf); 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> ┌─ tests/cli.rs:158:13 iets-ast-grep> │ iets-ast-grep> 158 │ let d = std::env::temp_dir().join(format!("iets-complete-flake-{}", std::process::id())); 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> ┌─ tests/cli.rs:159:5 iets-ast-grep> │ iets-ast-grep> 159 │ std::fs::create_dir_all(&d).unwrap(); 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> ┌─ tests/cli.rs:170:5 iets-ast-grep> │ iets-ast-grep> 170 │ std::fs::write( 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> ┌─ tests/cli.rs:195:13 iets-ast-grep> │ iets-ast-grep> 195 │ let _ = std::fs::remove_dir_all(&d); 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> ┌─ tests/cli.rs:200:13 iets-ast-grep> │ iets-ast-grep> 200 │ let d = std::env::temp_dir().join(format!("iets-complete-attr-{}", std::process::id())); 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> ┌─ tests/cli.rs:201:5 iets-ast-grep> │ iets-ast-grep> 201 │ std::fs::create_dir_all(&d).unwrap(); 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> ┌─ tests/cli.rs:202:5 iets-ast-grep> │ iets-ast-grep> 202 │ std::fs::write( 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> ┌─ tests/cli.rs:227:13 iets-ast-grep> │ iets-ast-grep> 227 │ let _ = std::fs::remove_dir_all(&d); 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/api/installable.rs:141:14 iets-ast-grep> │ iets-ast-grep> 141 │ let fr = super::flake_ref(loc, &super::cwd()).ok()?; 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/api/installable.rs:141:37 iets-ast-grep> │ iets-ast-grep> 141 │ let fr = super::flake_ref(loc, &super::cwd()).ok()?; 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/api/installable.rs:148:15 iets-ast-grep> │ iets-ast-grep> 148 │ let cwd = super::cwd(); 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/api/installable.rs:151:41 iets-ast-grep> │ iets-ast-grep> 151 │ Input::File(f) => ev.eval_file(&super::abs_path(f, &cwd), Pos::NONE).ok()?, 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/api/installable.rs:154:16 iets-ast-grep> │ iets-ast-grep> 154 │ let args = super::auto_args(ev, &[], &cwd).ok()?; 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/api/installable.rs:210:25 iets-ast-grep> │ iets-ast-grep> 210 │ .filter_map(|a| std::str::from_utf8(ev.interner.name(a.sym)).ok()) 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/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: 24 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/pszv3v5ps1yp4shnipawj5vkaqpvb7h4-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6rd5p4fqz0zsvy9w2j6mj33l90rvmxsw-iets-ast-grep Last 25 log lines: > │ > 151 │ Input::File(f) => ev.eval_file(&super::abs_path(f, &cwd), Pos::NONE).ok()?, > │ ^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/api/installable.rs:154:16 > │ > 154 │ let args = super::auto_args(ev, &[], &cwd).ok()?; > │ ^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/api/installable.rs:210:25 > │ > 210 │ .filter_map(|a| std::str::from_utf8(ev.interner.name(a.sym)).ok()) > │ ^^^^^^^^^^^^^^^^^^^ > > 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: 24 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > For full logs, run: nix log /nix/store/pszv3v5ps1yp4shnipawj5vkaqpvb7h4-iets-ast-grep.drv