-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtest_errors.txt
More file actions
4132 lines (3772 loc) · 223 KB
/
test_errors.txt
File metadata and controls
4132 lines (3772 loc) · 223 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Blocking waiting for file lock on build directory
Compiling llmkg v0.1.0 (C:\code\LLMKG)
warning: field `semantic_density` is never read
--> tests\minimal_validation.rs:192:9
|
189 | struct MockChunk {
| --------- field in this struct
...
192 | semantic_density: f64,
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: field `processing_time_ms` is never read
--> tests\minimal_validation.rs:282:9
|
279 | struct MockProcessingResult {
| -------------------- field in this struct
...
282 | processing_time_ms: u64,
| ^^^^^^^^^^^^^^^^^^
warning: fields `entity_precision` and `relationship_recall` are never read
--> tests\minimal_validation.rs:331:9
|
329 | struct MockQualityMetrics {
| ------------------ fields in this struct
330 | overall_quality: f64,
331 | entity_precision: f64,
| ^^^^^^^^^^^^^^^^
332 | relationship_recall: f64,
| ^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved import `llmkg::Error`
--> tests\simple_link_test.rs:14:45
|
14 | use llmkg::{KnowledgeGraph, Result, Error};
| ^^^^^
| |
| no `Error` in the root
| help: a similar name exists in the module: `error`
|
= help: consider importing one of these items instead:
crate::simple_link_tests::LogLevel::Error
crate::simple_link_tests::monitoring::LogLevel::Error
crate::simple_link_tests::monitoring::collectors::test_execution_tracker::TestStatus::Error
std::error::Error
std::fmt::Error
std::fs::TryLockError::Error
std::io::Error
core::error::Error
core::fmt::Error
anyhow::Error
axum::Error
bincode::Error
chrono::format::Item::Error
clap::Error
clap::error::Error
dotenv::Error
futures::io::Error
futures_util::io::Error
llmkg::LogLevel::Error
llmkg::monitoring::LogLevel::Error
llmkg::monitoring::collectors::test_execution_tracker::TestStatus::Error
log::Level::Error
log::LevelFilter::Error
notify::Error
proptest::string::Error
rand::Error
regex::Error
reqwest::Error
rusqlite::Error
serde::de::Error
serde::de::value::Error
serde::ser::Error
serde_json::Error
syn::Error
tokio::io::Error
tokio::time::error::Error
tower_http::classify::GrpcFailureClass::Error
tower_http::classify::ServerErrorsFailureClass::Error
tower_http::classify::StatusInRangeFailureClass::Error
tracing_subscriber::reload::Error
uuid::Error
walkdir::Error
warp::Error
warning: unused import: `llmkg::*`
--> tests\simple_link_test.rs:3:9
|
3 | use llmkg::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `KnowledgeGraph`
--> tests\simple_link_test.rs:14:21
|
14 | use llmkg::{KnowledgeGraph, Result, Error};
| ^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0432`.
warning: `llmkg` (test "simple_link_test") generated 2 warnings
error: could not compile `llmkg` (test "simple_link_test") due to 1 previous error; 2 warnings emitted
warning: build failed, waiting for other jobs to finish...
warning: unnecessary parentheses around block return value
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:359:21
|
359 | (entity_quality * 0.3 + relation_quality * 0.3 + entity_count_score * 0.2 + relation_count_score * 0.2)
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
359 - (entity_quality * 0.3 + relation_quality * 0.3 + entity_count_score * 0.2 + relation_count_score * 0.2)
359 + entity_quality * 0.3 + relation_quality * 0.3 + entity_count_score * 0.2 + relation_count_score * 0.2
|
warning: unused import: `std::path::PathBuf`
--> tests\enhanced_knowledge_storage\integration\hierarchical_storage_integration.rs:23:5
|
23 | use std::path::PathBuf;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused imports: `Deserialize` and `Serialize`
--> tests\enhanced_knowledge_storage\mocks\comprehensive_mock_data.rs:9:13
|
9 | use serde::{Serialize, Deserialize};
| ^^^^^^^^^ ^^^^^^^^^^^
warning: ambiguous glob re-exports
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^ the name `ProcessingResult` in the type namespace is first re-exported here
16 | pub use embedding_mocks::*;
17 | pub use comprehensive_mock_data::*;
| -------------------------- but the name `ProcessingResult` in the type namespace is also re-exported here
|
= note: `#[warn(ambiguous_glob_reexports)]` on by default
warning: ambiguous glob re-exports
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^ the name `EntityType` in the type namespace is first re-exported here
16 | pub use embedding_mocks::*;
17 | pub use comprehensive_mock_data::*;
| -------------------------- but the name `EntityType` in the type namespace is also re-exported here
warning: `EntityType` is ambiguous
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:259:53
|
259 | assert!(matches!(person_entity.entity_type, EntityType::Person));
| ^^^^^^^^^^ ambiguous name
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
= note: ambiguous because of multiple glob imports of a name in the same module
note: `EntityType` could refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
note: `EntityType` could also refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:17:9
|
17 | pub use comprehensive_mock_data::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
= note: `#[warn(ambiguous_glob_imports)]` on by default
warning: `EntityType` is ambiguous
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:265:50
|
265 | assert!(matches!(org_entity.entity_type, EntityType::Organization));
| ^^^^^^^^^^ ambiguous name
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
= note: ambiguous because of multiple glob imports of a name in the same module
note: `EntityType` could refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
note: `EntityType` could also refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:17:9
|
17 | pub use comprehensive_mock_data::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
warning: `EntityType` is ambiguous
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:277:30
|
277 | entity_type: EntityType::Person,
| ^^^^^^^^^^ ambiguous name
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
= note: ambiguous because of multiple glob imports of a name in the same module
note: `EntityType` could refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
note: `EntityType` could also refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:17:9
|
17 | pub use comprehensive_mock_data::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
warning: `EntityType` is ambiguous
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:283:30
|
283 | entity_type: EntityType::Concept,
| ^^^^^^^^^^ ambiguous name
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
= note: ambiguous because of multiple glob imports of a name in the same module
note: `EntityType` could refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
note: `EntityType` could also refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:17:9
|
17 | pub use comprehensive_mock_data::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
warning: `EntityType` is ambiguous
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:308:26
|
308 | entity_type: EntityType::Person,
| ^^^^^^^^^^ ambiguous name
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
= note: ambiguous because of multiple glob imports of a name in the same module
note: `EntityType` could refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:15:9
|
15 | pub use processing_mocks::*;
| ^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
note: `EntityType` could also refer to the enum imported here
--> tests\enhanced_knowledge_storage\mocks\mod.rs:17:9
|
17 | pub use comprehensive_mock_data::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `EntityType` to disambiguate
warning: unused import: `super::*`
--> tests\enhanced_knowledge_storage\mock_system_verification.rs:610:9
|
610 | use super::*;
| ^^^^^^^^
warning: unused import: `tokio::test`
--> tests\enhanced_knowledge_storage\comprehensive_mock_validation_test.rs:7:5
|
7 | use tokio::test;
| ^^^^^^^^^^^
warning: `llmkg` (test "minimal_validation") generated 3 warnings
error[E0599]: the method `join` exists for struct `Vec<&String>`, but its trait bounds were not satisfied
--> tests\enhanced_knowledge_storage\acceptance\end_to_end_workflow_validation.rs:606:14
|
603 | let combined_content = results.iter()
| ________________________________-
604 | | .map(|r| &r.content)
605 | | .collect::<Vec<_>>()
606 | | .join(" ");
| | -^^^^ method cannot be called on `Vec<&String>` due to unsatisfied trait bounds
| |_____________|
|
|
= note: the following trait bounds were not satisfied:
`[&std::string::String]: std::slice::Join<_>`
error[E0599]: no method named `get_stats` found for struct `tokio::sync::RwLockReadGuard<'_, llmkg::KnowledgeGraph>` in the current scope
--> tests\enhanced_knowledge_storage\integration\hierarchical_storage_integration.rs:406:41
|
406 | let stats = memory_lock.get_stats();
| ^^^^^^^^^
|
help: there is a method `get_path_stats` with a similar name, but with different arguments
--> C:\code\LLMKG\src\core\graph\path_finding.rs:345:5
|
345 | pub fn get_path_stats(&self, source: EntityKey, target: EntityKey) -> PathStats {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `find_similar` found for struct `llmkg::embedding::EmbeddingStore` in the current scope
--> tests\enhanced_knowledge_storage\integration\hierarchical_storage_integration.rs:413:59
|
413 | let embedding_results = system.embedding_tier.find_similar(query, 3)
| ^^^^^^^^^^^^ method not found in `EmbeddingStore`
error[E0599]: no method named `predicate_string` found for reference `&&comprehensive_mock_data::ComplexRelationship` in the current scope
--> tests\enhanced_knowledge_storage\mocks\comprehensive_mock_data.rs:1041:78
|
1041 | p.iter().map(|rel| format!("{} -> {} -> {}", rel.source, rel.predicate_string(), rel.target)).collect::<Vec<_>>()
| ^^^^^^^^^^^^^^^^ method not found in `&&ComplexRelationship`
|
help: one of the expressions' fields has a method of the same name
|
1041 | p.iter().map(|rel| format!("{} -> {} -> {}", rel.source, rel.predicate.predicate_string(), rel.target)).collect::<Vec<_>>()
| ++++++++++
error[E0560]: struct `llmkg::EntityData` has no field named `attributes`
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:92:25
|
92 | attributes: [
| ^^^^^^^^^^ `llmkg::EntityData` does not have this field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0599]: no variant or associated item named `Float` found for enum `llmkg::AttributeValue` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:95:72
|
95 | ... ("confidence".to_string(), AttributeValue::Float(entity.confidence)),
| ^^^^^ variant or associated item not found in `AttributeValue`
error[E0599]: no variant or associated item named `Float` found for enum `llmkg::AttributeValue` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:97:75
|
97 | ... ("quality_score".to_string(), AttributeValue::Float(quality_score)),
| ^^^^^ variant or associated item not found in `AttributeValue`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:103:25
|
103 | format!("{}_{}", document_id, entity.id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityData`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 1 argument but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:102:32
|
102 | graph_lock.add_entity(
| ^^^^^^^^^^
103 | format!("{}_{}", document_id, entity.id),
104 | entity_data
| ----------- unexpected argument #2 of type `llmkg::EntityData`
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\entity_operations.rs:78:12
|
78 | pub fn add_entity(&self, data: EntityData) -> Result<EntityKey> {
| ^^^^^^^^^^
help: remove the extra argument
|
103 - format!("{}_{}", document_id, entity.id),
104 - entity_data
103 + format!("{}_{}", document_id, entity.id)
|
error[E0560]: struct `llmkg::Relationship` has no field named `target`
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:111:25
|
111 | target: format!("{}_{}", document_id, relation.object_id),
| ^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `relationship_type`
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:112:25
|
112 | relationship_type: relation.predicate.clone(),
| ^^^^^^^^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `properties`
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:114:25
|
114 | properties: [
| ^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0599]: no variant or associated item named `Float` found for enum `llmkg::AttributeValue` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:116:72
|
116 | ... ("confidence".to_string(), AttributeValue::Float(relation.confidence)),
| ^^^^^ variant or associated item not found in `AttributeValue`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:121:25
|
121 | format!("{}_{}", document_id, relation.subject_id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityKey`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 3 arguments but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:120:32
|
120 | graph_lock.add_relationship(
| ________________________________^^^^^^^^^^^^^^^^-
121 | | format!("{}_{}", document_id, relation.subject_id),
122 | | relationship
| | ------------ expected `EntityKey`, found `Relationship`
123 | | ).map_err(|e| format!("Failed to store relationship: {:?}", e))?;
| |_____________________- argument #3 of type `f32` is missing
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\relationship_operations.rs:40:12
|
40 | pub fn add_relationship(&self, from: EntityKey, to: EntityKey, weight: f32) -> Result<()> {
| ^^^^^^^^^^^^^^^^
help: provide the argument
|
120 - graph_lock.add_relationship(
121 - format!("{}_{}", document_id, relation.subject_id),
122 - relationship
123 - ).map_err(|e| format!("Failed to store relationship: {:?}", e))?;
120 + graph_lock.add_relationship(format!("{}_{}", document_id, relation.subject_id), /* EntityKey */, /* f32 */).map_err(|e| format!("Failed to store relationship: {:?}", e))?;
|
error[E0599]: no method named `add_embedding` found for struct `llmkg::embedding::EmbeddingStore` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:143:38
|
143 | self.embedding_store.add_embedding(
| ---------------------^^^^^^^^^^^^^
|
help: there is a method `get_embedding` with a similar name, but with different arguments
--> C:\code\LLMKG\src\embedding\store.rs:40:5
|
40 | pub fn get_embedding(&self, offset: u32) -> Result<Vec<f32>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound `ExtractionResult: Serialize` is not satisfied
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:153:37
|
153 | let document_metadata = serde_json::json!({
| _____________________________________^
154 | | "document_id": document_id,
155 | | "content": content,
156 | | "extraction": extraction,
... |
168 | | "processed_at": chrono::Utc::now().to_rfc3339()
169 | | });
| | ^
| | |
| |______________the trait `Serialize` is not implemented for `ExtractionResult`
| required by a bound introduced by this call
|
= note: for local types consider adding `#[derive(serde::Serialize)]` to your `ExtractionResult` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `Serialize`:
&'a T
&'a mut T
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
and 653 others
= note: required for `&ExtractionResult` to implement `Serialize`
note: required by a bound in `to_value`
--> C:\Users\hotra\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\serde_json-1.0.141\src\value\mod.rs:990:8
|
988 | pub fn to_value<T>(value: T) -> Result<Value, Error>
| -------- required by a bound in this function
989 | where
990 | T: Serialize,
| ^^^^^^^^^ required by this bound in `to_value`
= note: this error originates in the macro `$crate::json_internal` which comes from the expansion of the macro `serde_json::json` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `store` found for struct `llmkg::PersistentMMapStorage` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:171:26
|
171 | self.storage.store(
| -------------^^^^^ method not found in `PersistentMMapStorage`
error[E0599]: no method named `get_stats` found for struct `tokio::sync::RwLockReadGuard<'_, llmkg::KnowledgeGraph>` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:229:36
|
229 | let stats = graph_lock.get_stats();
| ^^^^^^^^^
|
help: there is a method `get_path_stats` with a similar name, but with different arguments
--> C:\code\LLMKG\src\core\graph\path_finding.rs:345:5
|
345 | pub fn get_path_stats(&self, source: EntityKey, target: EntityKey) -> PathStats {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0063]: missing fields `canonical_name`, `end_pos`, `linked_id` and 4 other fields in initializer of `ExtractionEntity`
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:234:17
|
234 | llmkg::extraction::Entity {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `canonical_name`, `end_pos`, `linked_id` and 4 other fields
error[E0599]: no method named `process_complex_query` found for struct `llmkg::CognitiveOrchestrator` in the current scope
--> tests\enhanced_knowledge_integration\end_to_end_document_processing.rs:242:54
|
242 | let reasoning_result = self.orchestrator.process_complex_query(
| ------------------^^^^^^^^^^^^^^^^^^^^^ method not found in `CognitiveOrchestrator`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `max_reasoning_depth`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:35:17
|
35 | max_reasoning_depth: 10, // Allow deeper reasoning
| ^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `confidence_threshold`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:36:17
|
36 | confidence_threshold: 0.3, // Lower threshold for exploration
| ^^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `enable_creative_reasoning`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:37:17
|
37 | enable_creative_reasoning: true,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `timeout_seconds`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:38:17
|
38 | timeout_seconds: 60, // Longer timeout for complex reasoning
| ^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:40:32
|
40 | let orchestrator = CognitiveOrchestrator::new(config);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------ argument #1 of type `std::sync::Arc<llmkg::BrainEnhancedKnowledgeGraph>` is missing
|
note: associated function defined here
--> C:\code\LLMKG\src\cognitive\orchestrator.rs:61:18
|
61 | pub async fn new(
| ^^^
help: provide the argument
|
40 | let orchestrator = CognitiveOrchestrator::new(/* std::sync::Arc<llmkg::BrainEnhancedKnowledgeGraph> */, config);
| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:46:17
|
46 | orchestrator,
| ^^^^^^^^^^^^ expected `CognitiveOrchestrator`, found future
error[E0560]: struct `llmkg::EntityData` has no field named `attributes`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:98:29
|
98 | ... attributes: [
| ^^^^^^^^^^ `llmkg::EntityData` does not have this field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0599]: no variant or associated item named `Float` found for enum `llmkg::AttributeValue` in the current scope
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:101:76
|
101 | ... ("confidence".to_string(), AttributeValue::Float(entity.confidence)),
| ^^^^^ variant or associated item not found in `AttributeValue`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:108:29
|
108 | ... format!("{}_{}", category, entity.id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityData`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 1 argument but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:107:36
|
107 | graph_lock.add_entity(
| ^^^^^^^^^^
108 | format!("{}_{}", category, entity.id),
109 | entity_data
| ----------- unexpected argument #2 of type `llmkg::EntityData`
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\entity_operations.rs:78:12
|
78 | pub fn add_entity(&self, data: EntityData) -> Result<EntityKey> {
| ^^^^^^^^^^
help: remove the extra argument
|
108 - format!("{}_{}", category, entity.id),
109 - entity_data
108 + format!("{}_{}", category, entity.id)
|
error[E0560]: struct `llmkg::Relationship` has no field named `target`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:115:29
|
115 | ... target: format!("{}_{}", category, relation.object_id),
| ^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `relationship_type`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:116:29
|
116 | ... relationship_type: relation.predicate.clone(),
| ^^^^^^^^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `properties`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:118:29
|
118 | ... properties: [
| ^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:125:29
|
125 | ... format!("{}_{}", category, relation.subject_id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityKey`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 3 arguments but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:124:36
|
124 | graph_lock.add_relationship(
| ____________________________________^^^^^^^^^^^^^^^^-
125 | | format!("{}_{}", category, relation.subject_id),
126 | | relationship
| | ------------ expected `EntityKey`, found `Relationship`
127 | | ).map_err(|e| format!("Failed to add relationship from {}: {:?}", category, e))?;
| |_________________________- argument #3 of type `f32` is missing
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\relationship_operations.rs:40:12
|
40 | pub fn add_relationship(&self, from: EntityKey, to: EntityKey, weight: f32) -> Result<()> {
| ^^^^^^^^^^^^^^^^
help: provide the argument
|
124 - graph_lock.add_relationship(
125 - format!("{}_{}", category, relation.subject_id),
126 - relationship
127 - ).map_err(|e| format!("Failed to add relationship from {}: {:?}", category, e))?;
124 + graph_lock.add_relationship(format!("{}_{}", category, relation.subject_id), /* EntityKey */, /* f32 */).map_err(|e| format!("Failed to add relationship from {}: {:?}", category, e))?;
|
error[E0599]: no method named `add_embedding` found for struct `llmkg::embedding::EmbeddingStore` in the current scope
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:142:42
|
142 | self.embedding_store.add_embedding(
| ---------------------^^^^^^^^^^^^^
|
help: there is a method `get_embedding` with a similar name, but with different arguments
--> C:\code\LLMKG\src\embedding\store.rs:40:5
|
40 | pub fn get_embedding(&self, offset: u32) -> Result<Vec<f32>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `get_stats` found for struct `tokio::sync::RwLockReadGuard<'_, llmkg::KnowledgeGraph>` in the current scope
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:157:36
|
157 | let stats = graph_lock.get_stats();
| ^^^^^^^^^
|
help: there is a method `get_path_stats` with a similar name, but with different arguments
--> C:\code\LLMKG\src\core\graph\path_finding.rs:345:5
|
345 | pub fn get_path_stats(&self, source: EntityKey, target: EntityKey) -> PathStats {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0063]: missing fields `canonical_name`, `end_pos`, `linked_id` and 4 other fields in initializer of `ExtractionEntity`
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:162:17
|
162 | llmkg::extraction::Entity {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `canonical_name`, `end_pos`, `linked_id` and 4 other fields
error[E0599]: no method named `process_complex_query` found for struct `llmkg::CognitiveOrchestrator` in the current scope
--> tests\enhanced_knowledge_integration\multi_hop_reasoning_integration.rs:170:54
|
170 | let reasoning_result = self.orchestrator.process_complex_query(
| ------------------^^^^^^^^^^^^^^^^^^^^^ method not found in `CognitiveOrchestrator`
error[E0061]: this function takes 1 argument but 0 arguments were supplied
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:33:46
|
33 | let graph = Arc::new(RwLock::new(KnowledgeGraph::new()));
| ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `usize` is missing
|
note: associated function defined here
--> C:\code\LLMKG\src\core\graph\graph_core.rs:302:12
|
302 | pub fn new(embedding_dim: usize) -> Result<Self> {
| ^^^
help: provide the argument
|
33 | let graph = Arc::new(RwLock::new(KnowledgeGraph::new(/* usize */)));
| +++++++++++
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:35:35
|
35 | let embedding_store = EmbeddingStore::new(384).expect("Failed to create embedding store");
| ^^^^^^^^^^^^^^^^^^^----- argument #2 of type `usize` is missing
|
note: associated function defined here
--> C:\code\LLMKG\src\embedding\store.rs:14:12
|
14 | pub fn new(dimension: usize, subvector_count: usize) -> Result<Self> {
| ^^^
help: provide the argument
|
35 | let embedding_store = EmbeddingStore::new(384, /* usize */).expect("Failed to create embedding store");
| +++++++++++++
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `max_reasoning_depth`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:37:17
|
37 | max_reasoning_depth: 5,
| ^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `confidence_threshold`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:38:17
|
38 | confidence_threshold: 0.4,
| ^^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `enable_creative_reasoning`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:39:17
|
39 | enable_creative_reasoning: true,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0560]: struct `llmkg::CognitiveOrchestratorConfig` has no field named `timeout_seconds`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:40:17
|
40 | timeout_seconds: 10, // Shorter timeout for load testing
| ^^^^^^^^^^^^^^^ `llmkg::CognitiveOrchestratorConfig` does not have this field
|
= note: available fields are: `enable_adaptive_selection`, `enable_ensemble_methods`, `default_timeout_ms`, `max_parallel_patterns`, `performance_tracking`
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:42:32
|
42 | let orchestrator = CognitiveOrchestrator::new(config);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------ argument #1 of type `std::sync::Arc<llmkg::BrainEnhancedKnowledgeGraph>` is missing
|
note: associated function defined here
--> C:\code\LLMKG\src\cognitive\orchestrator.rs:61:18
|
61 | pub async fn new(
| ^^^
help: provide the argument
|
42 | let orchestrator = CognitiveOrchestrator::new(/* std::sync::Arc<llmkg::BrainEnhancedKnowledgeGraph> */, config);
| +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:45:17
|
45 | graph,
| ^^^^^ expected `Arc<RwLock<KnowledgeGraph>>`, found `Arc<RwLock<Result<KnowledgeGraph, ...>>>`
|
= note: expected struct `std::sync::Arc<tokio::sync::RwLock<llmkg::KnowledgeGraph>>`
found struct `std::sync::Arc<tokio::sync::RwLock<Result<llmkg::KnowledgeGraph, llmkg::GraphError>>>`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:48:17
|
48 | orchestrator,
| ^^^^^^^^^^^^ expected `CognitiveOrchestrator`, found future
error[E0560]: struct `llmkg::EntityData` has no field named `attributes`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:97:25
|
97 | attributes: [
| ^^^^^^^^^^ `llmkg::EntityData` does not have this field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:105:25
|
105 | format!("{}_{}", doc_id, entity.id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityData`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 1 argument but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:104:32
|
104 | graph_lock.add_entity(
| ^^^^^^^^^^
105 | format!("{}_{}", doc_id, entity.id),
106 | entity_data
| ----------- unexpected argument #2 of type `llmkg::EntityData`
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\entity_operations.rs:78:12
|
78 | pub fn add_entity(&self, data: EntityData) -> Result<EntityKey> {
| ^^^^^^^^^^
help: remove the extra argument
|
105 - format!("{}_{}", doc_id, entity.id),
106 - entity_data
105 + format!("{}_{}", doc_id, entity.id)
|
error[E0560]: struct `llmkg::Relationship` has no field named `target`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:112:25
|
112 | target: format!("{}_{}", doc_id, relation.object_id),
| ^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `relationship_type`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:113:25
|
113 | relationship_type: relation.predicate.clone(),
| ^^^^^^^^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0560]: struct `llmkg::Relationship` has no field named `properties`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:115:25
|
115 | properties: [
| ^^^^^^^^^^ `llmkg::Relationship` does not have this field
|
= note: available fields are: `from`, `to`, `rel_type`
error[E0308]: mismatched types
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:121:25
|
121 | format!("{}_{}", doc_id, relation.subject_id),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EntityKey`, found `String`
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0061]: this method takes 3 arguments but 2 arguments were supplied
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:120:32
|
120 | graph_lock.add_relationship(
| ________________________________^^^^^^^^^^^^^^^^-
121 | | format!("{}_{}", doc_id, relation.subject_id),
122 | | relationship
| | ------------ expected `EntityKey`, found `Relationship`
123 | | ).map_err(|e| format!("Relationship storage failed: {:?}", e))?;
| |_____________________- argument #3 of type `f32` is missing
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\relationship_operations.rs:40:12
|
40 | pub fn add_relationship(&self, from: EntityKey, to: EntityKey, weight: f32) -> Result<()> {
| ^^^^^^^^^^^^^^^^
help: provide the argument
|
120 - graph_lock.add_relationship(
121 - format!("{}_{}", doc_id, relation.subject_id),
122 - relationship
123 - ).map_err(|e| format!("Relationship storage failed: {:?}", e))?;
120 + graph_lock.add_relationship(format!("{}_{}", doc_id, relation.subject_id), /* EntityKey */, /* f32 */).map_err(|e| format!("Relationship storage failed: {:?}", e))?;
|
error[E0599]: no method named `add_embedding` found for struct `llmkg::embedding::EmbeddingStore` in the current scope
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:133:38
|
133 | self.embedding_store.add_embedding(
| ---------------------^^^^^^^^^^^^^
|
help: there is a method `get_embedding` with a similar name, but with different arguments
--> C:\code\LLMKG\src\embedding\store.rs:40:5
|
40 | pub fn get_embedding(&self, offset: u32) -> Result<Vec<f32>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0063]: missing fields `canonical_name`, `end_pos`, `linked_id` and 4 other fields in initializer of `ExtractionEntity`
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:153:25
|
153 | llmkg::extraction::Entity {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `canonical_name`, `end_pos`, `linked_id` and 4 other fields
error[E0599]: no method named `process_complex_query` found for reference `&llmkg::CognitiveOrchestrator` in the current scope
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:161:47
|
161 | let result = orchestrator.process_complex_query(
| -------------^^^^^^^^^^^^^^^^^^^^^ method not found in `&CognitiveOrchestrator`
error[E0599]: no method named `get_stats` found for struct `tokio::sync::RwLockReadGuard<'_, llmkg::KnowledgeGraph>` in the current scope
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:198:28
|
198 | graph_lock.get_stats()
| ^^^^^^^^^
|
help: there is a method `get_path_stats` with a similar name, but with different arguments
--> C:\code\LLMKG\src\core\graph\path_finding.rs:345:5
|
345 | pub fn get_path_stats(&self, source: EntityKey, target: EntityKey) -> PathStats {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `get_memory_usage` found for struct `tokio::sync::RwLockReadGuard<'_, llmkg::KnowledgeGraph>` in the current scope
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:203:28
|
203 | graph_lock.get_memory_usage()
| ^^^^^^^^^^^^^^^^
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `model_mocks::ModelBackendTrait` defines an item `get_memory_usage`, perhaps you need to implement it
--> tests\enhanced_knowledge_storage\mocks\model_mocks.rs:99:1
|
99 | pub trait ModelBackendTrait {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: there is a method `memory_usage` with a similar name
|
203 - graph_lock.get_memory_usage()
203 + graph_lock.memory_usage()
|
error[E0599]: no method named `get_info` found for struct `llmkg::embedding::EmbeddingStore` in the current scope
--> tests\enhanced_knowledge_integration\performance_load_tests.rs:206:55
|
206 | let embedding_info = self.embedding_store.get_info();
| ^^^^^^^^ method not found in `EmbeddingStore`
error[E0560]: struct `llmkg::EntityData` has no field named `attributes`
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:74:21
|
74 | attributes: [
| ^^^^^^^^^^ `llmkg::EntityData` does not have this field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0599]: no variant or associated item named `Float` found for enum `llmkg::AttributeValue` in the current scope
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:77:68
|
77 | ("confidence".to_string(), AttributeValue::Float(entity.confidence)),
| ^^^^^ variant or associated item not found in `AttributeValue`
error[E0609]: no field `attributes` on type `llmkg::EntityData`
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:85:35
|
85 | enriched_data.attributes.insert(
| ^^^^^^^^^^ unknown field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0609]: no field `attributes` on type `llmkg::EntityData`
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:89:35
|
89 | enriched_data.attributes.insert(
| ^^^^^^^^^^ unknown field
|
= note: available fields are: `type_id`, `properties`, `embedding`
error[E0061]: this method takes 1 argument but 2 arguments were supplied
--> tests\enhanced_knowledge_storage\integration\knowledge_processing_integration.rs:102:32
|
102 | graph_lock.add_entity(entity_id.clone(), entity_data.clone())
| ^^^^^^^^^^ ----------------- unexpected argument #1 of type `std::string::String`
|
note: method defined here
--> C:\code\LLMKG\src\core\graph\entity_operations.rs:78:12
|
78 | pub fn add_entity(&self, data: EntityData) -> Result<EntityKey> {
| ^^^^^^^^^^
help: remove the extra argument
|
102 - graph_lock.add_entity(entity_id.clone(), entity_data.clone())
102 + graph_lock.add_entity(entity_data.clone())
|
error[E0560]: struct `llmkg::Relationship` has no field named `target`