datafold 0.1.39

A personal database for data sovereignty with AI-powered ingestion
Documentation
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
warning: failed to parse serde attribute
  | 
  | #[serde(into = "String", try_from = "String")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: unused import: `tokio::sync::Mutex`
 --> src/datafold_node/operation_processor.rs:6:5
  |
6 | use tokio::sync::Mutex;
  |     ^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `std::thread`
 --> src/fold_db_core/orchestration/index_event_handler.rs:7:5
  |
7 | use std::thread;
  |     ^^^^^^^^^^^

warning: unused import: `TableConfig`
 --> src/lambda/config.rs:5:53
  |
5 | use crate::storage::{StorageConfig, DynamoDbConfig, TableConfig};
  |                                                     ^^^^^^^^^^^

warning: unused import: `NodeConfig`
 --> src/lambda/context.rs:5:42
  |
5 | use crate::datafold_node::{DataFoldNode, NodeConfig};
  |                                          ^^^^^^^^^^

warning: unused import: `crate::fold_db_core::FoldDB`
 --> src/lambda/context.rs:7:5
  |
7 | use crate::fold_db_core::FoldDB;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `LambdaStorage`
  --> src/lambda/context.rs:11:65
   |
11 | use crate::lambda::config::{AIConfig, AIProvider, LambdaConfig, LambdaStorage};
   |                                                                 ^^^^^^^^^^^^^

warning: unused import: `crate::storage::StorageConfig`
  --> src/lambda/context.rs:14:5
   |
14 | use crate::storage::StorageConfig;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `Mutex`
  --> src/lambda/context.rs:16:22
   |
16 | use std::sync::{Arc, Mutex};
   |                      ^^^^^

warning: unused import: `DynamoDbConfig`
  --> src/lambda/node_manager.rs:76:45
   |
76 |         use crate::storage::{StorageConfig, DynamoDbConfig};
   |                                             ^^^^^^^^^^^^^^

warning: unused import: `tracing_subscriber::layer::SubscriberExt`
 --> src/logging/outputs/console.rs:7:5
  |
7 | use tracing_subscriber::layer::SubscriberExt;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `tracing_subscriber::layer::SubscriberExt`
 --> src/logging/outputs/file.rs:7:5
  |
7 | use tracing_subscriber::layer::SubscriberExt;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `tracing_subscriber::layer::SubscriberExt`
 --> src/logging/outputs/structured.rs:7:5
  |
7 | use tracing_subscriber::layer::SubscriberExt;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `get_current_user_id`
 --> src/logging/outputs/dynamodb.rs:8:56
  |
8 | use crate::logging::core::{Logger, LogEntry, LogLevel, get_current_user_id};
  |                                                        ^^^^^^^^^^^^^^^^^^^

warning: unused import: `fetch_atoms_for_matches`
  --> src/schema/types/field/hash_range_field.rs:12:78
   |
12 | use crate::schema::types::field::{FilterApplicator, apply_hash_range_filter, fetch_atoms_for_matches};
   |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `fetch_atoms_for_matches`
  --> src/schema/types/field/range_field.rs:11:113
   |
11 | use crate::schema::types::field::{HashRangeFilter, HashRangeFilterResult, FilterApplicator, apply_range_filter, fetch_atoms_for_matches};
   |                                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `fetch_atoms_for_matches`
 --> src/schema/types/field/single_field.rs:8:75
  |
8 | use crate::schema::types::field::{HashRangeFilter, HashRangeFilterResult, fetch_atoms_for_matches, FilterApplicator};
  |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
   --> src/ingestion/progress.rs:203:34
    |
203 |         let config = aws_config::load_from_env().await;
    |                                  ^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
  --> src/logging/mod.rs:98:46
   |
98 |                 let sdk_config = aws_config::from_env().region(region_provider).load().await;
   |                                              ^^^^^^^^

warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
  --> src/logging/outputs/dynamodb.rs:29:34
   |
29 |         let config = aws_config::load_from_env().await;
   |                                  ^^^^^^^^^^^^^

warning: use of deprecated function `schema::types::field::filter_utils::fetch_atoms_for_matches`: Use fetch_atoms_for_matches_async instead
  --> src/schema/types/field/mod.rs:17:5
   |
17 |     fetch_atoms_for_matches,
   |     ^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated function `schema::types::field::filter_utils::fetch_atoms_for_matches`: Use fetch_atoms_for_matches_async instead
  --> src/schema/types/field/hash_range_field.rs:12:78
   |
12 | use crate::schema::types::field::{FilterApplicator, apply_hash_range_filter, fetch_atoms_for_matches};
   |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated function `schema::types::field::filter_utils::fetch_atoms_for_matches`: Use fetch_atoms_for_matches_async instead
  --> src/schema/types/field/range_field.rs:11:113
   |
11 | use crate::schema::types::field::{HashRangeFilter, HashRangeFilterResult, FilterApplicator, apply_range_filter, fetch_atoms_for_matches};
   |                                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated function `schema::types::field::filter_utils::fetch_atoms_for_matches`: Use fetch_atoms_for_matches_async instead
 --> src/schema/types/field/single_field.rs:8:75
  |
8 | use crate::schema::types::field::{HashRangeFilter, HashRangeFilterResult, fetch_atoms_for_matches, FilterApplicator};
  |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused variable: `non_blocking`
  --> src/logging/outputs/file.rs:51:14
   |
51 |         let (non_blocking, guard) = non_blocking(file_appender);
   |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_non_blocking`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: associated function `parse_file_size` is never used
  --> src/logging/outputs/file.rs:86:8
   |
19 | impl FileOutput {
   | --------------- associated function in this implementation
...
86 |     fn parse_file_size(size_str: &str) -> Result<u64, LoggingError> {
   |        ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: failed to parse serde attribute
  | 
  | #[serde(into = "String", try_from = "String")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: unused import: `LambdaStorage`
   --> src/lambda/node_manager.rs:174:47
    |
174 |     use crate::lambda::config::{LambdaConfig, LambdaStorage};
    |                                               ^^^^^^^^^^^^^

warning: unused variable: `fold_db`
   --> src/ingestion/core.rs:953:13
    |
953 |         let fold_db = FoldDB::new(&test_path).await.unwrap();
    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fold_db`

