Skip to content

Support dirfd relative path lookups - #1928

Draft
Weiteng Chen (CvvT) wants to merge 6 commits into
uliteboxfrom
weiteng/fd-relative-paths
Draft

Weiteng Chen (CvvT) wants to merge 6 commits into
uliteboxfrom
weiteng/fd-relative-paths

Conversation

@CvvT

Copy link
Copy Markdown
Contributor

Linux *at() calls and relative paths should keep resolving from the same directory after it or one of its ancestors is renamed. This PR replaces path-based lookup with open directory handles, so lookups follow the directory rather than its old name. getcwd() reports the new path after a rename and returns ENOENT after the working directory is removed.

Weiteng Chen (CvvT) and others added 6 commits November 18, 2026 06:39
Keep relative lookups attached to the original directory across renames and replacements. Preserve the cwd handle across process startup and recover its current name for getcwd.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Name directories that a backend cannot name (9P) by the name they were
opened by, so getcwd, relative mount(2) and AF_UNIX names keep working.
Report unlinked directories through a new HandlePath flag so
/proc/self/fd links read "<path> (deleted)" as on Linux.

Route anchored walks through a directory's current location so mounts
added after it was opened are crossed correctly, name files opened
relative to a directory under its current name, and update directory
timestamps through the open handle. Pin a single cwd handle in the shim
so relative /proc/self/fd paths and AT_EMPTY_PATH behave the same before
and after chdir.

Map removed-directory listings to ENOENT in LocalFs and 9P, map the new
path error to ENOENT in the macOS shim, and make macOS directory naming
fail closed, dropping its rustix dependency.

Remove the now-unused ResolvePath chain and non-anchored wrappers, make
Backend::check_search required, cache the 9P root qid, skip a redundant
search check on a leading ".", and share the Windows reparse-point open
check. Add Rust and C tests for the fixed behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Give each file operation a single entry point that takes an optional
directory, removing the parallel `*_at` variants from LiteBox,
BrokerControl, BrokerLocal, and the broker-core service.

Remove the working directory from litebox::fs::Context, which now only
carries the acting user. A relative path requires a directory handle;
the Linux shim always passes its cwd handle, opening it at startup and
handing it to children, and the macOS shim roots its paths explicitly.
Lexical normalization moves to ResolvedPath::new.

Drop the unlinked-directory flag from HandlePath responses, leaving
/proc/self/fd links of removed directories as a documented gap.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Take the namespace guard in LocalFs::dir_path like its siblings.
- Share the search-permission probe via Location::check_search.
- Skip procfs readlinks when validating the LocalFs root itself.
- Avoid cloning the recorded route in Composer::current_route callers.
- Let do_path_stat/do_readlink take a dir, removing duplicated tails.
- Fix docs on relative-path/dir contracts, File::path, FsState::cwd;
  document OverlayDir; tighten visibility; clarify helper names.
- Cover search-permission rules for held directories in dirfd_rename.c.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant FilePathError::ClosedFd 0 -> 1 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:368
  variant FilePathError::Io 1 -> 2 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:370
  variant ReadDirError::ClosedFd 0 -> 1 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:328
  variant ReadDirError::NotADirectory 1 -> 2 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:330
  variant ReadDirError::NotForReading 2 -> 3 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:332
  variant ReadDirError::NotOpenForReading 3 -> 4 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:334
  variant ReadDirError::Io 4 -> 5 in /home/runner/work/litebox/litebox/litebox/src/fs/errors.rs:336

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/inherent_method_missing.ron

Failed in:
  LiteBox::resolve_file_path, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:261
  Context::cwd, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:298
  Context::set_cwd, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:303
  Context::resolve, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:320

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters, not counting the receiver (self) parameter.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/method_parameter_count_changed.ron

Failed in:
  litebox::LiteBox::open_file takes 5 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:63, but now takes 6 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:76
  litebox::LiteBox::chmod_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:104, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:120
  litebox::LiteBox::chown_file takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:114, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:137
  litebox::LiteBox::symlink_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:133, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:158
  litebox::LiteBox::unlink_file takes 2 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:148, but now takes 3 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:174
  litebox::LiteBox::rename_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:158, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:191
  litebox::LiteBox::mkdir_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:192, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:210
  litebox::LiteBox::rmdir_file takes 2 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:224, but now takes 3 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:236
  litebox::LiteBox::path_file_status takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:236, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:254
  litebox::LiteBox::read_link_file takes 2 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox/src/fs/file.rs:251, but now takes 3 parameters in /home/runner/work/litebox/litebox/litebox/src/fs/file.rs:271

