-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit dc0068a
all: fix all cargo check warnings (#6102)
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>1 parent 28ed68e commit dc0068a
File tree
10 files changed
+16
-11
lines changed- graph
- src
- components
- store
- subgraph/proof_of_indexing
- util
- runtime/wasm/src
- module
- to_from
- store/postgres/src
- relational
10 files changed
+16
-11
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 | - | ||
64 | + | ||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 | - | ||
148 | + | ||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
| |||
823 | 823 |
| |
824 | 824 |
| |
825 | 825 |
| |
826 | - | ||
826 | + | ||
827 | 827 |
| |
828 | 828 |
| |
829 | 829 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | + | ||
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
20 | + | ||
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
25 | + | ||
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | - | ||
23 | + | ||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | - | ||
39 | + | ||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | - | ||
43 | + | ||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | - | ||
76 | + | ||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 | - | ||
144 | + | ||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
469 | + | ||
469 | 470 |
| |
470 | 471 |
| |
471 | 472 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 | - | ||
179 | + | ||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4976 | 4976 |
| |
4977 | 4977 |
| |
4978 | 4978 |
| |
4979 | + | ||
4979 | 4980 |
| |
4980 | 4981 |
| |
4981 | 4982 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
789 | 789 |
| |
790 | 790 |
| |
791 | 791 |
| |
792 | - | ||
792 | + | ||
793 | 793 |
| |
794 | 794 |
| |
795 | 795 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 | - | ||
52 | + | ||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
|
0 commit comments