Skip to content

ci: update workflows to use workspace option - #11724

Draft
xtqqczze wants to merge 1 commit into
uutils:mainfrom
xtqqczze:clippy-workspace
Draft

xtqqczze wants to merge 1 commit into
uutils:mainfrom
xtqqczze:clippy-workspace

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Blocked on #12317.

@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Note: The gnu test tests/tail/pipe-f is now being skipped but was previously passing.
Congrats! The gnu test tests/cp/link-heap is now passing!
Congrats! The gnu test tests/dd/no-allocate is now passing!
Congrats! The gnu test tests/seq/seq-epipe is now passing!

@xtqqczze
xtqqczze force-pushed the clippy-workspace branch 2 times, most recently from ff74940 to c807908 Compare April 9, 2026 11:42
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/misc/io-errors. tests/misc/io-errors is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cp/link-heap is now passing!
Congrats! The gnu test tests/dd/no-allocate is now passing!

@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cp/link-heap is now passing!
Congrats! The gnu test tests/dd/no-allocate is now passing!

@xtqqczze
xtqqczze marked this pull request as draft April 9, 2026 13:41
@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/resolution (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/pr/bounded-memory is now being skipped but was previously passing.
Congrats! The gnu test tests/cut/cut-huge-range is now passing!

@sylvestre

Copy link
Copy Markdown
Contributor

still draft after a few months, please reopen when ready

@sylvestre sylvestre closed this Aug 25, 2026
@xtqqczze

Copy link
Copy Markdown
Contributor Author

Some changes were made in #12386

@sylvestre could you reopen so I can rebase?

@xtqqczze

Copy link
Copy Markdown
Contributor Author

This will require #![cfg(unix)] in a lot of files.

@sylvestre sylvestre reopened this Aug 27, 2026
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)

@xtqqczze

