error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
yurivict opened this issue · 0 comments
yurivict commented
Build of the https://github.com/Nukesor/pueue project fails:
error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
--> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/task.rs:43:25
|
43 | OFlags::PATH | OFlags::DIRECTORY | OFlags::CLOEXEC,
| ^^^^ associated item not found in `OFlags`
error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
--> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:930:44
|
930 | OFlags::NOFOLLOW | OFlags::PATH | OFlags::CLOEXEC,
| ^^^^ associated item not found in `OFlags`
error[E0599]: no associated item named `EMPTY_PATH` found for struct `AtFlags` in the current scope
--> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:936:80
|
936 | rustix::fs::statat(&file, "", AtFlags::SYMLINK_NOFOLLOW | AtFlags::EMPTY_PATH).map_err(io::Error::from)?;
| ^^^^^^^^^^ associated item not found in `AtFlags`
error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
--> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:1002:25
|
1002 | OFlags::PATH | OFlags::DIRECTORY | OFlags::CLOEXEC,
| ^^^^ associated item not found in `OFlags`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `procfs` (lib) due to 4 previous errors
rust-1.70.0
FreeBSD 13.2