nixbot

builds

failed iets-ast-grep checks.aarch64-linux.ast-grep · build #920 · raw

1elastic-arm-26b08a17: building ssk2l9mlhh9ardazmnbl8p1g2clivd48-iets-ast-grep.drv2error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path3 ┌─ tests/e2e_daemon.rs:368:344 │5368 │ let mut child = Command::new(std::env::current_exe().unwrap())6 │ ^^^^^^^^^^^^^^^^^^^^^78error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path9 ┌─ tests/e2e_daemon.rs:405:2410 │11405 │ let Some(socket) = std::env::var_os("IETS_TEMP_ROOT_SOCKET") else {12 │ ^^^^^^^^^^^^^^^^1314error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path15 ┌─ tests/e2e_daemon.rs:408:2116 │17408 │ let mut stdin = std::io::stdin().lock();18 │ ^^^^^^^^^^^^^^1920error[no-function-level-use]: move this `use` to the top of the module21 ┌─ tests/e2e_daemon.rs:360:522 │ 23359 │ ╭ fn a_path_reported_valid_is_rooted_until_the_connection_closes() {24360 │ │ use std::io::{BufRead, BufReader, Write};25 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^26 · │27394 │ │ }28 │ ╰─'2930error[no-function-level-use]: move this `use` to the top of the module31 ┌─ tests/e2e_daemon.rs:361:532 │ 33359 │ ╭ fn a_path_reported_valid_is_rooted_until_the_connection_closes() {34360 │ │ use std::io::{BufRead, BufReader, Write};35361 │ │ use std::process::{Command, Stdio};36 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^37 · │38394 │ │ }39 │ ╰─'4041error[no-function-level-use]: move this `use` to the top of the module42 ┌─ tests/e2e_daemon.rs:402:543 │ 44401 │ ╭ fn temp_roots_child() {45402 │ │ use iets::remote::worker::{Connection, Transport};46 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^47 · │48420 │ │ }49 │ ╰─'5051error[no-function-level-use]: move this `use` to the top of the module52 ┌─ tests/e2e_daemon.rs:403:553 │ 54401 │ ╭ fn temp_roots_child() {55402 │ │ use iets::remote::worker::{Connection, Transport};56403 │ │ use std::io::{BufRead, Read};57 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^58 · │59420 │ │ }60 │ ╰─'6162Error: 7 error(s) found in code.63Help: Scan succeeded and found error level diagnostics in the codebase.64