warning: unused variable: `schemas`
   --> src/storage/dynamodb_store.rs:543:13
    |
543 |         let schemas = store.list_schema_names().await.unwrap();
    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schemas`

warning: `datafold` (lib) generated 25 warnings (run `cargo fix --lib -p datafold` to apply 16 suggestions)
warning: `datafold` (lib test) generated 28 warnings (25 duplicates) (run `cargo fix --lib -p datafold --tests` to apply 1 suggestion)
warning: unused import: `StdoutLogger`
  --> examples/lambda_simple_logger_test.rs:26:68
   |
26 | use datafold::lambda::{LambdaConfig, LambdaContext, LambdaLogging, StdoutLogger};
   |                                                                    ^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused import: `std::sync::Arc`
  --> examples/lambda_simple_logger_test.rs:34:5
   |
34 | use std::sync::Arc;
   |     ^^^^^^^^^^^^^^

warning: unused import: `std::time::Duration`
 --> tests/test_ingestion_progress.rs:4:5
  |
4 | use std::time::Duration;
  |     ^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
  --> tests/test_ingestion_progress.rs:48:30
   |
48 |     let config = aws_config::load_from_env().await;
   |                              ^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
  --> tests/test_ingestion_progress.rs:83:30
   |
83 |     let config = aws_config::load_from_env().await;
   |                              ^^^^^^^^^^^^^

   Compiling datafold v0.1.38 (/Users/tomtang/Documents/projects/datafold-exemem/fold_db)
warning: `datafold` (example "lambda_simple_logger_test") generated 2 warnings (run `cargo fix --example "lambda_simple_logger_test"` to apply 2 suggestions)
warning: `datafold` (test "test_ingestion_progress") generated 3 warnings (run `cargo fix --test "test_ingestion_progress"` to apply 1 suggestion)
warning: method `has_log_containing` is never used
  --> tests/lambda_ingestion_logging_test.rs:34:14
   |
15 | impl TestLogger {
   | --------------- method in this implementation
...
34 |     async fn has_log_containing(&self, substring: &str) -> bool {
   |              ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: unused import: `LogLevel`
 --> tests/lambda_sync_logging_test.rs:2:71
  |
2 | use datafold::lambda::{LambdaConfig, LambdaContext, Logger, LogEntry, LogLevel, LambdaLogging};
  |                                                                       ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `datafold::ingestion::IngestionError`
 --> tests/lambda_sync_logging_test.rs:3:5
  |
3 | use datafold::ingestion::IngestionError;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `std::collections::HashMap`
 --> tests/lambda_sync_logging_test.rs:9:5
  |
9 | use std::collections::HashMap;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused variable: `mutation_json`
  --> tests/transform_execution_test.rs:78:9
   |
78 |     let mutation_json = json!({
   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutation_json`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: `datafold` (test "lambda_ingestion_logging_test") generated 1 warning
warning: `datafold` (test "lambda_sync_logging_test") generated 3 warnings (run `cargo fix --test "lambda_sync_logging_test"` to apply 3 suggestions)
warning: `datafold` (test "transform_execution_test") generated 1 warning
warning: unused import: `SledNamespacedStore`
  --> examples/storage_abstraction_demo.rs:12:25
   |
12 | use datafold::storage::{SledNamespacedStore, InMemoryNamespacedStore, NamespacedStore};
   |                         ^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused import: `HttpResponse`
 --> tests/mock_check.rs:2:65
  |
2 | use aws_smithy_runtime_api::client::orchestrator::{HttpRequest, HttpResponse};
  |                                                                 ^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `aws_smithy_runtime_api::box_error::BoxError`
 --> tests/mock_check.rs:3:5
  |
3 | use aws_smithy_runtime_api::box_error::BoxError;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: `datafold` (example "storage_abstraction_demo") generated 1 warning (run `cargo fix --example "storage_abstraction_demo"` to apply 1 suggestion)
warning: `datafold` (test "mock_check") generated 2 warnings (run `cargo fix --test "mock_check"` to apply 2 suggestions)
warning: unused import: `LogLevel`
 --> tests/logging_verification_test.rs:5:71
  |
5 | use datafold::lambda::{LambdaConfig, LambdaContext, Logger, LogEntry, LogLevel, LambdaLogging};
  |                                                                       ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `StdoutLogger`
 --> tests/lambda_query_test.rs:3:68
  |
3 | use datafold::lambda::{LambdaConfig, LambdaContext, LambdaLogging, StdoutLogger};
  |                                                                    ^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `serde_json::json`
 --> tests/lambda_query_test.rs:6:5
  |
6 | use serde_json::json;
  |     ^^^^^^^^^^^^^^^^

warning: unused import: `std::sync::Arc`
 --> tests/lambda_query_test.rs:7:5
  |
7 | use std::sync::Arc;
  |     ^^^^^^^^^^^^^^

warning: unused imports: `LambdaConfig`, `LambdaContext`, `LambdaLogging`, and `StdoutLogger`
  --> examples/lambda_dynamodb_logger.rs:77:24
   |
