{"record":{"id":"c6a2af21f16ea03e","repo":"quickwit-oss/quickwit","slug":"quickwit-was-compiled-without-the-sqs-feature","errorCode":null,"errorMessage":"Quickwit was compiled without the `sqs` feature","messagePattern":"Quickwit was compiled without the `sqs` feature","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"quickwit/quickwit-indexing/src/source/file_source.rs","lineNumber":186,"sourceCode":"                )\n                .await?;\n                FileSourceState::Filepath {\n                    batch_reader,\n                    num_bytes_processed: 0,\n                    num_lines_processed: 0,\n                }\n            }\n            #[cfg(feature = \"sqs\")]\n            FileSourceParams::Notifications(quickwit_config::FileSourceNotification::Sqs(\n                sqs_config,\n            )) => {\n                let coordinator =\n                    QueueCoordinator::try_from_sqs_config(sqs_config, source_runtime).await?;\n                FileSourceState::Notification(Box::new(coordinator))\n            }\n            #[cfg(not(feature = \"sqs\"))]\n            FileSourceParams::Notifications(quickwit_config::FileSourceNotification::Sqs(_)) => {\n                anyhow::bail!(\"Quickwit was compiled without the `sqs` feature\")\n            }\n        };\n\n        Ok(FileSource {\n            state,\n            source_id,\n            source_type,\n        })\n    }\n}\n\n#[cfg(test)]\nmod tests {\n    use std::num::NonZeroUsize;\n    use std::str::FromStr;\n\n    use bytes::Bytes;\n    use quickwit_actors::{Command, Universe};","sourceCodeStart":168,"sourceCodeEnd":204,"githubUrl":"https://github.com/quickwit-oss/quickwit/blob/a39730c5cdcd1a4fe798403737ae293999ea21f8/quickwit/quickwit-indexing/src/source/file_source.rs#L168-L204","documentation":"The file source was configured with SQS queue notifications, but the Quickwit binary was built without the `sqs` cargo feature, so the SQS queue-coordinator code is not compiled in. `typed_create_source` bails instead of silently creating a non-functional source.","triggerScenarios":"Creating/starting a file source whose `FileSourceParams::Notifications` is `FileSourceNotification::Sqs(_)` on a binary compiled with `#[cfg(not(feature = \"sqs\"))]`.","commonSituations":"Running an official Docker image or a custom build that omits the `sqs` feature while an index config points at an S3-backed file source with SQS notifications.","solutions":["Rebuild Quickwit with the `sqs` feature enabled (it is on by default in the standard build): `cargo build --features sqs` or use the official release binary/image.","Alternatively, change the source to a non-SQS notification type or push mode."],"exampleFix":"// before (source config with sqs notifications on a no-sqs build)\nnotifications:\n  type: sqs\n  queue_url: https://sqs.us-east-1.amazonaws.com/123/my-queue\n// after: build with the feature\ncargo build --release --features sqs","handlingStrategy":"validation","validationCode":"// before deploying, check the binary supports sqs\nquickwit version && cargo tree -p quickwit-indexing -e features | grep -q sqs || echo 'sqs feature missing'","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use official Quickwit release images which ship all source features.","Match custom build features to the source types in your index configs.","Validate source configs against build features in CI before rollout."],"tags":["compile-time-feature","sqs","missing-dependency","rust"],"backgroundTag":"feature-not-enabled","analyzedSha":"a39730c5cdcd1a4fe798403737ae293999ea21f8","analyzedAt":"2026-09-08T13:19:37.784Z","contentChangedAt":"2026-09-08T13:19:37.784Z","schemaVersion":2},"datasetVersion":"2026-09-14T16:17:12.679Z"}