nixbot

builds

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

1bld1: building i13cp9adv9ny4kaxmfahrzms14q0d3r0-iets-ast-grep.drv2error[no-function-level-use]: move this `use` to the top of the module3 ┌─ tests/e2e_daemon.rs:360:54 │ 5359 │ ╭ fn a_path_reported_valid_is_rooted_until_the_connection_closes() {6360 │ │ use std::io::{BufRead, BufReader, Write};7 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^8 · │9394 │ │ }10 │ ╰─'1112error[no-function-level-use]: move this `use` to the top of the module13 ┌─ tests/e2e_daemon.rs:361:514 │ 15359 │ ╭ fn a_path_reported_valid_is_rooted_until_the_connection_closes() {16360 │ │ use std::io::{BufRead, BufReader, Write};17361 │ │ use std::process::{Command, Stdio};18 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^19 · │20394 │ │ }21 │ ╰─'2223error[no-function-level-use]: move this `use` to the top of the module24 ┌─ tests/e2e_daemon.rs:402:525 │ 26401 │ ╭ fn temp_roots_child() {27402 │ │ use iets::remote::worker::{Connection, Transport};28 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^29 · │30420 │ │ }31 │ ╰─'3233error[no-function-level-use]: move this `use` to the top of the module34 ┌─ tests/e2e_daemon.rs:403:535 │ 36401 │ ╭ fn temp_roots_child() {37402 │ │ use iets::remote::worker::{Connection, Transport};38403 │ │ use std::io::{BufRead, Read};39 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^40 · │41420 │ │ }42 │ ╰─'4344error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path45 ┌─ tests/e2e_daemon.rs:368:3446 │47368 │ let mut child = Command::new(std::env::current_exe().unwrap())48 │ ^^^^^^^^^^^^^^^^^^^^^4950error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path51 ┌─ tests/e2e_daemon.rs:405:2452 │53405 │ let Some(socket) = std::env::var_os("IETS_TEMP_ROOT_SOCKET") else {54 │ ^^^^^^^^^^^^^^^^5556error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path57 ┌─ tests/e2e_daemon.rs:408:2158 │59408 │ let mut stdin = std::io::stdin().lock();60 │ ^^^^^^^^^^^^^^6162Error: 7 error(s) found in code.63Help: Scan succeeded and found error level diagnostics in the codebase.64