--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type OverlayDir is no longer UnwindSafe, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/overlay.rs:151
  type OverlayDir is no longer RefUnwindSafe, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/overlay.rs:151

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant ReadDirError::ClosedFd 0 -> 1 in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/errors.rs:297
  variant ReadDirError::NotADirectory 1 -> 2 in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/errors.rs:299
  variant ReadDirError::NotOpenForReading 2 -> 3 in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/errors.rs:301
  variant ReadDirError::Io 3 -> 4 in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/errors.rs:303

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_variant_added.ron

Failed in:
  variant ReadDirError:Removed in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/errors.rs:295

--- failure function_missing: pub fn removed or renamed ---

Description:
A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/function_missing.ron

Failed in:
  function litebox_broker_core::fs::resolve_path, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_core/src/fs/service.rs:814

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/function_parameter_count_changed.ron

Failed in:
  litebox_broker_core::fs::symlink now takes 5 parameters instead of 4, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1085
  litebox_broker_core::fs::open now takes 8 parameters instead of 7, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:707
  litebox_broker_core::fs::mkdir now takes 5 parameters instead of 4, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1061
  litebox_broker_core::fs::read_link now takes 4 parameters instead of 3, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:970
  litebox_broker_core::fs::rename now takes 6 parameters instead of 4, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1041
  litebox_broker_core::fs::path_status now takes 5 parameters instead of 4, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:955
  litebox_broker_core::fs::unlink now takes 4 parameters instead of 3, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1027
  litebox_broker_core::fs::chown now takes 6 parameters instead of 5, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1011
  litebox_broker_core::fs::rmdir now takes 4 parameters instead of 3, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:1100
  litebox_broker_core::fs::chmod now takes 5 parameters instead of 4, in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/service.rs:996

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/inherent_method_missing.ron

Failed in:
  Resolver::resolve_following_symlinks, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_core/src/fs/resolver.rs:202

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_method_added.ron

Failed in:
  trait method litebox_broker_core::fs::backend::Backend::dir_path in file /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/backend.rs:115
  trait method litebox_broker_core::fs::backend::Backend::parent_dir in file /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/backend.rs:119
  trait method litebox_broker_core::fs::backend::Backend::check_search in file /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/backend.rs:122

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait OverlayDir (0 -> 1 required generic types) in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/overlay.rs:151

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct OverlayDir (0 -> 1 required generic types) in /home/runner/work/litebox/litebox/litebox_broker_core/src/fs/overlay.rs:151

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/inherent_method_missing.ron

Failed in:
  BrokerLocal::resolve_file_path, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:624

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters, not counting the receiver (self) parameter.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/method_parameter_count_changed.ron

Failed in:
  litebox_broker_local::BrokerLocal::open_file takes 6 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:38, but now takes 7 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:42
  litebox_broker_local::BrokerLocal::path_file_status takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:270, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:276
  litebox_broker_local::BrokerLocal::chmod_file takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:379, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:387
  litebox_broker_local::BrokerLocal::chown_file takes 5 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:404, but now takes 6 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:414
  litebox_broker_local::BrokerLocal::unlink_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:431, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:443
  litebox_broker_local::BrokerLocal::rename_file takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:454, but now takes 6 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:468
  litebox_broker_local::BrokerLocal::mkdir_file takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:487, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:505
  litebox_broker_local::BrokerLocal::rmdir_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:535, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:555
  litebox_broker_local::BrokerLocal::symlink_file takes 4 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:560, but now takes 5 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:582
  litebox_broker_local::BrokerLocal::read_link_file takes 3 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_local/src/fs.rs:596, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox_broker_local/src/fs.rs:620

--- failure constructible_struct_adds_field: struct exhaustively constructible through public API adds field ---

Description:
A pub struct that could be exhaustively constructed with a literal using only public API has a new pub field, breaking existing exhaustive literals.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field RenameFileRequest.old_dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:752
  field RenameFileRequest.new_dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:752
  field OpenFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:411
  field RmdirFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:798
  field SymlinkFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:622
  field ChownFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:720
  field UnlinkFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:738
  field MkdirFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:771
  field ReadLinkFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:638
  field ChmodFileRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:704
  field PathFileStatusRequest.dir in /home/runner/work/litebox/litebox/litebox_broker_protocol/src/fs.rs:593

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_variant_missing.ron

Failed in:
  variant FileRequest::ResolvePath, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_protocol/src/message.rs:1048
  variant FileResponse::ResolvePath, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_protocol/src/message.rs:1104

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/struct_missing.ron

Failed in:
  struct litebox_broker_protocol::fs::ResolvePathFileRequest, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/e1e60be150a4f7670f1f0ae5f95486d73875317d/litebox_broker_protocol/src/fs.rs:643

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.

1 participant