Compiling datafold v0.1.38 (/Users/tomtang/Documents/projects/datafold-exemem/fold_db)
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(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: 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: unused import: `LambdaStorage`
--> src/lambda/node_manager.rs:174:47
|
174 | use crate::lambda::config::{LambdaConfig, LambdaStorage};
| ^^^^^^^^^^^^^
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: 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: 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: `datafold` (lib) generated 25 warnings (1 duplicate) (run `cargo fix --lib -p datafold` to apply 16 suggestions)
warning: `datafold` (lib test) generated 28 warnings (24 duplicates) (run `cargo fix --lib -p datafold --tests` to apply 1 suggestion)
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` (test "mock_check") generated 2 warnings (run `cargo fix --test "mock_check"` to apply 2 suggestions)
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 "transform_execution_test") generated 1 warning
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`
--> 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: `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: `datafold` (test "logging_verification_test") generated 1 warning (run `cargo fix --test "logging_verification_test"` to apply 1 suggestion)
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;
| ^^^^^^^^^^^^^
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: `datafold` (test "lambda_query_test") generated 3 warnings (run `cargo fix --test "lambda_query_test"` to apply 3 suggestions)
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 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: 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: 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: `datafold` (example "lambda_dynamodb_logger") generated 2 warnings (run `cargo fix --example "lambda_dynamodb_logger"` to apply 1 suggestion)
warning: `datafold` (example "storage_abstraction_demo") generated 1 warning (run `cargo fix --example "storage_abstraction_demo"` to apply 1 suggestion)
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 "lambda_ingestion_logging_test") generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 18.52s
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 atom::atom_def::tests::test_atom_creation ... ok
test atom::atom_def::tests::test_molecule_creation_and_update ... ok
test atom::molecule_tests::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 datafold_node::llm_query::session::tests::test_create_session ... ok
test datafold_node::security_routes::tests::minimal ... ok
test atom::molecule_tests::tests::test_molecule_range_single_atom_per_key ... ok
test datafold_node::operation_processor::tests::test_operation_processor_creation ... ok
test atom::molecule_tests::tests::test_molecule_range ... ok
test db_operations::error_utils::tests::test_lock_error ... ok
test db_operations::error_utils::tests::test_error_formatting ... 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 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 datafold_node::embedded_server::tests::test_embedded_server_starts ... ok
test datafold_node::system_routes::tests::test_reset_database_without_confirmation ... ok
test fold_db_core::mutation_completion_handler::tests::test_cleanup_mutation ... ok
test datafold_node::system_routes::tests::test_system_status ... ok
test fold_db_core::mutation_completion_handler::tests::test_cleanup_untracked_mutation ... 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 db_operations::native_index::tests::test_indexing_with_empty_classifications ... 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 datafold_node::system_routes::tests::test_get_node_private_key ... ok
test datafold_node::node::tests::test_node_private_key_generation ... 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 fold_db_core::orchestration::mutation_event_manager::tests::test_emit_mutation_event ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_mutation_event_manager_creation ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_handle_mutation_request ... 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 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 fold_db_core::shared::stats::tests::test_activity_timestamp ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_state_exists ... ok
test ingestion::json_processor::tests::test_add_file_location_to_array ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_save_and_load_state ... 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 ingestion::json_processor::tests::test_flatten_array_elements_with_single_field_wrappers ... ok
test fold_db_core::orchestration::persistence_manager::tests::test_clear_state ... ok
test ingestion::json_processor::tests::test_flatten_complex_nested_structure ... 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 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 fold_db_core::infrastructure::event_monitor::tests::test_event_monitor_observability ... ok
test ingestion::routes::tests::test_get_ingestion_config ... ok
test fold_db_core::orchestration::mutation_event_manager::tests::test_mutation_event_manager_start_stop ... 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::routes::tests::test_get_status ... ok
test ingestion::openrouter_service::tests::test_extract_json_from_response ... ok
test ingestion::ollama_service::tests::test_extract_json_from_response ... 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::routes::tests::test_health_check ... 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::structure_analyzer::tests::test_create_superset_structure_array ... ok
test ingestion::structure_analyzer::tests::test_create_superset_structure_empty_array ... ok
test ingestion::structure_analyzer::tests::test_create_superset_structure_single_object ... ok
test ingestion::structure_analyzer::tests::test_nested_structure_detection ... 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 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_schema_service_url ... ok
test lambda::config::tests::test_lambda_config_with_storage_config ... 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 ingestion::core::tests::test_validate_input ... ok
test ingestion::core::tests::test_ingestion_core_new_with_ollama_provider ... 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_plan_info_serialization ... ok
test lambda::types::tests::test_query_context_serialization ... ok
test schema::hasher::tests::test_calculate_hash ... ok
test schema::hasher::tests::test_add_and_verify_hash ... ok
test schema::hasher::tests::test_hash_consistency ... ok
test schema::hasher::tests::test_hash_excludes_existing_hash ... 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 datafold_node::system_routes::tests::test_reset_database_with_confirmation ... ok
test schema::types::field::hash_range_filter::export_bindings_hashrangefilter ... 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::operations::tests::test_operation_mutation_preserves_source_file_name ... ok
test schema::types::operations::tests::test_operation_mutation_without_source_file_name ... ok
test lambda::node_manager::tests::test_node_manager_single_mode ... ok
test schema::core::tests::get_schemas_with_states_returns_default_available ... ok
test schema::core::tests::new_for_testing_starts_with_empty_schemas ... ok
test schema::core::tests::blogpost_wordindex_sets_hashrange_keyconfig ... ok
test schema::types::topology::tests::test_any_topology ... ok
test schema::core::tests::load_multiple_schemas_from_json ... 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::load_schema_from_json_adds_available_schema ... ok
test schema::types::topology::tests::test_infer_from_object_with_null_fields ... 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::core::tests::load_wordindex_schema_from_file ... ok
test schema::types::key_config::export_bindings_keyconfig ... ok
test schema::types::key_value::export_bindings_keyvalue ... ok
test schema::types::field::hash_range_filter::export_bindings_hashrangefilterresult ... ok
test security::encryption::tests::test_encrypted_data_validation ... ok
test security::encryption::tests::test_conditional_encryption ... ok
test schema::types::schema::export_bindings_declarativeschematype ... ok
test security::encryption::tests::test_encryption_decryption ... ok
test security::encryption::tests::test_json_encryption ... ok
test security::encryption::tests::test_string_encryption ... ok
test security::keys::tests::test_key_generation ... ok
test security::keys::tests::test_nonce_generation ... ok
test schema_service::server::tests::add_schema_detects_similar_schema ... ok
test security::keys::tests::test_key_id_generation ... ok
test security::keys::tests::test_public_key_operations ... ok
test schema_service::server::tests::add_schema_adds_new_schema ... ok
test security::keys::tests::test_signature_base64_conversion ... ok
test security::keys::tests::test_signing_and_verification ... 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 schema_service::server::tests::add_schema_rejects_missing_topology ... ok
test security::utils::tests::test_security_manager ... ok
test security::utils::tests::test_security_middleware ... ok
test schema::types::topology::export_bindings_primitivevaluetype ... 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 schema_service::server::tests::add_schema_with_different_topology_creates_separate_schema ... 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_batch_put_items_typed ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_backend_with_localstack ... ignored
test schema_service::server::tests::get_available_schemas_returns_all_schemas ... ok
test security::signing::persistence_tests::test_message_verifier_persistence ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_reset_manager ... ignored
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 security::signing::persistence_tests::test_remove_public_key_persistence ... ok
test storage::tests::storage_abstraction_tests::test_inmemory_backend_operations ... 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 storage::dynamodb_backend::unit_tests::test_kv_store_key_generation ... ok
test storage::tests::storage_abstraction_tests::test_dynamodb_partition_key_logic ... ok
test storage::dynamodb_backend::unit_tests::test_native_index_key_parsing ... ok
test storage::dynamodb_backend::unit_tests::test_native_index_partition_key ... ok
test storage::tests::storage_abstraction_tests::test_namespaced_store_isolation ... ok
test transform::functions::comprehensive_tests::test_join_reducer_single ... ok
test storage::tests::storage_abstraction_tests::test_sled_backend_scan_prefix ... ok
test transform::functions::comprehensive_tests::test_last_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_last_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_max_reducer_empty ... ok
test transform::functions::comprehensive_tests::test_max_reducer_basic ... ok
test transform::functions::comprehensive_tests::test_max_reducer_mixed_types ... ok
test transform::functions::comprehensive_tests::test_max_reducer_no_numeric ... ok
test storage::tests::storage_abstraction_tests::test_sled_backend_basic_operations ... ok
test transform::functions::comprehensive_tests::test_large_collections_performance ... 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 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 storage::tests::storage_abstraction_tests::test_sled_backend_batch_operations ... ok
test transform::functions::comprehensive_tests::test_sum_reducer_basic ... ok
test storage::tests::storage_abstraction_tests::test_typed_store_operations ... 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::registry::tests::test_count_reducer ... ok
test transform::functions::integration_tests::test_engine_executes_iterator_functions ... 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 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 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.73s
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.47s
Running tests/atom_deduplication_test.rs (target/debug/deps/atom_deduplication_test-51f7091b8c0520ce)
running 3 tests
test test_atom_content_based_uuid ... ok
test test_atom_uuid_deterministic ... 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.03s
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.11s
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.97s
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.32s
Running tests/blogpost_wordindex_approval_test.rs (target/debug/deps/blogpost_wordindex_approval_test-a73df93929004f9f)
running 2 tests
test test_blogpost_wordindex_approval_and_transform_visibility ... ok
test test_blogpost_wordindex_approval_from_file ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
Running tests/blogpost_wordindex_transform_registration.rs (target/debug/deps/blogpost_wordindex_transform_registration-ccf6ee5b7508a9b3)
running 2 tests
test test_blogpost_wordindex_from_file ... ok
test test_blogpost_wordindex_transform_registration ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
Running tests/dynamodb_mock_test.rs (target/debug/deps/dynamodb_mock_test-ea1b3e1504f823e0)
running 4 tests
test test_dynamodb_get_mock ... ok
test test_dynamodb_put_mock ... ok
test test_dynamodb_special_chars_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.01s
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.03s
Running tests/field_name_search_test.rs (target/debug/deps/field_name_search_test-54273b0f1fa46d87)
running 3 tests
test test_combined_field_name_and_word_search ... ok
test test_search_nonexistent_field_name ... 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.77s
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.04s
Running tests/lambda_context_test.rs (target/debug/deps/lambda_context_test-ac4db1af7285a43a)
running 6 tests
test test_lambda_context_double_init_fails ... FAILED
test test_lambda_context_access_after_init ... ok
test test_lambda_context_get_progress_nonexistent ... ok
test test_lambda_context_initialization ... ok
test test_lambda_context_with_schema_service_url ... ok
test test_lambda_context_ingest_json_returns_progress_id ... ok
failures:
---- test_lambda_context_double_init_fails stdout ----
Warning: Failed to set logger (probably already initialized): attempted to set a logger after the logging system was already initialized
thread 'test_lambda_context_double_init_fails' panicked at tests/lambda_context_test.rs:47:48:
called `Result::unwrap()` on an `Err` value: ConfigurationError("Context already initialized")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
test_lambda_context_double_init_fails
test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s
error: test failed, to rerun pass `--test lambda_context_test`