77 | use datafold::lambda::{LambdaConfig, LambdaContext, StdoutLogger, Logger, LogEntry, LogLevel, LambdaLogging};
   |                        ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^                              ^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: use of deprecated function `aws_config::load_from_env`: Use the `aws_config::load_defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away.
   --> examples/lambda_dynamodb_logger.rs:112:34
    |
112 |         let config = aws_config::load_from_env().await;
    |                                  ^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: `datafold` (test "logging_verification_test") generated 1 warning (run `cargo fix --test "logging_verification_test"` to apply 1 suggestion)
warning: `datafold` (test "lambda_query_test") generated 3 warnings (run `cargo fix --test "lambda_query_test"` to apply 3 suggestions)
warning: `datafold` (example "lambda_dynamodb_logger") generated 2 warnings (run `cargo fix --example "lambda_dynamodb_logger"` to apply 1 suggestion)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s
     Running unittests src/lib.rs (target/debug/deps/datafold-00d1ae761a00b1b7)

running 291 tests
test atom::atom_def::tests::test_atom_with_prev_reference ... ok
test datafold_node::llm_query::session::tests::test_create_session ... ok
test atom::molecule_tests::tests::test_molecule_creation_and_update ... ok
test atom::atom_def::tests::test_atom_creation ... ok
test atom::atom_def::tests::test_molecule_creation_and_update ... ok
test datafold_node::llm_query::session::tests::test_add_results ... ok
test datafold_node::llm_query::session::tests::test_get_existing_session ... ok
test atom::molecule_tests::tests::test_molecule_range_single_atom_per_key ... ok
test atom::molecule_tests::tests::test_molecule_range ... ok
test datafold_node::security_routes::tests::minimal ... ok
test datafold_node::operation_processor::tests::test_operation_processor_creation ... ok
test db_operations::error_utils::tests::test_error_formatting ... ok
test db_operations::error_utils::tests::test_lock_error ... ok
test db_operations::error_utils::tests::test_not_found_error ... ok
test db_operations::native_index_ai_classifier::tests::test_heuristic_classification_author ... ok
test db_operations::native_index_ai_classifier::tests::test_heuristic_classification_email ... ok
test db_operations::native_index_classification::tests::test_classification_type_from_prefix ... ok
test db_operations::native_index_classification::tests::test_classification_type_prefix ... ok
test db_operations::native_index_classification::tests::test_word_only_classification ... ok
test error_handling::iterator_utils::tests::test_collect_with_limit ... ok
test error_handling::iterator_utils::tests::test_first_with_context ... ok
test error_handling::iterator_utils::tests::test_next_with_context ... ok
test error_handling::parser_utils::tests::test_error_creation ... ok
test error_handling::parser_utils::tests::test_iterator_exhausted_error ... ok
test error_handling::regex_utils::tests::test_capture_groups ... ok
test error_handling::regex_utils::tests::test_cross_reference_pattern ... ok
test error_handling::regex_utils::tests::test_regex_compilation ... ok
test error_handling::string_utils::tests::test_first_char ... ok
test error_handling::string_utils::tests::test_parse_number ... ok
test error_handling::string_utils::tests::test_safe_substring ... ok
test error_handling::string_utils::tests::test_split_and_get ... ok
test error_handling::string_utils::tests::test_starts_with_checks ... ok
test error_handling::string_utils::tests::test_trim_non_empty ... ok
test error_handling::tests::test_safe_iterator ... ok
test error_handling::tests::test_safe_string ... ok
test error_handling::tests::test_safe_unwrap_option ... ok
test fold_db_core::infrastructure::backfill_tracker::export_bindings_backfillinfo ... ok
test fold_db_core::infrastructure::backfill_tracker::export_bindings_backfillstatistics ... ok
test fold_db_core::infrastructure::backfill_tracker::export_bindings_backfillstatus ... ok
test datafold_node::transform_queue::tests::queue_info_works ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_consumer_timeout ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_consumer_try_recv ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_message_bus_creation ... ok
test datafold_node::system_routes::tests::test_system_status ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_no_subscribers ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_publish_event ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_subscribe ... ok
test fold_db_core::infrastructure::message_bus::async_bus::tests::test_async_subscribe_all ... ok
test fold_db_core::mutation_completion_handler::tests::test_cleanup_untracked_mutation ... ok
test fold_db_core::mutation_completion_handler::tests::test_cleanup_mutation ... ok
test fold_db_core::mutation_completion_handler::tests::test_concurrent_registrations ... ok
test fold_db_core::mutation_completion_handler::tests::test_diagnostics ... ok
test fold_db_core::mutation_completion_handler::tests::test_new_handler_creation ... ok
test fold_db_core::mutation_completion_handler::tests::test_register_mutation ... ok
test fold_db_core::mutation_completion_handler::tests::test_replace_existing_mutation ... ok
test fold_db_core::mutation_completion_handler::tests::test_signal_completion ... ok
test fold_db_core::mutation_completion_handler::tests::test_signal_completion_for_untracked_mutation ... ok
test datafold_node::node::tests::test_node_private_key_generation ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_emit_mutation_event ... ok
test datafold_node::system_routes::tests::test_private_and_public_keys_are_different ... ok
test datafold_node::system_routes::tests::test_get_node_public_key ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_handle_mutation_request ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_mutation_event_manager_creation ... ok
test datafold_node::system_routes::tests::test_reset_database_without_confirmation ... ok
test db_operations::native_index::tests::test_indexing_with_empty_classifications ... ok
test datafold_node::system_routes::tests::test_get_node_private_key ... ok
test fold_db_core::query::formatter::tests::field_metadata_is_serializable ... ok
test fold_db_core::query::formatter::tests::invert_field_map_into_records ... ok
test fold_db_core::query::formatter::tests::metadata_preserved_for_multiple_keys ... ok
test fold_db_core::query::formatter::tests::records_include_metadata ... ok
test fold_db_core::shared::error::tests::test_error_conversions ... ok
test fold_db_core::shared::error::tests::test_error_creation_helpers ... ok
test fold_db_core::shared::stats::tests::test_atom_stats ... ok
test fold_db_core::shared::stats::tests::test_field_stats ... ok
test fold_db_core::shared::stats::tests::test_folddb_stats ... ok
test fold_db_core::shared::stats::tests::test_schema_stats ... ok
test fold_db_core::shared::stats::tests::test_transform_stats ... ok
test fold_db_core::shared::stats::tests::test_transform_stats_comprehensive ... ok
test ingestion::config::tests::test_default_config ... ok
test datafold_node::embedded_server::tests::test_embedded_server_starts ... ok
test ingestion::config::tests::test_is_ready ... ok
test ingestion::config::tests::test_validation_ollama_succeeds_by_default ... ok
test ingestion::config::tests::test_validation_openrouter_fails_without_api_key ... ok
test ingestion::config::tests::test_validation_openrouter_succeeds_with_api_key ... ok
test fold_db_core::mutation_completion_handler::tests::test_wait_for_completion_success ... ok
test fold_db_core::mutation_completion_handler::tests::test_wait_for_completion_timeout ... ok
test ingestion::json_processor::tests::test_add_file_location_to_array ... ok
test ingestion::json_processor::tests::test_add_file_location_to_object ... ok
test ingestion::json_processor::tests::test_flatten_array_elements_preserves_multi_field_objects ... ok
test ingestion::json_processor::tests::test_flatten_array_elements_preserves_primitives ... ok
test fold_db_core::shared::stats::tests::test_activity_timestamp ... ok
test ingestion::json_processor::tests::test_flatten_array_elements_with_single_field_wrappers ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_save_and_load_state ... ok
test ingestion::json_processor::tests::test_flatten_complex_nested_structure ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_state_exists ... ok
test ingestion::json_processor::tests::test_flatten_direct_array_with_single_field_wrappers ... ok
test ingestion::json_processor::tests::test_flatten_root_root_to_array ... ok
test ingestion::json_processor::tests::test_flatten_root_to_array ... ok
test ingestion::json_processor::tests::test_flatten_with_array_keeps_array_structure ... ok
test ingestion::json_processor::tests::test_no_flatten_deep_nesting ... ok
test ingestion::json_processor::tests::test_no_flatten_direct_array ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_clear_state ... ok
test ingestion::json_processor::tests::test_no_flatten_multiple_fields ... ok
test ingestion::json_processor::tests::test_no_flatten_nested_object ... ok
test ingestion::multipart_parser::tests::test_hash_consistency ... ok
test ingestion::multipart_parser::tests::test_hash_uniqueness ... ok
test ingestion::multipart_parser::tests::test_unique_filename_format ... ok
test ingestion::mutation_generator::tests::test_generate_mutations ... ok
test ingestion::ollama_service::tests::test_pretty_json_helpers ... ok
test ingestion::core::tests::test_ingestion_with_missing_schema_dir ... ok
test ingestion::openrouter_service::tests::test_pretty_json_helpers ... ok
test ingestion::openrouter_service::tests::test_validate_and_convert_response ... ok
test ingestion::ollama_service::tests::test_validate_and_convert_response ... ok
test ingestion::openrouter_service::tests::test_extract_json_from_response ... ok
test ingestion::ollama_service::tests::test_extract_json_from_response ... ok
test datafold_node::llm_query::service::tests::test_prompt_shows_correct_vs_incorrect_examples ... ok
test datafold_node::llm_query::service::tests::test_prompt_includes_hash_and_range_keys ... ok
test ingestion::openrouter_service::tests::test_create_prompt_includes_sample_and_schemas ... ok
test ingestion::ollama_service::tests::test_create_prompt_includes_sample_and_schemas ... ok
test ingestion::structure_analyzer::tests::test_create_superset_structure_array ... ok
test ingestion::structure_analyzer::tests::test_create_superset_structure_single_object ... ok
test ingestion::structure_analyzer::tests::test_create_superset_structure_empty_array ... ok
test ingestion::routes::tests::test_get_ingestion_config ... ok
test ingestion::routes::tests::test_get_status ... ok
test ingestion::routes::tests::test_health_check ... ok
test ingestion::structure_analyzer::tests::test_type_variations ... ok
test lambda::config::tests::test_ai_config_custom_timeout_retries ... ok
test lambda::config::tests::test_lambda_config_builder_chain ... ok
test ingestion::structure_analyzer::tests::test_nested_structure_detection ... ok
test lambda::config::tests::test_lambda_config_builder_pattern ... ok
test lambda::config::tests::test_lambda_config_clone ... ok
test lambda::config::tests::test_lambda_config_creation ... ok
test lambda::config::tests::test_lambda_config_debug_impl ... ok
test lambda::config::tests::test_lambda_config_with_both_options ... ok
test lambda::config::tests::test_lambda_config_with_ollama ... ok
test lambda::config::tests::test_lambda_config_with_openrouter ... ok
test lambda::config::tests::test_lambda_config_with_storage_config ... ok
test lambda::config::tests::test_lambda_config_with_schema_service_url ... ok
test lambda::types::tests::test_ai_query_response_structure ... ok
test lambda::types::tests::test_complete_query_response_structure ... ok
test lambda::types::tests::test_conversation_message_timestamp ... ok
test lambda::types::tests::test_followup_request_serialization ... ok
test lambda::types::tests::test_followup_response_with_new_query ... ok
test lambda::types::tests::test_query_context_serialization ... ok
test lambda::types::tests::test_query_plan_info_serialization ... ok
test ingestion::core::tests::test_ingestion_core_new_with_ollama_provider ... ok
test schema::hasher::tests::test_add_and_verify_hash ... ok
test schema::hasher::tests::test_calculate_hash ... ok
test schema::hasher::tests::test_hash_consistency ... ok
test schema::hasher::tests::test_hash_excludes_existing_hash ... ok
test ingestion::core::tests::test_validate_input ... ok
test schema::types::declarative_schemas::tests::test_descriptive_name_optional ... ok
test schema::types::declarative_schemas::tests::test_descriptive_name_serialization ... ok
test schema::types::declarative_schemas::tests::test_schema_metadata_after_serialize_deserialize ... ok
test fold_db_core::infrastructure::event_monitor::tests::test_event_monitor_observability ... ok
test schema::types::field::hash_range_filter::export_bindings_hashrangefilter ... ok
test datafold_node::system_routes::tests::test_reset_database_with_confirmation ... ok
test schema::core::tests::blogpost_wordindex_sets_hashrange_keyconfig ... ok
test schema::types::mutation::tests::test_mutation_clone_preserves_backfill_hash ... ok
test schema::types::mutation::tests::test_with_backfill_hash ... ok
test schema::types::key_config::export_bindings_keyconfig ... ok
test schema::types::operations::tests::test_operation_mutation_preserves_source_file_name ... ok
test schema::types::operations::tests::test_operation_mutation_without_source_file_name ... ok
test schema::core::tests::get_schemas_with_states_returns_default_available ... ok
test schema::core::tests::load_schema_from_json_adds_available_schema ... ok
test schema::core::tests::load_multiple_schemas_from_json ... ok
test schema::types::topology::tests::test_any_topology ... ok
test schema::types::topology::tests::test_array_validation ... ok
test schema::types::topology::tests::test_infer_from_null_uses_any ... ok
test schema::core::tests::new_for_testing_starts_with_empty_schemas ... ok
test schema::types::topology::tests::test_infer_from_object_with_null_fields ... ok
test lambda::node_manager::tests::test_node_manager_single_mode ... ok
test schema::types::topology::tests::test_infer_from_value ... ok
test schema::types::topology::tests::test_nested_validation ... ok
test schema::types::topology::tests::test_nullable_fields_in_object ... ok
test schema::types::topology::tests::test_nullable_primitives ... ok
test schema::types::topology::tests::test_object_validation ... ok
test schema::types::topology::tests::test_primitive_validation ... ok
test schema::core::tests::load_schema_from_file_works_with_declarative_format ... ok
test schema::types::key_value::export_bindings_keyvalue ... ok
test schema::types::field::hash_range_filter::export_bindings_hashrangefilterresult ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_mutation_event_manager_start_stop ... ok
test schema::core::tests::load_wordindex_schema_from_file ... ok
test schema::types::schema::export_bindings_declarativeschematype ... ok
test security::encryption::tests::test_encrypted_data_validation ... ok
test security::encryption::tests::test_conditional_encryption ... ok
test security::encryption::tests::test_encryption_decryption ... ok
test security::encryption::tests::test_string_encryption ... ok
test security::encryption::tests::test_json_encryption ... ok
test security::keys::tests::test_key_generation ... ok
test security::keys::tests::test_key_id_generation ... ok
test schema::types::topology::export_bindings_primitivevaluetype ... ok
test security::keys::tests::test_nonce_generation ... ok
test schema_service::server::tests::add_schema_adds_new_schema ... ok
test security::keys::tests::test_public_key_operations ... ok
test security::keys::tests::test_signature_base64_conversion ... ok
test security::keys::tests::test_signing_and_verification ... ok
test schema_service::server::tests::add_schema_detects_similar_schema ... ok
test security::signing::tests::test_message_signing_and_verification ... ok
test security::signing::tests::test_permission_verification ... ok
test security::signing::tests::test_timestamp_validation ... ok
test security::utils::tests::test_config_builder ... ok
test security::utils::tests::test_security_manager ... ok
test security::utils::tests::test_security_middleware ... ok
test schema_service::server::tests::add_schema_rejects_missing_topology ... ok
test schema::types::transform::export_bindings_transform ... ok
test schema::types::topology::export_bindings_topologynode ... ok
test schema::types::topology::export_bindings_jsontopology ... ok
test schema::types::declarative_schemas::export_bindings_declarativeschemadefinition ... ok
test storage::dynamodb_store::tests::test_list_schemas ... ignored
test storage::dynamodb_store::tests::test_put_and_get_schema ... ignored
test storage::inmemory_backend::tests::test_inmemory_basic_operations ... ok
test storage::inmemory_backend::tests::test_inmemory_batch_operations ... ok
test storage::inmemory_backend::tests::test_inmemory_scan_prefix ... ok
test storage::inmemory_backend::tests::test_namespaced_store ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_backend_with_localstack ... ignored
test storage::tests::storage_abstraction_tests::test_batch_put_items_typed ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_reset_manager ... ignored
test storage::tests::storage_abstraction_tests::test_inmemory_backend_operations ... ok
test schema_service::server::tests::add_schema_with_different_topology_creates_separate_schema ... ok
test security::signing::persistence_tests::test_message_verifier_persistence ... ok
test security::signing::persistence_tests::test_remove_public_key_persistence ... ok
test schema_service::server::tests::get_available_schemas_returns_all_schemas ... ok
test storage::tests::storage_abstraction_tests::test_backend_name ... ok
test transform::chain_parser::tests::chain_parser_tests::test_reducer_expression_parsing ... ok
test transform::functions::comprehensive_tests::test_all_function_metadata ... ok
test transform::functions::comprehensive_tests::test_count_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_count_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_count_reducer_single ... ok
test transform::functions::comprehensive_tests::test_first_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_first_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_function_registry_completeness ... ok
test transform::functions::comprehensive_tests::test_functions_with_complex_json ... ok
test transform::functions::comprehensive_tests::test_functions_with_null_values ... ok
test transform::functions::comprehensive_tests::test_iterator_then_reducer_chain ... ok
test transform::functions::comprehensive_tests::test_join_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_join_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_join_reducer_single ... ok
test storage::tests::storage_abstraction_tests::test_namespaced_store_isolation ... ok
test transform::functions::comprehensive_tests::test_large_collections_performance ... ok
test storage::tests::storage_abstraction_tests::test_sled_backend_scan_prefix ... ok
test transform::functions::comprehensive_tests::test_last_reducer_basic ... ok
test storage::tests::storage_abstraction_tests::test_sled_backend_basic_operations ... ok
test transform::functions::comprehensive_tests::test_last_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_max_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_max_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_max_reducer_mixed_types ... ok
test transform::functions::comprehensive_tests::test_max_reducer_no_numeric ... ok
test transform::functions::comprehensive_tests::test_min_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_min_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_min_reducer_mixed_types ... ok
test transform::functions::comprehensive_tests::test_min_reducer_no_numeric ... ok
test transform::functions::comprehensive_tests::test_multiple_reducers_on_same_data ... ok
test transform::functions::comprehensive_tests::test_split_array_basic ... ok
test storage::tests::storage_abstraction_tests::test_sled_backend_batch_operations ... ok
test transform::functions::comprehensive_tests::test_split_array_metadata ... ok
test transform::functions::comprehensive_tests::test_split_by_word_basic ... ok
test transform::functions::comprehensive_tests::test_split_by_word_empty_string ... ok
test transform::functions::comprehensive_tests::test_split_by_word_metadata ... ok
test transform::functions::comprehensive_tests::test_split_by_word_multiple_spaces ... ok
test transform::functions::comprehensive_tests::test_split_by_word_newlines_and_tabs ... ok
test transform::functions::comprehensive_tests::test_split_by_word_single_word ... ok
test transform::functions::comprehensive_tests::test_sum_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_sum_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_sum_reducer_mixed_types ... ok
test transform::functions::comprehensive_tests::test_sum_reducer_no_numeric ... ok
test transform::functions::comprehensive_tests::test_unicode_and_special_characters ... ok
test transform::functions::integration_tests::test_chain_parser_invalid_combinations ... ok
test transform::functions::integration_tests::test_chain_parser_iterator_reducer_combinations ... ok
test transform::functions::integration_tests::test_chain_parser_with_all_functions ... ok
test transform::functions::integration_tests::test_engine_executes_iterator_functions ... ok
test transform::functions::registry::tests::test_count_reducer ... ok
test transform::functions::registry::tests::test_function_type_detection ... ok
test transform::functions::registry::tests::test_join_reducer ... ok
test transform::functions::registry::tests::test_registry_initialization ... ok
test transform::functions::registry::tests::test_split_by_word_execution ... ok
test transform::functions::registry::tests::test_sum_reducer ... ok
test transform::iterator_stack_typed::tests::typed_engine_tests::test_count_reducer_execution ... ok
test transform::iterator_stack_typed::tests::typed_engine_tests::test_iterator_then_reducer_chain ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_partition_key_logic ... ok
test storage::dynamodb_backend::unit_tests::test_native_index_partition_key ... ok
test storage::dynamodb_backend::unit_tests::test_kv_store_key_generation ... ok
test storage::dynamodb_backend::unit_tests::test_native_index_key_parsing ... ok
test transform::iterator_stack_typed::tests::typed_engine_tests::test_join_reducer_execution ... ok
test transform::iterator_stack_typed::tests::typed_engine_tests::test_passthrough_emits_atom_uuid ... ok
test transform::iterator_stack_typed::tests::typed_engine_tests::test_word_split_emits_words_with_atom_uuid ... ok
test storage::tests::storage_abstraction_tests::test_typed_store_operations ... ok
test security::encryption::tests::test_key_derivation ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_namespaced_store_user_isolation ... ok
test storage::tests::storage_abstraction_tests::test_execution_model_metadata ... ok
test datafold_node::schema_client::tests::add_schema_succeeds ... ok

test result: ok. 287 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 5.25s

     Running unittests src/bin/datafold_http_server.rs (target/debug/deps/datafold_http_server-9b16b45e0bb5caf9)

running 2 tests
test tests::defaults ... ok
test tests::custom_port ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/openapi_dump.rs (target/debug/deps/openapi_dump-fc23ce445486f65c)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/schema_service.rs (target/debug/deps/schema_service-081baac56158a160)

running 2 tests
test tests::defaults ... ok
test tests::custom_args ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/approval_block_not_failure_test.rs (target/debug/deps/approval_block_not_failure_test-75b79919974cc33e)

running 1 test
test test_approval_block_not_counted_as_failure ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s

     Running tests/atom_deduplication_test.rs (target/debug/deps/atom_deduplication_test-51f7091b8c0520ce)

running 3 tests
test test_atom_uuid_deterministic ... ok
test test_atom_content_based_uuid ... ok
test test_atom_deduplication_in_db ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

     Running tests/backfill_failure_test.rs (target/debug/deps/backfill_failure_test-4872065a22e315e7)

running 2 tests
test test_backfill_failure_threshold_detection ... ok
test test_backfill_low_failure_rate_completes ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/backfill_on_approval_test.rs (target/debug/deps/backfill_on_approval_test-f0de55e7f3db562d)

running 2 tests
test test_no_backfill_for_regular_schema_approval ... ok
test test_backfill_triggered_on_schema_approval ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.96s

     Running tests/batch_index_merge_test.rs (target/debug/deps/batch_index_merge_test-d4f89c3cba0f5134)

running 1 test
test test_batch_index_merges_existing_entries ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.31s

     Running tests/blogpost_wordindex_approval_test.rs (target/debug/deps/blogpost_wordindex_approval_test-a73df93929004f9f)

running 2 tests
test test_blogpost_wordindex_approval_from_file ... ok
test test_blogpost_wordindex_approval_and_transform_visibility ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s

     Running tests/blogpost_wordindex_transform_registration.rs (target/debug/deps/blogpost_wordindex_transform_registration-ccf6ee5b7508a9b3)

running 2 tests
test test_blogpost_wordindex_transform_registration ... ok
test test_blogpost_wordindex_from_file ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s

     Running tests/dynamodb_mock_test.rs (target/debug/deps/dynamodb_mock_test-ea1b3e1504f823e0)

running 4 tests
test test_dynamodb_special_chars_mock ... ok
test test_dynamodb_get_mock ... ok
test test_dynamodb_put_mock ... ok
test test_dynamodb_namespace_isolation_mock ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/field_mapper_approval_test.rs (target/debug/deps/field_mapper_approval_test-606253f4581602f6)

running 1 test
test approving_schema_applies_field_mappers ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

     Running tests/field_name_search_test.rs (target/debug/deps/field_name_search_test-54273b0f1fa46d87)

running 3 tests
test test_search_nonexistent_field_name ... ok
test test_combined_field_name_and_word_search ... ok
test test_search_by_field_name ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.75s

     Running tests/http_test_helper.rs (target/debug/deps/http_test_helper-43978b60d42d80e3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/ingestion_topology_test.rs (target/debug/deps/ingestion_topology_test-16fa127dbead8388)

running 2 tests
test test_topology_inference_from_sample_data ... ok
test test_schema_service_rejects_schema_without_topologies ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running tests/lambda_context_test.rs (target/debug/deps/lambda_context_test-ac4db1af7285a43a)

running 6 tests
test test_lambda_context_initialization ... ok
test test_lambda_context_get_progress_nonexistent ... ok
test test_lambda_context_access_after_init ... ok
test test_lambda_context_with_schema_service_url ... ok
test test_lambda_context_double_init_fails ... ok
test test_lambda_context_ingest_json_returns_progress_id ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s

     Running tests/lambda_dynamodb_test.rs (target/debug/deps/lambda_dynamodb_test-929cf1e7c7c1e318)

running 1 test
test test_lambda_with_dynamodb_style_db_ops ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s

     Running tests/lambda_ingestion_logging_test.rs (target/debug/deps/lambda_ingestion_logging_test-15ca140432693669)

running 3 tests
test test_lambda_user_logger ... ok
test test_lambda_logger_test_endpoint ... ok
test test_lambda_json_ingestion_with_logging ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.06s

     Running tests/lambda_query_test.rs (target/debug/deps/lambda_query_test-5c3eb12762a55e29)

running 1 test
test test_lambda_query_multi_tenancy ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s

     Running tests/lambda_sync_logging_test.rs (target/debug/deps/lambda_sync_logging_test-60f5aec112a7fefe)

running 1 test
test test_sync_ingestion_logging_context ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s

     Running tests/logging_verification_test.rs (target/debug/deps/logging_verification_test-b8d4b4f390649773)

running 1 test
test test_lambda_logging_integration ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s

     Running tests/mock_check.rs (target/debug/deps/mock_check-e4c47bed7ee11566)

running 1 test
test check_mock_compiles ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/mutation_performance_test.rs (target/debug/deps/mutation_performance_test-70eb228a9043f619)

running 1 test
test test_mutation_performance_direct has been running for over 60 seconds
test test_mutation_performance_direct ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 62.65s

     Running tests/mutation_triggers_transform.rs (target/debug/deps/mutation_triggers_transform-acb328350eadfe09)

running 3 tests
test test_partial_mutation_triggers_subset_of_transforms ... ok
test test_content_mutation_triggers_word_transform ... ok
test test_blogpost_mutation_triggers_transforms ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.67s

     Running tests/native_index_deduplication_test.rs (target/debug/deps/native_index_deduplication_test-d5c295e1232a8518)

running 5 tests
test test_deduplication_across_different_fields_same_record ... ok
test test_deduplication_preserves_different_classifications ... ok
test test_deduplication_removes_duplicate_same_classification ... ok
test test_deduplication_handles_same_field_different_records ... ok
test test_deduplication_with_multiple_classifications_same_batch ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/native_word_index_test.rs (target/debug/deps/native_word_index_test-acf1311abee7bd04)

running 1 test
test test_native_word_index_search_updates_with_mutations ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s

     Running tests/node_startup_schema_loading.rs (target/debug/deps/node_startup_schema_loading-5fe20b34e121ccf5)

running 2 tests
test test_node_new_loads_schemas_for_testing ... ok
test test_node_starts_without_schema_service ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s

     Running tests/range_key_exact_filter_test.rs (target/debug/deps/range_key_exact_filter_test-dc21117596538f36)

running 2 tests
test test_range_key_set_in_query_object ... ok
test test_exact_range_key_filtering_with_blogpost ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.79s

     Running tests/schema_service_closeness_test.rs (target/debug/deps/schema_service_closeness_test-c5d2361c44658b14)

running 13 tests
test closeness_with_object_style_fields ... ok
test closeness_with_nested_objects ... ok
test closeness_always_returns_schema_on_success ... ok
test closeness_rejects_identical_schema_with_different_name ... ok
test closeness_ignores_schema_name_in_comparison ... ok
test closeness_always_returns_schema_on_rejection ... ok
test closeness_uses_normalized_comparison_for_properties ... ok
test closeness_respects_field_mapper_preservation ... ok
test closeness_allows_dissimilar_schemas ... ok
test closeness_field_overlap_below_threshold_without_high_similarity ... ok
test closeness_with_multiple_existing_schemas_finds_closest ... ok
test closeness_handles_similar_but_slightly_different_schemas ... ok
test closeness_creates_field_mappers_for_high_field_overlap ... ok

test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s

     Running tests/schema_topology_loading_test.rs (target/debug/deps/schema_topology_loading_test-4b7d86c2c6e4437d)

running 5 tests
test test_schema_json_roundtrip ... ok
test test_schema_with_array_topology ... ok
test test_load_blogpost_schema_with_topology ... ok
test test_load_blogpost_word_index_transform_with_topology ... ok
test test_load_all_available_schemas ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running tests/test_indexing_progress.rs (target/debug/deps/test_indexing_progress-6f0c9c8dd9b618f4)

running 1 test
test test_indexing_progress_tracking ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s

     Running tests/test_ingestion_progress.rs (target/debug/deps/test_ingestion_progress-86276a8f81b18019)

running 2 tests
test test_dynamodb_progress_store_lifecycle ... ignored
test test_progress_user_isolation ... ignored

test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/topology_hash_test.rs (target/debug/deps/topology_hash_test-c711c860daab52b3)

running 9 tests
test test_array_topology_hash ... ok
test test_nested_topology_hash ... ok
test test_different_topologies_produce_different_hash ... ok
test test_schema_topology_hash_is_computed ... ok
test test_topology_hash_changes_when_topology_changes ... ok
test test_field_topology_hash_is_computed ... ok
test test_same_topologies_produce_same_hash ... ok
test test_field_order_independent_schema_hash ... ok
test test_topology_hash_persists_through_serialization ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/topology_validation_test.rs (target/debug/deps/topology_validation_test-4c57e204f44b7048)

running 8 tests
test test_missing_topology_fails_validation ... ok
test test_any_topology_allows_any_value ... ok
test test_topology_validation_accepts_valid_type ... ok
test test_topology_validation_rejects_invalid_type ... ok
test test_topology_inference_from_data ... ok
test test_topology_array_validation ... ok
test test_topology_nested_object_validation ... ok
test test_schema_serialization_includes_topology ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/transform_event_monitor_regression_test.rs (target/debug/deps/transform_event_monitor_regression_test-510a587e201fcb83)

running 2 tests
test test_transform_registration_through_schema_loading ... ok
test test_duplicate_transform_registration_prevention ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s

     Running tests/transform_execution_test.rs (target/debug/deps/transform_execution_test-daf615f5c1e983c4)

running 1 test
test test_transform_execution_states ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s

     Running tests/transform_integration.rs (target/debug/deps/transform_integration-5895355d5f3a1d89)

running 1 test
test execute_engine_and_convert_to_records ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/transform_persistence_test.rs (target/debug/deps/transform_persistence_test-c117bccd4badd274)

running 2 tests
test test_transform_registration_persistence_across_restart ... ok
test test_transform_persistence_with_direct_db_verification ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s

     Running tests/transform_queue_deduplication.rs (target/debug/deps/transform_queue_deduplication-72612f67c3de0c98)

running 4 tests
test test_transform_queue_deduplication_concurrent_simulation ... ok
test test_transform_queue_deduplication_empty_state ... ok
test test_transform_queue_key_generation ... ok
test test_transform_queue_deduplication_by_mutation_id ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running tests/transform_requires_approval_test.rs (target/debug/deps/transform_requires_approval_test-0c2f5a0d0568c400)

running 2 tests
test test_transform_requires_approval_to_execute ... ok
test test_transform_executes_when_approved ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s

   Doc-tests datafold
warning: failed to parse serde attribute
  | 
  | #[serde(into = "String", try_from = "String")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none", default)]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.
warning: failed to parse serde attribute
  | 
  | #[serde(skip_serializing_if = "Option::is_none")]
  | 
  = note: ts-rs failed to parse this attribute. It will be ignored.

running 63 tests
test src/datafold_node/embedded_server.rs - datafold_node::embedded_server::start_embedded_server (line 63) - compile ... ok
test src/fold_db_core/infrastructure/message_bus/mod.rs - fold_db_core::infrastructure::message_bus (line 92) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::register_mutation (line 171) ... ok
test src/lambda/config.rs - lambda::config::LambdaConfig::new (line 116) ... ignored
test src/lambda/config.rs - lambda::config::LambdaConfig::with_db_ops (line 140) ... ignored
test src/lambda/config.rs - lambda::config::LambdaConfig::with_ollama (line 228) ... ignored
test src/lambda/config.rs - lambda::config::LambdaConfig::with_openrouter (line 196) ... ignored
test src/lambda/config.rs - lambda::config::LambdaConfig::with_storage_config (line 167) ... ignored
test src/lambda/context.rs - lambda::context::LambdaContext::init (line 44) ... ignored
test src/lambda/context.rs - lambda::context::LambdaContext::node (line 187) ... ignored
test src/lambda/context.rs - lambda::context::LambdaContext::progress_tracker (line 214) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::add_to_transform_queue (line 157) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::execute_mutation (line 19) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::execute_mutations (line 62) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_active_backfills (line 260) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_all_backfills (line 233) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_backfill (line 336) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_backfill_statistics (line 287) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_backfill_status (line 207) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_indexing_status (line 362) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_transform_queue (line 130) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::get_transform_statistics (line 180) ... ignored
test src/lambda/database.rs - lambda::database::LambdaContext::list_transforms (line 104) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::get_all_progress (line 100) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::get_ingestion_status (line 45) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::get_progress (line 77) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::ingest_json (line 129) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::ingest_json_sync (line 238) ... ignored
test src/lambda/ingestion.rs - lambda::ingestion::LambdaContext::validate_json (line 22) ... ignored
test src/lambda/mod.rs - lambda (line 8) ... ignored
test src/lambda/query.rs - lambda::query::LambdaContext::ai_query (line 28) ... ignored
test src/lambda/query.rs - lambda::query::LambdaContext::ask_followup (line 235) ... ignored
test src/lambda/query.rs - lambda::query::LambdaContext::native_index_search (line 429) ... ignored
test src/lambda/query.rs - lambda::query::LambdaContext::query (line 378) ... ignored
test src/lambda/query.rs - lambda::query::LambdaContext::run_ai_query (line 120) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::approve_schema (line 173) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::block_schema (line 83) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::get_schema (line 46) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::get_schema_state (line 205) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::list_schemas (line 14) ... ignored
test src/lambda/schema.rs - lambda::schema::LambdaContext::load_schemas (line 113) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::create_logger (line 18) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::get_node_private_key (line 101) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::get_node_public_key (line 123) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::get_system_public_key (line 145) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::get_system_status (line 75) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::query_logs (line 43) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::reset_database (line 177) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::reset_schema_service (line 222) ... ignored
test src/lambda/system.rs - lambda::system::LambdaContext::test_logger (line 264) ... ignored
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::pending_count (line 472) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::cleanup_mutation (line 430) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::wait_for_completion (line 508) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::get_diagnostics (line 663) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::signal_completion (line 309) ... ok
test src/fold_db_core/infrastructure/message_bus/mod.rs - fold_db_core::infrastructure::message_bus (line 73) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler (line 57) ... ok
test src/fold_db_core/infrastructure/message_bus/mod.rs - fold_db_core::infrastructure::message_bus (line 56) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::new (line 138) ... ok
test src/fold_db_core/infrastructure/message_bus/mod.rs - fold_db_core::infrastructure::message_bus (line 14) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler (line 22) ... ok
test src/fold_db_core/mutation_completion_handler.rs - fold_db_core::mutation_completion_handler::MutationCompletionHandler::wait_for_completion_with_timeout (line 543) ... ok
test src/ingestion/structure_analyzer.rs - ingestion::structure_analyzer::StructureAnalyzer::create_superset_structure (line 28) ... ok

test result: ok. 16 passed; 0 failed; 47 ignored; 0 measured; 0 filtered out; finished in 7.36s