eminence / eminence/procfs

error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope

Open
#272 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
445
Forks
134
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.