uutils/coreutils · error

not implemented

Error message

not implemented

What it means

Error "not implemented" thrown in uutils/coreutils.

Solutions

  1. This filesystem operation is not implemented for the current platform; use a supported OS or an alternative API.
  2. Gate the calling code with cfg so the unsupported path is not reached.

When it happens

Trigger: Occurs when a filesystem extended-attribute or mount-info operation in fsext is called on a platform where it is not implemented.

Common situations: Querying mount or filesystem metadata on targets lacking the underlying OS API used by fsext.


AI-assisted analysis of uutils/coreutils@85295bbf78 (2026-08-19). Data as JSON: /api/errors/b7e91afd407bec01. Report an issue: GitHub.

Appendix: source

Thrown at src/uucore/src/lib/features/fsext.rs:817

    ))]
    fn fs_type(&self) -> i64 {
        #[cfg(all(
            not(any(target_env = "musl", target_env = "ohos")),
            not(target_vendor = "apple"),
            not(target_os = "android"),
            not(target_os = "freebsd"),
            not(target_arch = "s390x"),
            target_pointer_width = "64"
        ))]
        return self.f_type;
        #[cfg(all(
            not(any(target_env = "musl", target_env = "ohos")),
            any(
                target_vendor = "apple",
                all(target_os = "android", target_pointer_width = "32"),
                target_os = "freebsd",
                target_arch = "s390x",
                not(target_pointer_width = "64")
            )
        ))]
        return self.f_type.into();
        #[cfg(any(
            target_env = "musl",
            target_env = "ohos",
            all(target_os = "android", target_pointer_width = "64"),
        ))]
        return self.f_type.try_into().unwrap();
    }
    #[cfg(not(any(
        target_vendor = "apple",
        target_os = "linux",
        target_os = "android",
        target_os = "freebsd"
    )))]
    fn fs_type(&self) -> i64 {
        // FIXME: statvfs doesn't have an equivalent, so we need to do something else

View on GitHub (pinned to 85295bbf78)