Copy link
Copy Markdown
Contributor Author
2026-08-27T14:34:22.8516247Z error[E0433]: cannot find `unix` in `os`
2026-08-27T14:34:22.8517581Z   --> src\uu\stty\src\stty.rs:41:14
2026-08-27T14:34:22.8541244Z    |
2026-08-27T14:34:22.8611910Z 41 | use std::os::unix::fs::OpenOptionsExt;
2026-08-27T14:34:22.8616300Z    |              ^^^^ could not find `unix` in `os`
2026-08-27T14:34:22.8648342Z    |
2026-08-27T14:34:22.8655862Z note: found an item that was configured out
2026-08-27T14:34:22.8684355Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:29:4
2026-08-27T14:34:22.8757147Z    |
2026-08-27T14:34:22.8780016Z    = note: the item is gated here
2026-08-27T14:34:22.8780962Z note: found an item that was configured out
2026-08-27T14:34:22.8781878Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:84:40
2026-08-27T14:34:22.8794483Z    |
2026-08-27T14:34:22.8802950Z    = note: the item is gated here
2026-08-27T14:34:22.8813955Z 
2026-08-27T14:34:22.8822867Z error[E0433]: cannot find `unix` in `os`
2026-08-27T14:34:22.8841408Z   --> src\uu\stty\src\stty.rs:42:14
2026-08-27T14:34:22.8842111Z    |
2026-08-27T14:34:22.8842687Z 42 | use std::os::unix::io::{AsRawFd, RawFd};
2026-08-27T14:34:22.8843164Z    |              ^^^^ could not find `unix` in `os`
2026-08-27T14:34:22.8843640Z    |
2026-08-27T14:34:22.8844009Z note: found an item that was configured out
2026-08-27T14:34:22.8844674Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:29:4
2026-08-27T14:34:22.8845319Z    |
2026-08-27T14:34:22.8845665Z    = note: the item is gated here
2026-08-27T14:34:22.8846106Z note: found an item that was configured out
2026-08-27T14:34:22.8846753Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:84:40
2026-08-27T14:34:22.8847386Z    |
2026-08-27T14:34:22.8847720Z    = note: the item is gated here
2026-08-27T14:34:22.8848303Z 
2026-08-27T14:34:22.8849256Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:22.8851396Z   --> src\uu\stty\src\flags.rs:17:5
2026-08-27T14:34:22.8851842Z    |
2026-08-27T14:34:22.8852194Z 17 | use nix::sys::termios::BaudRate;
2026-08-27T14:34:22.8852684Z    |     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:22.8853417Z    |
2026-08-27T14:34:22.8853968Z    = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:22.8854559Z 
2026-08-27T14:34:22.8854857Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:22.8855823Z   --> src\uu\stty\src\flags.rs:18:5
2026-08-27T14:34:22.8856246Z    |
2026-08-27T14:34:22.8856588Z 18 | use nix::sys::termios::{
2026-08-27T14:34:22.8857043Z    |     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:22.8857515Z    |
2026-08-27T14:34:22.8858063Z    = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:22.8858633Z 
2026-08-27T14:34:22.8858945Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:22.8859466Z   --> src\uu\stty\src\stty.rs:22:5
2026-08-27T14:34:22.8859871Z    |
2026-08-27T14:34:22.8860296Z 22 | use nix::libc::{O_NONBLOCK, TIOCGWINSZ, TIOCSWINSZ, c_ushort};
2026-08-27T14:34:22.8860941Z    |     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:22.8861398Z    |
2026-08-27T14:34:22.8861949Z    = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:22.8862510Z 
2026-08-27T14:34:22.8862825Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:22.8863366Z   --> src\uu\stty\src\stty.rs:31:5
2026-08-27T14:34:22.8863767Z    |
2026-08-27T14:34:22.8864105Z 31 | use nix::sys::termios::{
2026-08-27T14:34:22.8864575Z    |     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:22.8865054Z    |
2026-08-27T14:34:22.8865589Z    = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:22.8866155Z 
2026-08-27T14:34:22.8866418Z error[E0432]: unresolved import `std::os::fd`
2026-08-27T14:34:22.8866887Z   --> src\uu\stty\src\stty.rs:40:14
2026-08-27T14:34:22.8867304Z    |
2026-08-27T14:34:22.8867652Z 40 | use std::os::fd::{AsFd, BorrowedFd};
2026-08-27T14:34:22.8868126Z    |              ^^ could not find `fd` in `os`
2026-08-27T14:34:22.8868545Z    |
2026-08-27T14:34:22.8868901Z note: found an item that was configured out
2026-08-27T14:34:22.8869553Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:187:9
2026-08-27T14:34:22.8870403Z   ::: /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:194:1
2026-08-27T14:34:22.8871026Z    |
2026-08-27T14:34:22.8871359Z    = note: the item is gated here
2026-08-27T14:34:22.8871690Z 
2026-08-27T14:34:22.8871938Z error[E0432]: unresolved import `nix`
2026-08-27T14:34:22.8872378Z   --> src\uu\stty\src\stty.rs:35:5
2026-08-27T14:34:22.8872862Z    |
2026-08-27T14:34:22.8873245Z 35 | use nix::{ioctl_read_bad, ioctl_write_ptr_bad};
2026-08-27T14:34:22.8873782Z    |     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:22.8874255Z    |
2026-08-27T14:34:22.8874790Z    = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:22.8875686Z 
2026-08-27T14:34:22.8875918Z     Checking ctor v1.0.13
2026-08-27T14:34:22.8990536Z error[E0433]: cannot find `sys` in `nix`
2026-08-27T14:34:22.8991098Z   --> src\uu\mknod\src\mknod.rs:10:10
2026-08-27T14:34:22.8991541Z    |
2026-08-27T14:34:22.8991938Z 10 | use nix::sys::stat::{Mode, SFlag, mknod as nix_mknod, umask as nix_umask};
2026-08-27T14:34:22.8992445Z    |          ^^^ could not find `sys` in `nix`
2026-08-27T14:34:22.8992669Z 
2026-08-27T14:34:23.8226336Z error[E0432]: unresolved import `nix::libc`
2026-08-27T14:34:23.8228304Z  --> src\uu\mknod\src\mknod.rs:9:10
2026-08-27T14:34:23.8228874Z   |
2026-08-27T14:34:23.8229375Z 9 | use nix::libc::{S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR, mode_t};
2026-08-27T14:34:23.8229996Z   |          ^^^^ could not find `libc` in `nix`
2026-08-27T14:34:23.8230557Z 
2026-08-27T14:34:23.8230830Z error[E0432]: unresolved import `uucore::fs::makedev`
2026-08-27T14:34:23.8231330Z     --> src\uu\mknod\src\mknod.rs:17:5
2026-08-27T14:34:23.8231735Z      |
2026-08-27T14:34:23.8232078Z   17 | use uucore::fs::makedev;
2026-08-27T14:34:23.8232517Z      |     ^^^^^^^^^^^^^^^^^^^ no `makedev` in `features::fs`
2026-08-27T14:34:23.8233307Z      |
2026-08-27T14:34:23.8233667Z note: found an item that was configured out
2026-08-27T14:34:23.8234167Z     --> src\uucore\src\lib\features\fs.rs:11:23
2026-08-27T14:34:23.8234599Z      |
2026-08-27T14:34:23.8234952Z   10 | #[cfg(all(unix, not(target_os = "redox")))]
2026-08-27T14:34:23.8235470Z      |           ---- the item is gated here
2026-08-27T14:34:23.8235942Z   11 | pub use libc::{major, makedev, minor};
2026-08-27T14:34:23.8236388Z      |                       ^^^^^^^
2026-08-27T14:34:23.8236821Z note: found an item that was configured out
2026-08-27T14:34:23.8237311Z     --> src\uucore\src\lib\features\fs.rs:1108:8
2026-08-27T14:34:23.8237751Z      |
2026-08-27T14:34:23.8238081Z 1107 | #[cfg(target_os = "redox")]
2026-08-27T14:34:23.8238586Z      |       ------------------- the item is gated behind the `redox` feature
2026-08-27T14:34:23.8239283Z 1108 | pub fn makedev(maj: core::ffi::c_uint, min: core::ffi::c_uint) -> libc::dev_t {
2026-08-27T14:34:23.8239866Z      |        ^^^^^^^
2026-08-27T14:34:23.8240129Z 
2026-08-27T14:34:23.8240408Z error[E0432]: unresolved import `uucore::libc::S_IWGRP`
2026-08-27T14:34:23.8240930Z   --> src\uu\who\src\platform\unix.rs:13:5
2026-08-27T14:34:23.8241351Z    |
2026-08-27T14:34:23.8241683Z 13 | use uucore::libc::S_IWGRP;
2026-08-27T14:34:23.8242113Z    |     ^^^^^^^^^^^^^^^^^^^^^ no `S_IWGRP` in the root
2026-08-27T14:34:23.8242501Z 
2026-08-27T14:34:23.8242708Z error[E0433]: cannot find `unix` in `os`
2026-08-27T14:34:23.8243172Z   --> src\uu\who\src\platform\unix.rs:21:14
2026-08-27T14:34:23.8243600Z    |
2026-08-27T14:34:23.8243929Z 21 | use std::os::unix::fs::MetadataExt;
2026-08-27T14:34:23.8244385Z    |              ^^^^ could not find `unix` in `os`
2026-08-27T14:34:23.8244818Z    |
2026-08-27T14:34:23.8245156Z note: found an item that was configured out
2026-08-27T14:34:23.8245787Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:29:4
2026-08-27T14:34:23.8246401Z    |
2026-08-27T14:34:23.8246741Z    = note: the item is gated here
2026-08-27T14:34:23.8247173Z note: found an item that was configured out
2026-08-27T14:34:23.8247806Z   --> /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library\std\src\os\mod.rs:84:40
2026-08-27T14:34:23.8248422Z    |
2026-08-27T14:34:23.8248745Z    = note: the item is gated here
2026-08-27T14:34:23.8249056Z 
2026-08-27T14:34:23.8249301Z error[E0432]: unresolved import `uucore::utmpx`
2026-08-27T14:34:23.8249786Z    --> src\uu\who\src\platform\unix.rs:16:13
2026-08-27T14:34:23.8250222Z     |
2026-08-27T14:34:23.8252113Z  16 | use uucore::utmpx::{self, UtmpxRecord, time};
2026-08-27T14:34:23.8252692Z     |             ^^^^^ could not find `utmpx` in `uucore`
2026-08-27T14:34:23.8253125Z     |
2026-08-27T14:34:23.8253471Z note: found an item that was configured out
2026-08-27T14:34:23.8254172Z    --> src\uucore\src\lib\lib.rs:124:26
2026-08-27T14:34:23.8254571Z     |
2026-08-27T14:34:23.8254878Z 117 |     unix,
2026-08-27T14:34:23.8255161Z     |     ---- the item is gated here
2026-08-27T14:34:23.8255443Z ...
2026-08-27T14:34:23.8255669Z 124 | pub use crate::features::utmpx;
2026-08-27T14:34:23.8255967Z     |                          ^^^^^
2026-08-27T14:34:23.8256151Z 
2026-08-27T14:34:23.8546935Z     Checking uu_groups v0.10.0 (D:\a\coreutils\coreutils\src\uu\groups)
2026-08-27T14:34:24.2910252Z error[E0432]: unresolved import `uucore::entries`
2026-08-27T14:34:24.2911247Z   --> src\uu\groups\src\groups.rs:12:5
2026-08-27T14:34:24.2911590Z    |
2026-08-27T14:34:24.2911880Z 12 |     entries::{Locate, Passwd, get_groups_gnu, gid2grp},
2026-08-27T14:34:24.2912279Z    |     ^^^^^^^ could not find `entries` in `uucore`
2026-08-27T14:34:24.2912846Z    |
2026-08-27T14:34:24.2913069Z note: found an item that was configured out
2026-08-27T14:34:24.2913388Z   --> src\uucore\src\lib\lib.rs:97:26
2026-08-27T14:34:24.2913648Z    |
2026-08-27T14:34:24.2913874Z 96 | #[cfg(all(unix, feature = "entries"))]
2026-08-27T14:34:24.2914186Z    |           ---- the item is gated here
2026-08-27T14:34:24.2914498Z 97 | pub use crate::features::entries;
2026-08-27T14:34:24.2914790Z    |                          ^^^^^^^
2026-08-27T14:34:24.2914973Z 
2026-08-27T14:34:24.4252606Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:24.4263875Z    --> src\uu\stty\src\stty.rs:523:30
2026-08-27T14:34:24.4264926Z     |
2026-08-27T14:34:24.4268659Z 523 |     let expected_parts = 4 + nix::libc::NCCS;
2026-08-27T14:34:24.4269494Z     |                              ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:24.4271048Z     |
2026-08-27T14:34:24.4272020Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:24.4286496Z 
2026-08-27T14:34:24.4310477Z error[E0433]: cannot find `mode` in `uucore`
2026-08-27T14:34:24.4394493Z    --> src\uu\mknod\src\mknod.rs:156:25
2026-08-27T14:34:24.4395479Z     |
2026-08-27T14:34:24.4396162Z 156 |                 uucore::mode::parse_chmod(MODE_RW_UGO, str_mode, true, uucore::mode::get_umask())
2026-08-27T14:34:24.4397010Z     |                         ^^^^ could not find `mode` in `uucore`
2026-08-27T14:34:24.4397453Z     |
2026-08-27T14:34:24.4397782Z note: found an item that was configured out
2026-08-27T14:34:24.4398222Z    --> src\uucore\src\lib\lib.rs:94:26
2026-08-27T14:34:24.4398580Z     |
2026-08-27T14:34:24.4398893Z  93 | #[cfg(all(not(windows), feature = "mode"))]
2026-08-27T14:34:24.4399335Z     |              --------- the item is gated here
2026-08-27T14:34:24.4399769Z  94 | pub use crate::features::mode;
2026-08-27T14:34:24.4400151Z     |                          ^^^^
2026-08-27T14:34:24.4400417Z 
2026-08-27T14:34:24.4400626Z error[E0433]: cannot find `termios` in `rustix`
2026-08-27T14:34:24.4401077Z    --> src\uu\who\src\platform\unix.rs:189:13
2026-08-27T14:34:24.4401468Z     |
2026-08-27T14:34:24.4401887Z 189 |     rustix::termios::ttyname(std::io::stdin(), Vec::with_capacity(16))
2026-08-27T14:34:24.4402446Z     |             ^^^^^^^ could not find `termios` in `rustix`
2026-08-27T14:34:24.4402840Z     |
2026-08-27T14:34:24.4403140Z note: found an item that was configured out
2026-08-27T14:34:24.4403866Z    --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\rustix-1.1.4\src\lib.rs:301:9
2026-08-27T14:34:24.4404557Z     |
2026-08-27T14:34:24.4404957Z 298 | #[cfg(not(any(windows, target_os = "horizon", target_os = "vita")))]
2026-08-27T14:34:24.4405629Z     |          --------------------------------------------------------- the item is gated here
2026-08-27T14:34:24.4406123Z ...
2026-08-27T14:34:24.4406392Z 301 | pub mod termios;
2026-08-27T14:34:24.4406687Z     |         ^^^^^^^
2026-08-27T14:34:24.4406898Z 
2026-08-27T14:34:24.4407317Z error[E0433]: cannot find `mode` in `uucore`
2026-08-27T14:34:24.4407733Z    --> src\uu\mknod\src\mknod.rs:156:80
2026-08-27T14:34:24.4408452Z     |
2026-08-27T14:34:24.4408940Z 156 |                 uucore::mode::parse_chmod(MODE_RW_UGO, str_mode, true, uucore::mode::get_umask())
2026-08-27T14:34:24.4409676Z     |                                                                                ^^^^ could not find `mode` in `uucore`
2026-08-27T14:34:24.4410192Z     |
2026-08-27T14:34:24.4410475Z note: found an item that was configured out
2026-08-27T14:34:24.4411173Z    --> src\uucore\src\lib\lib.rs:94:26
2026-08-27T14:34:24.4411562Z     |
2026-08-27T14:34:24.4411870Z  93 | #[cfg(all(not(windows), feature = "mode"))]
2026-08-27T14:34:24.4412307Z     |              --------- the item is gated here
2026-08-27T14:34:24.4412726Z  94 | pub use crate::features::mode;
2026-08-27T14:34:24.4413303Z     |                          ^^^^
2026-08-27T14:34:24.4413568Z 
2026-08-27T14:34:24.4440450Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:24.4440968Z    --> src\uu\stty\src\stty.rs:632:17
2026-08-27T14:34:24.4441306Z     |
2026-08-27T14:34:24.4441720Z 632 |     let speed = nix::sys::termios::cfgetospeed(termios);
2026-08-27T14:34:24.4442240Z     |                 ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:24.4442681Z     |
2026-08-27T14:34:24.4443178Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:24.4443698Z 
2026-08-27T14:34:24.4499427Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:24.4499983Z    --> src\uu\stty\src\stty.rs:827:31
2026-08-27T14:34:24.4500357Z     |
2026-08-27T14:34:24.4500819Z 827 | fn control_char_to_string(cc: nix::libc::cc_t) -> nix::Result<String> {
2026-08-27T14:34:24.4501514Z     |                               ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:24.4501995Z     |
2026-08-27T14:34:24.4502501Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:24.4503035Z 
2026-08-27T14:34:24.4612462Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:24.4613241Z    --> src\uu\stty\src\stty.rs:847:18
2026-08-27T14:34:24.4613469Z     |
2026-08-27T14:34:24.4613645Z 847 |         _ => Err(nix::errno::Errno::ERANGE),
2026-08-27T14:34:24.4613908Z     |                  ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:24.4614161Z     |
2026-08-27T14:34:24.4614611Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:24.4614887Z 
2026-08-27T14:34:26.5908273Z For more information about this error, try `rustc --explain E0432`.
2026-08-27T14:34:26.5910280Z Some errors have detailed explanations: E0432, E0433.
2026-08-27T14:34:26.5910826Z For more information about an error, try `rustc --explain E0432`.
2026-08-27T14:34:26.5974966Z error: could not compile `uu_mknod` (lib) due to 5 previous errors
2026-08-27T14:34:26.5975904Z warning: build failed, waiting for other jobs to finish...
2026-08-27T14:34:26.5976427Z error: could not compile `uu_groups` (lib) due to 1 previous error
2026-08-27T14:34:29.9136136Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9138492Z    --> src\uu\stty\src\stty.rs:553:62
2026-08-27T14:34:29.9138852Z     |
2026-08-27T14:34:29.9139624Z 553 | fn print_special_setting(setting: &PrintSetting, fd: i32) -> nix::Result<()> {
2026-08-27T14:34:29.9140292Z     |                                                              ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9140682Z     |
2026-08-27T14:34:29.9141081Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9141505Z 
2026-08-27T14:34:29.9141692Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9142098Z    --> src\uu\stty\src\stty.rs:629:6
2026-08-27T14:34:29.9142356Z     |
2026-08-27T14:34:29.9142567Z 629 | ) -> nix::Result<()> {
2026-08-27T14:34:29.9142904Z     |      ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9143251Z     |
2026-08-27T14:34:29.9143599Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9144002Z 
2026-08-27T14:34:29.9144639Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9145000Z    --> src\uu\stty\src\stty.rs:827:51
2026-08-27T14:34:29.9145459Z     |
2026-08-27T14:34:29.9145743Z 827 | fn control_char_to_string(cc: nix::libc::cc_t) -> nix::Result<String> {
2026-08-27T14:34:29.9146222Z     |                                                   ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9146771Z     |
2026-08-27T14:34:29.9147127Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9147479Z 
2026-08-27T14:34:29.9147621Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9147989Z    --> src\uu\stty\src\stty.rs:857:6
2026-08-27T14:34:29.9148242Z     |
2026-08-27T14:34:29.9148441Z 857 | ) -> nix::Result<()> {
2026-08-27T14:34:29.9148747Z     |      ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9149065Z     |
2026-08-27T14:34:29.9149415Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9149668Z 
2026-08-27T14:34:29.9149790Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9150043Z    --> src\uu\stty\src\stty.rs:907:36
2026-08-27T14:34:29.9150224Z     |
2026-08-27T14:34:29.9150645Z 907 | fn get_terminal_size(fd: RawFd) -> nix::Result<TermSize> {
2026-08-27T14:34:29.9151089Z     |                                    ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9151446Z     |
2026-08-27T14:34:29.9151865Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9152291Z 
2026-08-27T14:34:29.9152458Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9152853Z    --> src\uu\stty\src\stty.rs:912:57
2026-08-27T14:34:29.9153144Z     |
2026-08-27T14:34:29.9153497Z 912 | fn print_settings(termios: &Termios, opts: &Options) -> nix::Result<()> {
2026-08-27T14:34:29.9154070Z     |                                                         ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9154490Z     |
2026-08-27T14:34:29.9154751Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9155005Z 
2026-08-27T14:34:29.9155119Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9155963Z    --> src\uu\stty\src\stty.rs:975:64
2026-08-27T14:34:29.9156230Z     |
2026-08-27T14:34:29.9156580Z 975 | fn apply_setting(termios: &mut Termios, setting: &AllFlags) -> nix::Result<()> {
2026-08-27T14:34:29.9157122Z     |                                                                ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9157493Z     |
2026-08-27T14:34:29.9157851Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9158225Z 
2026-08-27T14:34:29.9158392Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9158737Z    --> src\uu\stty\src\stty.rs:994:69
2026-08-27T14:34:29.9158978Z     |
2026-08-27T14:34:29.9159311Z 994 | fn apply_baud_rate_flag(termios: &mut Termios, input: &AllFlags) -> nix::Result<()> {
2026-08-27T14:34:29.9159869Z     |                                                                     ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9160231Z     |
2026-08-27T14:34:29.9160561Z     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9160922Z 
2026-08-27T14:34:29.9161066Z error[E0433]: cannot find module or crate `nix` in this scope
2026-08-27T14:34:29.9161428Z     --> src\uu\stty\src\stty.rs:1047:6
2026-08-27T14:34:29.9161937Z      |
2026-08-27T14:34:29.9162721Z 1047 | ) -> nix::Result<()> {
2026-08-27T14:34:29.9162998Z      |      ^^^ use of unresolved module or unlinked crate `nix`
2026-08-27T14:34:29.9163418Z      |
2026-08-27T14:34:29.9163704Z      = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
2026-08-27T14:34:29.9163974Z 
2026-08-27T14:34:30.0465606Z error[E0425]: cannot find function `tiocgwinsz` in this scope
2026-08-27T14:34:30.0467585Z    --> src\uu\stty\src\stty.rs:557:22
2026-08-27T14:34:30.0468110Z     |
2026-08-27T14:34:30.0468357Z 557 |             unsafe { tiocgwinsz(fd, &raw mut size)? };
2026-08-27T14:34:30.0468763Z     |                      ^^^^^^^^^^ not found in this scope
2026-08-27T14:34:30.0468978Z 
2026-08-27T14:34:30.0469150Z error[E0425]: cannot find function `tiocgwinsz` in this scope
2026-08-27T14:34:30.0469523Z    --> src\uu\stty\src\stty.rs:909:14
2026-08-27T14:34:30.0469807Z     |
2026-08-27T14:34:30.0470111Z 909 |     unsafe { tiocgwinsz(fd, &raw mut term_size) }.map(|_| term_size)
2026-08-27T14:34:30.0470504Z     |              ^^^^^^^^^^ not found in this scope
2026-08-27T14:34:30.0470718Z 
2026-08-27T14:34:30.0470896Z error[E0425]: cannot find function `tiocgwinsz` in this scope
2026-08-27T14:34:30.0471250Z     --> src\uu\stty\src\stty.rs:1049:14
2026-08-27T14:34:30.0471535Z      |
2026-08-27T14:34:30.0471765Z 1049 |     unsafe { tiocgwinsz(fd, &raw mut size)? };
2026-08-27T14:34:30.0472093Z      |              ^^^^^^^^^^ not found in this scope
2026-08-27T14:34:30.0472313Z 
2026-08-27T14:34:30.0472482Z error[E0425]: cannot find function `tiocswinsz` in this scope
2026-08-27T14:34:30.0472918Z     --> src\uu\stty\src\stty.rs:1065:14
2026-08-27T14:34:30.0473197Z      |
2026-08-27T14:34:30.0473436Z 1065 |     unsafe { tiocswinsz(fd, &raw mut size)? };
2026-08-27T14:34:30.0473782Z      |              ^^^^^^^^^^ not found in this scope
2026-08-27T14:34:30.0474002Z 
2026-08-27T14:34:30.0474174Z Some errors have detailed explanations: E0425, E0432, E0433.
2026-08-27T14:34:30.0474686Z For more information about an error, try `rustc --explain E0425`.
2026-08-27T14:34:30.0544272Z error: could not compile `uu_stty` (lib) due to 25 previous errors
2026-08-27T14:34:31.6452519Z error[E0599]: no method named `mode` found for struct `Metadata` in the current scope
2026-08-27T14:34:31.6453112Z    --> src\uu\who\src\platform\unix.rs:388:28
2026-08-27T14:34:31.6453356Z     |
2026-08-27T14:34:31.6453557Z 388 |             mesg = if meta.mode() & iwgrp == 0 { '-' } else { '+' };
2026-08-27T14:34:31.6453827Z     |                            ^^^^
2026-08-27T14:34:31.6454007Z     |
2026-08-27T14:34:31.6454200Z help: there is a method `modified` with a similar name
2026-08-27T14:34:31.6454418Z     |
2026-08-27T14:34:31.6454602Z 388 -             mesg = if meta.mode() & iwgrp == 0 { '-' } else { '+' };
2026-08-27T14:34:31.6454902Z 388 +             mesg = if meta.modified() & iwgrp == 0 { '-' } else { '+' };
2026-08-27T14:34:31.6455154Z     |
2026-08-27T14:34:31.6455224Z 
2026-08-27T14:34:31.6522816Z error[E0599]: no method named `atime` found for struct `Metadata` in the current scope
2026-08-27T14:34:31.6523377Z    --> src\uu\who\src\platform\unix.rs:389:32
2026-08-27T14:34:31.6523711Z     |
2026-08-27T14:34:31.6523894Z 389 |             last_change = meta.atime();
2026-08-27T14:34:31.6524091Z     |                                ^^^^^
2026-08-27T14:34:31.6524261Z     |
2026-08-27T14:34:31.6524435Z help: there is a method `accessed` with a similar name
2026-08-27T14:34:31.6524662Z     |
2026-08-27T14:34:31.6524814Z 389 -             last_change = meta.atime();
2026-08-27T14:34:31.6525035Z 389 +             last_change = meta.accessed();
2026-08-27T14:34:31.6525220Z     |
2026-08-27T14:34:31.6525286Z 
2026-08-27T14:34:31.6847208Z Some errors have detailed explanations: E0432, E0433, E0599.
2026-08-27T14:34:31.6954687Z error: could not compile `uu_who` (lib) due to 6 previous errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants