this derivation will be built: /nix/store/dyphsymvmv8gf9730ijh9m953bm9f694-iets-ast-grep.drv building '/nix/store/dyphsymvmv8gf9730ijh9m953bm9f694-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> ┌─ tests/cli.rs:123:16 iets-ast-grep> │ iets-ast-grep> 123 │ 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:124:5 iets-ast-grep> │ iets-ast-grep> 124 │ 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:125:5 iets-ast-grep> │ iets-ast-grep> 125 │ 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:200:13 iets-ast-grep> │ iets-ast-grep> 200 │ 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:205:13 iets-ast-grep> │ iets-ast-grep> 205 │ 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:206:5 iets-ast-grep> │ iets-ast-grep> 206 │ 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:207:5 iets-ast-grep> │ iets-ast-grep> 207 │ 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:238:13 iets-ast-grep> │ iets-ast-grep> 238 │ let _ = std::fs::remove_dir_all(&d); 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[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-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:198:28 iets-ast-grep> │ iets-ast-grep> 198 │ let Ok(name) = std::str::from_utf8(name) else { 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:233:24 iets-ast-grep> │ iets-ast-grep> 233 │ let Ok(name) = std::str::from_utf8(ev.interner.name(a.sym)) else { 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/dyphsymvmv8gf9730ijh9m953bm9f694-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/1mc5x7yyl35a89zvcz9zyg59apq9m212-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:198:28 > │ > 198 │ let Ok(name) = std::str::from_utf8(name) else { > │ ^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/api/installable.rs:233:24 > │ > 233 │ let Ok(name) = std::str::from_utf8(ev.interner.name(a.sym)) else { > │ ^^^^^^^^^^^^^^^^^^^ > > 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/dyphsymvmv8gf9730ijh9m953bm9f694-iets-ast-grep.drv