dimensionalOS / dimensionalOS/dimos

rust pre-commit hook always fails due to dim_slam flake

Open Beginner friendly
#4,055 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug rust
Dominant language
Python
Stars
4.5k
Forks
808
Avg merge
3d 5h
Merged PRs (30d)
233

Description

The cargo-clippy pre-commit hook fails on main for any commit that stages a Rust file.

Reproduce

git checkout main
touch native/rust/dimos-module/src/lib.rs   # any staged .rs file
git commit -am "test"
error: flake 'path:.../dimos/mapping/dim_slam/rust' does not provide attribute
'devShells.x86_64-linux.default', 'devShell.x86_64-linux',
'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the shown staged native/rust/dimos-module/src/lib.rs file and inspect the cargo-clippy pre-commit hook configuration. Then inspect the dim_slam/rust flake entry point referenced in the error and verify that the hook resolves it correctly; done means commits staging Rust files pass the hook.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.