error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:123:16 │ 123 │ let conf = std::env::temp_dir().join(format!("iets-complete-{}", std::process::id())); │ ^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:124:5 │ 124 │ std::fs::create_dir_all(conf.join("iets")).unwrap(); │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:125:5 │ 125 │ std::fs::write(conf.join("iets/iets.toml"), "this is = not [valid\n").unwrap(); │ ^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:153:13 │ 153 │ let _ = std::fs::remove_dir_all(&conf); │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:158:13 │ 158 │ let d = std::env::temp_dir().join(format!("iets-complete-flake-{}", std::process::id())); │ ^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:159:5 │ 159 │ std::fs::create_dir_all(&d).unwrap(); │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:170:5 │ 170 │ std::fs::write( │ ^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:200:13 │ 200 │ let _ = std::fs::remove_dir_all(&d); │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:205:13 │ 205 │ let d = std::env::temp_dir().join(format!("iets-complete-attr-{}", std::process::id())); │ ^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:206:5 │ 206 │ std::fs::create_dir_all(&d).unwrap(); │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:207:5 │ 207 │ std::fs::write( │ ^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ tests/cli.rs:238:13 │ 238 │ let _ = std::fs::remove_dir_all(&d); │ ^^^^^^^^^^^^^^^^^^^^^^^ 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/build/render.rs:220:20 │ 220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r); │ ^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:39:9 │ 39 │ crate::sys::tty::size() │ ^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:43:9 │ 43 │ crate::sys::tty::cursor() │ ^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/display.rs:47:9 │ 47 │ crate::sys::tty::guard_region(top); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/api/installable.rs:141:14 │ 141 │ let fr = super::flake_ref(loc, &super::cwd()).ok()?; │ ^^^^^^^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/api/installable.rs:141:37 │ 141 │ let fr = super::flake_ref(loc, &super::cwd()).ok()?; │ ^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/api/installable.rs:148:15 │ 148 │ let cwd = super::cwd(); │ ^^^^^^^^^^ error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path ┌─ src/api/installable.rs:151:41 │ 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.