Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix cargo check warnings #6102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
fubhy merged 1 commit into master from fix-cargo-check-warnings
Aug 14, 2025
Merged

fix cargo check warnings #6102

fubhy merged 1 commit into master from fix-cargo-check-warnings
Aug 14, 2025

Conversation

Copy link
Member

@fubhy fubhy commented Aug 14, 2025
edited
Loading

No description provided.

Fixes all 16 cargo check warnings across the codebase:
**Cargo.toml fixes:**
- Remove invalid `doc = false` key from git dependency
**Dead code warnings:**
- Add #[allow(dead_code)] to reference implementations and test utilities
- PoI struct and helper functions (proof_of_indexing/reference.rs)
- AscSubgraphEntityOp enum (runtime/wasm)
- CopyVid struct (store/postgres)
**Lifetime syntax warnings:**
- Add explicit '_ lifetime parameters to fix confusing syntax
- Fix 11 lifetime warnings across store, runtime, and utility modules
All tests pass and cargo check now produces zero warnings.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@fubhy fubhy force-pushed the fix-cargo-check-warnings branch from 58e107e to a742b35 Compare August 14, 2025 16:36
Copy link
Collaborator

@lutter lutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bunch of allow(dead_code) that should really be addressed by moving code around. I can do that once this PR is committed.

/// well-implemented (without conflicting sequence numbers, or other oddities).
/// It's just way easier to check that this works, and serves as a kind of
/// documentation as a side-benefit.
#[allow(dead_code)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved into the tests module in graph/src/components/subgraph/proof_of_indexing/mod.rs.

@fubhy fubhy merged commit dc0068a into master Aug 14, 2025
6 checks passed
lutter pushed a commit that referenced this pull request Sep 16, 2025
Fixes all 16 cargo check warnings across the codebase:
**Cargo.toml fixes:**
- Remove invalid `doc = false` key from git dependency
**Dead code warnings:**
- Add #[allow(dead_code)] to reference implementations and test utilities
- PoI struct and helper functions (proof_of_indexing/reference.rs)
- AscSubgraphEntityOp enum (runtime/wasm)
- CopyVid struct (store/postgres)
**Lifetime syntax warnings:**
- Add explicit '_ lifetime parameters to fix confusing syntax
- Fix 11 lifetime warnings across store, runtime, and utility modules
All tests pass and cargo check now produces zero warnings.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@lutter lutter lutter approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /