this derivation will be built: /nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv building '/nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv' on 'grpc://farm.numtide.com:50051?client-cert=/run/secrets/vars/per-machine/bld1/nix-farm-ci/crt&client-key=/run/secrets/vars/per-machine/bld1/nix-farm-ci/key&connect-timeout=21&system=aarch64-linux' building '/nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv' on farm.numtide.com:50051 iets-ast-grep> elastic-arm-99e59b18: building w2l3d2lrisqnl383650y51iyv5qw2qhg-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:232:21 iets-ast-grep> │ iets-ast-grep> 232 │ fn two_checks(dir: &std::path::Path) { 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:256:11 iets-ast-grep> │ iets-ast-grep> 256 │ dir: &std::path::Path, 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:257:20 iets-ast-grep> │ iets-ast-grep> 257 │ cache: Option<&std::path::Path>, 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.rs:80:14 iets-ast-grep> │ iets-ast-grep> 80 │ pub env: crate::env::Env, 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/env.rs:51:21 iets-ast-grep> │ iets-ast-grep> 51 │ None => std::env::var_os(name), 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/cli/render/mod.rs:21:9 iets-ast-grep> │ iets-ast-grep> 21 │ crate::session::exit(error::Error::io(format!("write of {} bytes", b.len()), e).report()) 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/cli/run.rs:12:29 iets-ast-grep> │ iets-ast-grep> 12 │ pub fn classic_name(argv0: &std::ffi::OsStr) -> Option { 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/cli/run.rs:21:16 iets-ast-grep> │ iets-ast-grep> 21 │ .spawn(crate::session::bind(f)) 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/cli/run.rs:44:17 iets-ast-grep> │ iets-ast-grep> 44 │ let _ = crate::log::set_format(argv.get(i + 1).map_or("", String::as_str)); 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/cli/run.rs:46:5 iets-ast-grep> │ iets-ast-grep> 46 │ crate::log::show_progress(); 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/cli/run.rs:70:5 iets-ast-grep> │ iets-ast-grep> 70 │ crate::profile::open(&Session::current()); 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/cli/run.rs:156:41 iets-ast-grep> │ iets-ast-grep> 156 │ pub fn env, V: Into>( 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/cli/run.rs:176:22 iets-ast-grep> │ iets-ast-grep> 176 │ .store(true, std::sync::atomic::Ordering::Relaxed); 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/cli/run.rs:182:20 iets-ast-grep> │ iets-ast-grep> 182 │ let rc = match std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| { 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/cli/run.rs:182:45 iets-ast-grep> │ iets-ast-grep> 182 │ let rc = match std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| { 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/cli/run.rs:188:23 iets-ast-grep> │ iets-ast-grep> 188 │ Err(p) => std::panic::resume_unwind(p), 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/settings.rs:208:19 iets-ast-grep> │ iets-ast-grep> 208 │ conf_file_in(&crate::env::Env::process()) 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/settings.rs:211:25 iets-ast-grep> │ iets-ast-grep> 211 │ pub fn conf_file_in(e: &crate::env::Env) -> PathBuf { 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/settings.rs:526:5 iets-ast-grep> │ iets-ast-grep> 526 │ crate::session::Session::current().env.var_os(name) 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/settings.rs:581:17 iets-ast-grep> │ iets-ast-grep> 581 │ let d = std::env::temp_dir().join(format!("iets-settings-{name}-{}", 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> ┌─ src/cli/mod.rs:188:9 iets-ast-grep> │ iets-ast-grep> 188 │ crate::session::exit(e.report()) 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/cli/mod.rs:268:22 iets-ast-grep> │ iets-ast-grep> 268 │ Err(code) => crate::session::exit(code), 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/cli/mod.rs:291:5 iets-ast-grep> │ iets-ast-grep> 291 │ crate::session::exit(1) 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/stdout.rs:33:9 iets-ast-grep> │ iets-ast-grep> 32 │ ╭ pub fn is_terminal(&self) -> bool { iets-ast-grep> 33 │ │ use io::IsTerminal; iets-ast-grep> │ │ ^^^^^^^^^^^^^^^^^^^ iets-ast-grep> 34 │ │ self.lock().is_none() && io::stdout().is_terminal() iets-ast-grep> 35 │ │ } 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/session.rs:29:14 iets-ast-grep> │ iets-ast-grep> 29 │ pub env: crate::env::Env, 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/session.rs:30:18 iets-ast-grep> │ iets-ast-grep> 30 │ pub command: std::sync::Mutex>, 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/session.rs:32:14 iets-ast-grep> │ iets-ast-grep> 32 │ pub out: crate::stdout::Stdout, 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/session.rs:74:26 iets-ast-grep> │ iets-ast-grep> 74 │ pub fn with_env(env: crate::env::Env) -> Arc { 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/session.rs:126:15 iets-ast-grep> │ iets-ast-grep> 126 │ .load(std::sync::atomic::Ordering::Relaxed) 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/session.rs:128:9 iets-ast-grep> │ iets-ast-grep> 128 │ std::panic::resume_unwind(Box::new(Exit(code))); 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/testkit.rs:13:37 iets-ast-grep> │ iets-ast-grep> 13 │ let session = Session::with_env(crate::env::Env::isolated()); iets-ast-grep> │ ^^^^^^^^^^^^^^^^^^^^^^^^^ iets-ast-grep> iets-ast-grep> Error: 31 error(s) found in code. iets-ast-grep> Help: Scan succeeded and found error level diagnostics in the codebase. iets-ast-grep> error: build of '/nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv' on 'grpc://farm.numtide.com:50051?client-cert=/run/secrets/vars/per-machine/bld1/nix-farm-ci/crt&client-key=/run/secrets/vars/per-machine/bld1/nix-farm-ci/key&connect-timeout=21&system=aarch64-linux' failed: Cannot build '/nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/ypfk3qbj7z5nh18g13ix3nc217qfc73j-iets-ast-grep Last 25 log lines: > │ > 74 │ pub fn with_env(env: crate::env::Env) -> Arc { > │ ^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/session.rs:126:15 > │ > 126 │ .load(std::sync::atomic::Ordering::Relaxed) > │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/session.rs:128:9 > │ > 128 │ std::panic::resume_unwind(Box::new(Exit(code))); > │ ^^^^^^^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ src/api/testkit.rs:13:37 > │ > 13 │ let session = Session::with_env(crate::env::Env::isolated()); > │ ^^^^^^^^^^^^^^^^^^^^^^^^^ > > Error: 31 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > For full logs, run: nix log /nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv error: Cannot build '/nix/store/w2l3d2lrisqnl383650y51iyv5qw2qhg-iets-ast-grep.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/ypfk3qbj7z5nh18g13ix3nc217qfc73j-iets-ast-grep