DIRTY_TREE_CACHE_SKIP_HINT

Constant DIRTY_TREE_CACHE_SKIP_HINT 

Source
pub const DIRTY_TREE_CACHE_SKIP_HINT: &str = "skipping cache — working tree has uncommitted changes; \
     commit or stash to enable caching";
Expand description

Emitted by kernel build when a local source tree has uncommitted index/worktree changes. Caching would key the built artifact on a git hash that does not describe the actual tree, so the build completes but the result is not archived. The hint names the two remediation paths (commit or stash) so an operator re-running the build after cleaning the tree benefits from the cache. Extracted from the call site so a wording drift between what’s printed and what’s documented elsewhere is impossible by construction; pinned by dirty_tree_cache_skip_hint_shape below.