Milad-Akarie / injectable

Code Generator for get_it
MIT License
563 stars 143 forks source link

Invalid argument(s): Missing library [injectable_generator] #452

Closed Holofox closed 6 months ago

Holofox commented 6 months ago

Hello! From time to time, a build randomly crashes in Gitlab CI/CD on a Linux machine due to "Invalid argument(s): Missing library". The project build either succeeds or fails.

I note that on a working machine with macOS such problems never arise. Could you tell me in which direction the problem should be investigated? Could this be a problem with the analyzer? https://github.com/dart-lang/sdk/issues/51142

Logs ``` $ dart run build_runner build --delete-conflicting-outputs [INFO] Generating build script... [INFO] Generating build script completed, took 754ms [INFO] Precompiling build script...... [INFO] Precompiling build script... completed, took 14.6s [INFO] Initializing inputs [INFO] Building new asset graph... [INFO] Building new asset graph completed, took 4.5s [INFO] Checking for unexpected pre-existing outputs.... [INFO] Checking for unexpected pre-existing outputs. completed, took 2ms [INFO] Running build... [INFO] Generating SDK summary... [INFO] 3.6s elapsed, 0/16 actions completed. [INFO] 6.4s elapsed, 0/16 actions completed. [INFO] 7.9s elapsed, 0/16 actions completed. [INFO] Generating SDK summary completed, took 7.9s [INFO] 9.0s elapsed, 5/55 actions completed. [INFO] 10.1s elapsed, 32/64 actions completed. [INFO] 11.3s elapsed, 41/68 actions completed. [INFO] 12.4s elapsed, 46/73 actions completed. [WARNING] json_serializable on lib/src/network/infra/models/device_meta.dart: Could not read the "pubspec.yaml` file associated with this package. Usage of package:json_annotation could not be verified. [INFO] 13.6s elapsed, 57/80 actions completed. [INFO] 14.7s elapsed, 72/95 actions completed. [INFO] 28.4s elapsed, 91/109 actions completed. [INFO] 29.4s elapsed, 113/137 actions completed. [INFO] 33.0s elapsed, 145/164 actions completed. [INFO] 34.0s elapsed, 176/192 actions completed. [INFO] 35.6s elapsed, 208/209 actions completed. [INFO] 36.6s elapsed, 228/244 actions completed. [INFO] 37.7s elapsed, 268/284 actions completed. [INFO] 38.7s elapsed, 273/289 actions completed. [INFO] 39.7s elapsed, 291/297 actions completed. [INFO] 40.8s elapsed, 296/297 actions completed. [INFO] 41.9s elapsed, 345/346 actions completed. [INFO] 42.9s elapsed, 565/575 actions completed. [INFO] 44.0s elapsed, 601/621 actions completed. [INFO] 45.5s elapsed, 604/625 actions completed. [INFO] 46.5s elapsed, 617/637 actions completed. [INFO] 47.5s elapsed, 664/688 actions completed. [INFO] 51.1s elapsed, 704/731 actions completed. [INFO] 54.2s elapsed, 714/736 actions completed. [INFO] 55.2s elapsed, 739/762 actions completed. [INFO] 59.9s elapsed, 775/777 actions completed. [SEVERE] injectable_generator:injectable_builder on lib/src/network/infra/services/black_list_service.dart: Invalid argument(s): Missing library: package:example/src/network/infra/example/chat/v2/blacklist_service.pbgrpc.dart Libraries: [{here all imports for project}] Root children: [dart:async, dart:collection, dart:convert, dart:core, dart:developer, dart:ffi, dart:html, dart:html_common, dart:indexed_db, dart:_http, dart:io, dart:isolate, dart:js, dart:_js, dart:js_interop, dart:js_interop_unsafe, dart:js_util, dart:math, dart:mirrors, dart:nativewrappers, dart:typed_data, dart:_native_typed_data, dart:cli, dart:svg, dart:web_audio, dart:web_gl, dart:_internal, dart:_js_helper, dart:_late_helper, dart:_rti, dart:_dart2js_runtime_metrics, dart:_interceptors, dart:_foreign_helper, dart:_js_names, dart:_js_primitives, dart:_js_embedded_names, dart:_js_shared_embedded_names, dart:_js_types, dart:_async_status_codes, dart:_recipe_syntax, dart:_load_library_priority, dart:_metadata, dart:_js_annotations, dart:_wasm, dart:ui, dart:ui_web, package:example/src/qr_code/infra/models/qr_scanner_page_tab.dart, package:example/src/network/infra/models/platform.dart, package:meta/meta_meta.dart, package:meta/meta.dart, ... (3305 total)] Readers: [dart:async, dart:collection, dart:convert, dart:core, dart:developer, dart:ffi, dart:html, dart:html_common, dart:indexed_db, dart:_http, dart:io, dart:isolate, dart:js, dart:_js, dart:js_interop, dart:js_interop_unsafe, dart:js_util, dart:math, dart:mirrors, dart:nativewrappers, dart:typed_data, dart:_native_typed_data, dart:cli, dart:svg, dart:web_audio, dart:web_gl, dart:_internal, dart:_js_helper, dart:_late_helper, dart:_rti, dart:_dart2js_runtime_metrics, dart:_interceptors, dart:_foreign_helper, dart:_js_names, dart:_js_primitives, dart:_js_embedded_names, dart:_js_shared_embedded_names, dart:_js_types, dart:_async_status_codes, dart:_recipe_syntax, dart:_load_library_priority, dart:_metadata, dart:_js_annotations, dart:_wasm, dart:ui, dart:ui_web, package:collection/collection.dart, package:equatable/equatable.dart, package:equatable/src/equatable.dart, package:equatable/src/equatable_config.dart, ... (1209 total)] Log: [load][targetLibrary: package:example/src/internal/infra/services/file_open_service.dart = /example/lib/src/internal/infra/services/file_open_service.dart] [load][targetLibrary: package:example/src/internal/infra/services/bridge_service.dart = /example/lib/src/internal/infra/services/bridge_service.dart] [load][targetLibrary: package:example/src/qr_code/use_cases/qr_code_result/qr_code_result_cubit.dart = /example/lib/src/qr_code/use_cases/qr_code_result/qr_code_result_cubit.dart] [load][targetLibrary: package:example/src/qr_code/use_cases/qr_code_scanner_controls/qr_code_scanner_controls_cubit.dart = /example/lib/src/qr_code/use_cases/qr_code_scanner_controls/qr_code_scanner_controls_cubit.dart] [load][targetLibrary: package:example/src/qr_code/use_cases/qr_code_scanner/qr_code_scanner_cubit.dart = /example/lib/src/qr_code/use_cases/qr_code_scanner/qr_code_scanner_cubit.dart] [removeLibraries][uriSet: {}][#0 LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:268:67) #1 LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20) #2 AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1952:22) #3 AnalysisDriver._applyPendingFileChanges (package:analyzer/src/dart/analysis/driver.dart:1468:7) #4 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2318:16) ] [removeLibraries][uriSet: {}][#0 LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:268:67) #1 LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20) #2 AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1952:22) #3 AnalysisDriver._applyPendingFileChanges (package:analyzer/src/dart/analysis/driver.dart:1468:7) #4 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2318:16) ] [removeLibraries][uriSet: {}][#0 LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:268:67) #1 LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20) #2 AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1952:22) #3 AnalysisDriver._applyPendingFileChanges (package:analyzer/src/dart/analysis/driver.dart:1468:7) #4 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2318:16) ] [removeLibraries][uriSet: {}][#0 LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:268:67) #1 LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20) #2 AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1952:22) #3 AnalysisDriver._applyPendingFileChanges (package:analyzer/src/dart/analysis/driver.dart:1468:7) #4 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2318:16) ] [removeLibraries][uriSet: {package:async/async.dart, package:grpc/src/client/common.dart, package:grpc/src/client/call.dart, package:grpc/grpc.dart, package:example/src/internal/infra/models/errors/example_error.dart, package:example/src/qr_code/infra/models/qr_validator.dart, package:example/src/mini_app/ui/pages/mini_app_page.dart, package:example/src/mini_app/ui/common/mini_app_stack_wrapper.dart, package:example/src/internal/infra/extensions/build_context_x.dart, package:example/src/gallery/ui/pages/gallery_page.dart, package:example/src/internal/infra/services/file_open_service.dart, package:example/src/internal/infra/services/bridge_service.dart, package:example/src/mini_app/use_cases/mini_app/mini_app_cubit.dart, package:example/src/mini_app/ui/mini_app/mini_app_upload_file_indicator.dart, package:example/src/mini_app/ui/mini_app/mini_app_web_view.dart, package:example/src/internal/infra/bridge/bridge_open_file_action.dart, package:example/src/internal/use_cases/notify/notify_cubit.dart, package:example/src/home/ui/pages/home_navigation_page.dart, package:example/src/router/ui/router.dart, package:example/src/mini_app/use_cases/mini_app_list/mini_app_list_cubit.dart, package:example/src/mini_app/ui/pages/mini_app_list_page.dart, package:example/src/mini_app/ui/pages/mini_app_list_tutorial_page.dart, package:example/src/stream/use_cases/stream_list/stream_list_cubit.dart, package:example/src/stream/ui/pages/stream_list_page.dart, package:example/src/home/ui/home_tutorial/home_tutorial_view.dart, package:example/src/home/ui/pages/home_tutorial_page.dart, package:example/src/stream/use_cases/message_attachment_load/message_attachment_load_cubit.dart, package:example/src/stream/ui/common/attachments/message_file_attachment.dart, package:example/src/stream/ui/common/message/message_content.dart, package:example/src/stream/ui/message_list/message_list_empty_saved_view.dart, package:example/src/stream/ui/pages/message_list_page.dart, package:example/src/stream/ui/common/message_list/message_list_tile.dart, package:example/src/stream/ui/message_list/message_list_footer_view.dart, package:example/src/stream/ui/message_list/message_list_footer_attached_message.dart, package:example/src/stream/ui/message_list/message_list_only_draft_view.dart, package:example/src/stream/ui/message_list/message_list_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_sheet.dart, package:example/src/stream/ui/pages/stream_profile_page.dart, package:example/src/gallery/ui/gallery/gallery_view.dart, package:example/src/gallery/ui/gallery/gallery_image.dart, package:example/src/internal/ui/common/example_snack_bar.dart, package:example/src/meet/use_cases/meet_list/meet_list_cubit.dart, package:example/src/meet/ui/pages/meet_list_page.dart, package:example/src/meet/use_cases/meet/meet_cubit.dart, package:example/src/meet/ui/pages/meet_page.dart, package:example/src/stream/use_cases/stream_profile/stream_profile_cubit.dart, package:example/src/mini_app/ui/mini_app/mini_app_error_view.dart, package:example/src/mini_app/ui/mini_app/mini_app_header.dart, package:example/src/mini_app/ui/mini_app/mini_app_loading_view.dart, package:example/src/mini_app/ui/mini_app/mini_app_splash.dart, package:example/src/mini_app/ui/mini_app/mini_app_no_access.dart, package:example/src/mini_app/ui/mini_app/mini_app_web_view_control.dart, package:example/src/mini_app/ui/mini_app/mini_app_options_sheet.dart, package:example/src/mini_app/ui/mini_app/mini_app_option_tile.dart, package:example/src/internal/infra/bridge/bridge_open_url_action.dart, package:example/src/mini_app/ui/mini_app_list/mini_app_list_error_view.dart, package:example/src/home/ui/common/home_app_bar.dart, package:example/src/mini_app/ui/mini_app_list/mini_app_list_view.dart, package:example/src/mini_app/ui/mini_app_list_tutorial/mini_app_list_tutorial_view.dart, package:example/src/home/ui/home/home_view.dart, package:example/src/home/ui/pages/home_page.dart, package:example/src/home/ui/home/home_quick_actions_sheet.dart, package:example/src/internal/ui/common/avatar.dart, package:example/src/contact/ui/contact_list/contact_colleagues_list_tab.dart, package:example/src/contact/ui/contact_list/contact_list_view.dart, package:example/src/contact/ui/pages/contact_list_page.dart, package:example/src/contact/ui/common/user_tile.dart, package:example/src/contact/ui/contact_list/contact_list_with_letters.dart, package:example/src/contact/ui/user_list_picker/user_list_picker_view.dart, package:example/src/contact/ui/pages/user_list_picker_page.dart, package:example/src/stream/ui/pages/stream_select_page.dart, package:example/src/meet/ui/pages/meet_user_list_picker_page.dart, package:example/src/meet/ui/pages/meet_create_page.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_contacts_view.dart, package:example/src/stream/ui/stream_select/create_stream_contact_list_view.dart, package:example/src/contact/ui/contact_search/contact_search_view.dart, package:example/src/contact/ui/pages/contact_search_page.dart, package:example/src/contact/ui/common/user_delete_chip.dart, package:example/src/contact/ui/user_list_picker/user_list_picker_loading_view.dart, package:example/src/internal/ui/common/avatar_list_view.dart, package:example/src/stream/ui/stream_call_incoming/stream_call_incoming_view.dart, package:example/src/easter_egg/ui/pages/app_settings_page.dart, package:example/src/meet/ui/meet_list/meet_list_tile.dart, package:example/src/meet/ui/meet_list/meet_list_in_progress_view.dart, package:example/src/meet/ui/meet_list/meet_list_view.dart, package:example/src/home/ui/home/home_service_card.dart, package:example/src/search/ui/search/search_mini_app_result.dart, package:example/src/search/ui/search/search_view.dart, package:example/src/search/ui/pages/search_page.dart, package:example/src/search/ui/search/search_stream_result.dart, package:example/src/search/ui/search/search_user_result.dart, package:example/src/meet/ui/common/meet_user_tile.dart, package:example/src/meet/ui/meet_create/meet_create_view.dart, package:example/src/meet/ui/meet/meet_view.dart, package:example/src/profile/ui/profile_black_list/profile_black_list_view.dart, package:example/src/profile/ui/pages/profile_black_list_page.dart, package:example/src/stream/ui/common/stream/stream_logo.dart, package:example/src/stream/ui/common/stream_list/stream_bot_tile.dart, package:example/src/stream/ui/common/stream_list/stream_item.dart, package:example/src/profile/ui/profile_add_exception/profile_add_exception_view.dart, package:example/src/profile/ui/pages/profile_add_exception_page.dart, package:example/src/profile/ui/pages/profile_notification_exceptions_page.dart, package:example/src/stream/ui/stream_list/stream_list_only_saved.dart, package:example/src/stream/ui/stream_list/stream_list_view.dart, package:example/src/stream/ui/common/stream_list/stream_channel_tile.dart, package:example/src/stream/ui/common/stream_list/stream_direct_tile.dart, package:example/src/stream/ui/common/stream_list/stream_group_tile.dart, package:example/src/stream/ui/common/stream_list/stream_with_deleted_account_tile.dart, package:example/src/stream/ui/message_list/message_list_appbar_view.dart, package:example/src/profile/ui/profile_notification_exceptions/profile_notification_exceptions_view.dart, package:example/src/profile/ui/profile/profile_view.dart, package:example/src/profile/ui/pages/profile_page.dart, package:example/src/profile/ui/profile_personal_info/profile_personal_info_view.dart, package:example/src/profile/ui/pages/profile_personal_info_page.dart, package:example/src/stream/ui/common/message/message_bubble.dart, package:example/src/stream/ui/common/attachments/message_contact_attachment.dart, package:example/src/stream/ui/message_list/message_list_footer_attached_contact.dart, package:example/src/stream/ui/message_list/message_list_join_meet_header.dart, package:example/src/stream/ui/stream_forward/stream_forward_view.dart, package:example/src/stream/ui/pages/stream_forward_page.dart, package:example/src/stream/ui/common/stream_profile/stream_member_tile.dart, package:example/src/stream/ui/stream_profile/stream_profile_view.dart, package:example/src/stream/ui/common/stream_profile/stream_profile_header.dart, package:example/src/stream/ui/stream_call_outgoing/stream_call_outgoing_view.dart, package:example/src/stream/ui/pages/stream_call_outgoing_page.dart, package:example/src/stream/ui/stream_mention/stream_mention_view.dart, package:example/src/stream/ui/pages/stream_mention_member_page.dart, package:example/src/stream/ui/common/stream_profile/absence_block.dart, package:example/src/stream/ui/stream_user_profile/stream_user_profile_view.dart, package:example/src/stream/ui/pages/stream_user_profile_page.dart, package:example/src/stream/ui/common/stream_profile/leaders_block.dart, package:example/src/stream/ui/common/stream_profile/user_tile.dart, package:example/src/stream/ui/common/stream_profile/user_list_block.dart, package:example/src/stream/ui/common/stream_profile/user_profile_header.dart, package:example/src/search/ui/common/search_app_bar.dart, package:example/src/search/ui/search/search_page_header.dart, package:example/src/search/ui/search/search_error_view.dart, package:example/src/search/ui/search/search_in_progress_view.dart, package:example/src/search/ui/search/search_nothing_found_view.dart, package:example/src/search/ui/search/search_start_view.dart, package:example/src/auth/ui/pages/login_code_page.dart, package:example/src/auth/ui/pages/login_page.dart, package:example/src/onboarding/ui/pages/onboarding_page.dart, package:example/src/router/infra/guards/onboarding_guard.dart, package:example/src/auth/ui/login_code/login_code_permission_denied_view.dart, package:example/src/auth/ui/login_code/login_code_view.dart, package:example/src/auth/ui/login/login_view.dart, package:example/src/auth/ui/login/login_privacy_text.dart, package:example/src/contact/ui/common/contact_search_field.dart, package:example/src/contact/ui/contact_search/contact_search_in_progress_view.dart, package:example/src/contact/ui/contact_search/contact_search_start_view.dart, package:example/src/contact/ui/contact_list/contact_colleagues_list_empty_tab.dart, package:example/src/contact/ui/contact_list/contact_list_empty_tab.dart, package:example/src/contact/ui/contact_list/contact_list_error_tab.dart, package:example/src/internal/ui/dialog/popup_dialog.dart, package:example/src/stream/ui/common/stream/stream_tile.dart, package:example/src/stream/ui/common/stream_list/stream_with_self_tile.dart, package:example/src/stream/ui/common/message/message_input_row.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_gallery_view.dart, package:example/src/contact/ui/contact_list/contact_list_zoomed_float_letter.dart, package:example/src/internal/ui/common/example_retry_view.dart, package:example/src/easter_egg/ui/pages/snackbar_list_page.dart, package:example/src/onboarding/ui/onboarding/onboarding_view.dart, package:example/src/onboarding/ui/onboarding/onboarding_fifth_slide.dart, package:example/src/onboarding/ui/onboarding/onboarding_fourth_slide.dart, package:example/src/onboarding/ui/onboarding/onboarding_second_slide.dart, package:example/src/onboarding/ui/onboarding/onboarding_third_slide.dart, package:example/src/internal/ui/common/example_screen_error.dart, package:example/src/qr_code/ui/qr_code_scanner/qr_code_scanner_failure.dart, package:example/src/qr_code/ui/pages/qr_code_scanner_page.dart, package:example/src/profile/ui/profile_add_exception/profile_add_exception_error.dart, package:example/src/profile/ui/profile/profile_failure_view.dart, package:example/src/qr_code/ui/qr_code_scanner/qr_code_business_card_view.dart, package:example/src/qr_code/ui/qr_code_scanner_controls/qr_code_business_card_control.dart, package:example/src/qr_code/ui/qr_code_scanner/qr_code_scanner_view.dart, package:example/src/search/ui/search/search_result_header.dart, package:example/src/home/ui/common/tutorial_target.dart, package:example/src/internal/ui/pages/outdated_page.dart, package:example/src/internal/ui/pages/pdf_reader_page.dart, package:example/src/internal/ui/splash/splash_view.dart, package:example/src/internal/ui/pages/splash_page.dart, package:example/src/internal/ui/common/example_logo.dart, package:example/src/internal/ui/pages/updated_page.dart, package:example/src/internal/ui/common/bottom_sheet_form_field.dart, package:example/src/internal/ui/common/date_time_picker_form_field.dart, package:example/src/meet/ui/meet_create/meet_create_action_sheet.dart, package:example/src/meet/ui/common/meet_sheet_tile.dart, package:example/src/meet/ui/meet_create/meet_create_timezone_sheet.dart, package:example/src/meet/ui/common/meet_failure_view.dart, package:example/src/meet/ui/meet_create/meet_create_sheet.dart, package:example/src/meet/ui/meet_list/meet_list_empty_view.dart, package:example/src/meet/ui/meet_list/meet_list_planning_card.dart, package:example/src/meet/ui/meet_list/meet_list_option_sheet.dart, package:example/src/meet/ui/meet_list/meet_list_planning_actions_sheet.dart, package:example/src/meet/ui/meet_list/meet_list_planning_button.dart, package:example/src/profile/ui/profile_change_exception/profile_change_exception_error_view.dart, package:example/src/profile/ui/pages/profile_change_exception_page.dart, package:example/src/profile/ui/profile_change_exception/profile_change_exception_view.dart, package:example/src/profile/ui/common/profile_exception_button.dart, package:example/src/profile/ui/pages/profile_feedback_page.dart, package:example/src/profile/ui/profile_feedback/profile_feedback_view.dart, package:example/src/internal/ui/common/example_list_tile.dart, package:example/src/profile/ui/profile_help/profile_help_view.dart, package:example/src/profile/ui/pages/profile_help_page.dart, package:example/src/profile/ui/profile_notification_settings/profile_notification_settings_view.dart, package:example/src/profile/ui/pages/profile_notification_settings_page.dart, package:example/src/profile/ui/profile_privacy/profile_privacy_view.dart, package:example/src/profile/ui/pages/profile_privacy_page.dart, package:example/src/profile/ui/profile_language/profile_language_view.dart, package:example/src/profile/ui/pages/profile_language_page.dart, package:example/src/profile/ui/profile_add_exception/profile_add_exception_empty.dart, package:example/src/profile/ui/profile_add_exception/profile_add_exception_loading.dart, package:example/src/stream/ui/common/stream_list/stream_content.dart, package:example/src/profile/ui/profile_notification_settings/profile_notification_settings_error_view.dart, package:example/src/qr_code/ui/pages/qr_code_result_page.dart, package:example/src/stream/ui/common/attachments/message_image.dart, package:example/src/stream/ui/common/attachments/message_image_list_preview.dart, package:example/src/stream/ui/common/message/attached_message_preview.dart, package:example/src/stream/ui/common/message/message_reply.dart, package:example/src/stream/ui/common/attachments/message_image_upload_indicator.dart, package:example/src/stream/ui/common/message_list/message_forward_header.dart, package:example/src/stream/ui/common/message/message_service_text.dart, package:example/src/stream/ui/common/message_list/message_list_date_divider.dart, package:example/src/stream/ui/common/message_list/message_unread_badge.dart, package:example/src/stream/ui/message_list/message_list_empty_view.dart, package:example/src/stream/ui/message_list/message_list_failure_view.dart, package:example/src/stream/ui/message_list/message_list_footer_disabled.dart, package:example/src/stream/ui/message_list/message_list_footer_attached_file.dart, package:example/src/stream/ui/message_list/message_list_header.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_camera_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_scaffold.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_empty_contacts_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_empty_gallery_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_error_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_files_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_loading_view.dart, package:example/src/stream/ui/message_list_attachment/message_list_attachment_navigation_bar.dart, package:example/src/stream/ui/common/stream_profile/stream_profile_actions_bottom_sheet.dart, package:example/src/stream/ui/pages/stream_settings_page.dart, package:example/src/stream/ui/stream_settings/stream_settings_view.dart, package:example/src/stream/ui/common/stream_profile/stream_profile_button.dart, package:example/src/stream/ui/stream_user_profile/stream_user_profile_deleted_view.dart, package:example/src/stream/ui/stream_select/create_multiple_users_stream_name_view.dart, package:example/src/stream/ui/stream_select/create_multiple_users_stream_name_page.dart, package:example/src/stream/ui/common/stream_select/privacy_type_radio_button.dart, package:example/src/stream/ui/stream_list/stream_list_loading.dart, package:example/src/stream/ui/stream_mention/stream_mention_error_view.dart, package:example/src/internal/infra/bridge/bridge_get_app_link_action.dart, package:example/src/qr_code/use_cases/qr_code_scanner/qr_code_scanner_cubit.dart, package:example/src/intl/error_localization.dart, package:example/src/internal/infra/services/uuid_service.dart, package:example/src/network/infra/models/centrifugo/read_identity.dart, package:example/src/network/infra/models/publish_event.dart, package:example/src/internal/infra/repositories/centrifuge_repository.dart, package:example/src/network/infra/services/centrifuge_service.dart, package:example/src/stream/use_cases/centrifuge_connection/centrifuge_connection_cubit.dart, package:example/src/stream/use_cases/stream_call_outgoing/stream_call_outgoing_cubit.dart, package:example/src/internal/infra/converters/uuid_json_converter.dart, package:example/src/network/infra/models/centrifugo/active_meet.dart, package:example/src/network/infra/models/centrifugo/stream.dart, package:example/src/network/infra/models/centrifugo/message.dart, package:example/src/network/infra/models/centrifugo/avatar.dart, package:example/src/network/infra/models/centrifugo/user.dart, package:example/src/network/infra/models/centrifugo/message_attach.dart, package:example/src/network/infra/models/centrifugo/sub_unsub.dart, package:example/src/network/infra/models/centrifugo/person.dart, package:example/src/network/infra/models/centrifugo/profile.dart, package:example/src/network/infra/models/centrifugo/call.dart, package:example/src/network/infra/models/centrifugo/message_entity.dart, package:example/src/internal/infra/models/messages/message_entity.dart, package:example/src/network/infra/models/user.dart, package:example/src/internal/infra/repositories/user_repository.dart, package:example/src/internal/infra/converters/message_attach_db_converter.dart, package:example/src/internal/infra/example_database.dart, package:example/src/mini_app/infra/models/mini_app.dart, package:example/src/internal/infra/converters/mini_app_type_db_converter.dart, package:example/src/internal/infra/tables/mini_app_table.dart, package:example/src/internal/infra/repositories/mini_app_repository.dart, package:example/src/network/infra/services/mini_app_service.dart, package:example/src/network/infra/services/dynamic_link_service.dart, package:example/src/internal/use_cases/splash/splash_cubit.dart, package:example/src/home/use_cases/home/home_cubit.dart, package:example/src/profile/use_cases/profile/profile_cubit.dart, package:example/src/stream/use_cases/stream_user_profile/stream_user_profile_cubit.dart, package:example/src/internal/infra/bridge/bridge_auth_code_action.dart, package:example/src/internal/infra/bridge/bridge_base_file_action.dart, package:example/src/internal/infra/bridge/bridge_pick_file_action.dart, package:example/src/internal/infra/bridge/bridge_take_picture_action.dart, package:example/src/internal/infra/bridge/bridge_pick_files_action.dart, package:example/src/mini_app/use_cases/mini_app_dev_options/mini_app_dev_options_cubit.dart, package:example/src/mini_app/ui/pages/mini_app_dev_options_page.dart, package:example/src/internal/infra/tables/mini_app_table.dart.types.temp.dart, package:example/src/network/infra/services/search_service.dart, package:example/src/contact/use_cases/contact_search/contact_search_cubit.dart, package:example/src/search/use_cases/search/search_cubit.dart, package:example/src/meet/use_cases/meet_user_list_picker/meet_user_list_picker_cubit.dart, package:example/src/internal/infra/migrator.dart, package:example/src/internal/infra/models/message.dart, package:example/src/internal/infra/tables/message_drafts_table.dart, package:example/src/internal/infra/repositories/message_repository.dart, package:example/src/internal/infra/models/job/message_send_job_runner.dart, package:example/src/internal/infra/services/job_service.dart, package:example/src/network/infra/services/message_service.dart, package:example/src/network/infra/services/stream_subscribe_service.dart, package:example/src/internal/infra/bridge/bridge_open_stream_action.dart, package:example/src/stream/use_cases/message_list/message_list_cubit.dart, package:example/src/stream/use_cases/message_list_footer/message_list_footer_cubit.dart, package:example/src/stream/use_cases/attach_upload_progress/attach_upload_progress_cubit.dart, package:example/src/internal/infra/tables/messages_table.dart, package:example/src/internal/infra/repositories/stream_repository.dart, package:example/src/network/infra/services/stream_notification_service.dart, package:example/src/network/infra/services/settings_service.dart, package:example/src/network/infra/services/one_signal_service.dart, package:example/src/easter_egg/use_cases/app_settings/app_settings_cubit.dart, package:example/src/auth/use_cases/login_code/login_code_cubit.dart, package:example/src/auth/use_cases/login/login_cubit.dart, package:example/src/contact/use_cases/contact_list/contact_list_cubit.dart, package:example/src/onboarding/use_cases/onboarding/onboarding_cubit.dart, package:example/src/home/use_cases/home_navigation/home_navigation_cubit.dart, package:example/src/internal/use_cases/outdated/outdated_cubit.dart, package:example/src/internal/use_cases/updated/update_cubit.dart, package:example/src/meet/use_cases/meet_create/meet_create_cubit.dart, package:example/src/profile/use_cases/profile_change_exception/profile_change_exception_cubit.dart, package:example/src/profile/use_cases/profile_feedback/profile_feedback_cubit.dart, package:example/src/profile/use_cases/profile_language/profile_language_cubit.dart, package:example/src/profile/use_cases/profile_add_exception/profile_add_exception_cubit.dart, package:example/src/profile/use_cases/profile_notification_exceptions/profile_notification_exceptions_cubit.dart, package:example/src/profile/use_cases/profile_notification_settings/profile_notification_settings_cubit.dart, package:example/src/stream/use_cases/stream_settings/stream_settings_cubit.dart, package:example/src/stream/use_cases/stream_select/stream_select_cubit.dart, package:example/src/network/infra/services/stream_service.dart, package:example/src/internal/infra/bridge/bridge_open_direct_stream_action.dart, package:example/src/stream/use_cases/message_list_appbar/message_list_appbar_cubit.dart, package:example/src/network/infra/services/avatar_service.dart, package:example/src/internal/infra/services/storage_cache_manager.dart, package:example/src/internal/ui/common/link_image_provider.dart, package:example/src/internal/infra/services/gallery_saver_service.dart, package:example/src/internal/infra/bridge/bridge_download_file_action.dart, package:example/src/internal/infra/bridge/bridge_save_to_gallery_action.dart, package:example/src/gallery/use_cases/gallery_save/gallery_save_cubit.dart, package:example/src/internal/infra/services/vcard_service.dart, package:example/src/stream/ui/stream_settings/stream_settings_logo.dart, package:example/src/stream/use_cases/forward_stream_list/forward_stream_list_cubit.dart, package:example/src/internal/infra/repositories/stream_repository.expr.temp.dart, package:example/src/network/infra/models/search_response.dart, package:example/src/internal/infra/models/streams/chat_stream.dart, package:example/src/internal/infra/tables/messages_table.dart.types.temp.dart, package:example/src/internal/infra/tables/message_drafts_table.dart.types.temp.dart, package:example/src/internal/infra/services/job_order_service.dart, package:example/src/internal/infra/repositories/job_order_repository.dart, package:example/src/internal/infra/extensions/profile_pb_profile_x.dart, package:example/src/network/infra/services/profile_service.dart, package:example/src/network/infra/services/user_service.dart, package:example/src/contact/use_cases/user_list_picker/user_list_picker_cubit.dart, package:example/src/profile/use_cases/profile_privacy/profile_privacy_cubit.dart, package:example/src/network/infra/services/contact_service.dart, package:example/src/profile/use_cases/profile_personal_info/profile_personal_info_cubit.dart, package:example/src/internal/infra/repositories/contact_repository.dart, package:example/src/internal/infra/repositories/profile_repository.dart, package:example/src/internal/infra/repositories/colleague_repository.dart, package:example/src/internal/infra/repositories/one_signal_repository.dart, package:example/src/easter_egg/use_cases/push_notification_debug/push_notification_debug_cubit.dart, package:example/src/easter_egg/ui/pages/push_notification_debug_page.dart, package:example/src/easter_egg/ui/pages/push_notification_page.dart, package:example/src/internal/infra/repositories/meet_repository.dart, package:example/src/network/infra/services/meet_service.dart, package:example/src/meet/use_cases/meet_list_completed/meet_list_completed_cubit.dart, package:example/src/meet/use_cases/meet_list_planned/meet_list_planned_cubit.dart, package:example/src/internal/infra/repositories/stream_member_repository.dart, package:example/src/network/infra/services/stream_member_service.dart, package:example/src/stream/use_cases/stream_member_list/stream_member_list_cubit.dart, package:example/src/internal/infra/repositories/timezone_repository.dart, package:example/src/internal/infra/extensions/chat_stream_data_x.dart, package:example/src/internal/infra/repositories/black_list_repository.dart, package:example/src/network/infra/services/black_list_service.dart, package:example/src/profile/use_cases/profile_black_list/profile_black_list_cubit.dart, package:example/src/internal/infra/extensions/job_order_x.dart, package:example/src/network/infra/services/session_service.dart, package:example/src/internal/infra/models/messages/message_attach.dart, package:example/src/stream/infra/models/absence.dart, package:example/src/meet/infra/models/meet.dart, package:example/src/stream/infra/models/person_colleagues.dart, package:example/src/contact/infra/converters/user_list_converter.dart, package:example/src/stream/use_cases/message_list_attachment_sheet/message_list_attachment_sheet_cubit.dart, package:example/src/internal/infra/converters/message_entity_list_db_converter.dart, package:example/src/internal/infra/models/avatar.dart, package:example/src/internal/infra/converters/avatar_db_converter.dart, package:example/src/internal/infra/tables/users_table.dart, package:example/src/internal/infra/tables/colleagues_table.dart, package:example/src/internal/infra/repositories/user_repository.expr.temp.dart, package:example/src/internal/infra/repositories/stream_member_repository.expr.temp.dart, package:example/src/internal/infra/tables/streams_table.dart, package:example/src/internal/infra/tables/meet_streams_table.dart, package:example/src/internal/infra/tables/streams_table.dart.types.temp.dart, package:example/src/internal/infra/tables/users_table.dart.types.temp.dart, package:example/src/internal/infra/models/message_identity.dart, package:example/src/internal/infra/models/job/message_send_job.dart, package:example/src/internal/infra/converters/job_converter.dart, package:example/src/internal/infra/tables/job_orders_table.dart, package:example/src/internal/infra/models/files/file_meta.dart, package:example/src/internal/infra/models/files/example_file.dart, package:example/src/internal/infra/services/stream_file_cache_service.dart, package:example/src/network/infra/services/file_service.dart, package:example/src/internal/infra/services/example_cache_manager.dart, package:example/src/internal/infra/services/download_cache_service.dart, package:example/src/internal/infra/services/resize_service.dart, package:example/src/internal/infra/converters/uuid_converter.dart, package:example/src/internal/infra/tables/active_meets_table.dart, package:example/src/internal/infra/tables/stream_members_table.dart, package:example/src/internal/infra/extensions/get_global_notify_response_x.dart, package:example/src/internal/infra/tables/active_meets_table.dart.types.temp.dart, package:example/src/internal/infra/tables/meet_streams_table.dart.types.temp.dart, package:example/src/internal/infra/tables/stream_members_table.dart.types.temp.dart, package:example/src/internal/infra/services/device_service.dart, package:example/src/internal/infra/bridge/bridge_share_file_action.dart, package:example/src/internal/infra/models/errors/phone_number_error.dart, package:example/src/internal/infra/services/phone_number_service.dart, package:example/src/internal/infra/validators/phone_validator.dart, package:example/src/internal/infra/models/files/asset_entity.dart, package:example/src/internal/infra/services/file_picker_service.dart, package:example/src/internal/infra/services/image_picker_service.dart, package:example/src/qr_code/use_cases/qr_code_scanner_controls/qr_code_scanner_controls_cubit.dart, package:example/src/mini_app/infra/models/mini_app_theme.dart, package:example/src/internal/infra/repositories/session_repository.dart, package:example/src/mini_app/infra/services/mini_app_queue_service.dart, package:example/src/internal/infra/repositories/shared_preferences_base_repository.dart, package:example/src/internal/infra/repositories/settings_repository.dart, package:example/src/internal/infra/repositories/shared_preferences_repository.dart, package:example/src/internal/infra/repositories/app_repository.dart, package:example/src/profile/use_cases/profile_help/profile_help_cubit.dart, package:example/src/router/infra/guards/main_page_guard.dart, package:example/src/router/infra/guards/mini_app_list_page_guard.dart, package:example/src/stream/infra/models/stream_error.dart, package:example/src/mini_app/infra/models/mini_app_error.dart, package:example/src/auth/infra/models/sign_in_sms_token.dart, package:example/src/auth/infra/models/auth_error.dart, package:example/src/contact/infra/models/contact_create_error.dart, package:example/src/internal/infra/extensions/dartz.dart, package:example/src/network/infra/services/error_service.dart, package:example/src/router/infra/guards/outdated_guard.dart, package:example/src/internal/infra/services/crop_service.dart, package:example/src/internal/infra/services/permission_service.dart, package:example/src/internal/infra/extensions/bridge_error_x.dart, package:example/src/internal/infra/bridge/bridge_copy_text_action.dart, package:example/src/internal/infra/bridge/bridge_share_action.dart, package:example/src/qr_code/use_cases/qr_code_result/qr_code_result_cubit.dart, package:example/src/stream/ui/common/stream_permission_dialog.dart, package:example/src/stream/infra/validators/stream_multiple_users_description_validator.dart, package:example/src/internal/infra/validators/validator_object.dart, package:example/src/stream/infra/validators/stream_multiple_users_name_validator.dart, package:example/src/stream/ui/stream_select/create_stream_error_view.dart, package:example/src/stream/ui/stream_user_profile/stream_user_profile_error_view.dart, package:grpc/src/auth/auth.dart, package:grpc/src/auth/auth_io.dart, package:grpc/src/shared/api.dart, package:grpc/src/client/connection.dart, package:grpc/src/client/channel.dart, package:grpc/src/client/client.dart, package:grpc/service_api.dart, package:example/src/network/infra/example/chat/v3/file_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/profile_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/profile_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/notification_service.pbgrpc.dart, package:example/src/network/infra/example/chat/settings/settings_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/user_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/user_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/message_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/message_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/stream_member_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/stream_member_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/stream_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/stream_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/miniapp_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/miniapp_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/avatar_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/dynlink_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/search_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/search_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/contact_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/contact_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/meet_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/subscribe_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/subscribe_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/blacklist_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v3/blacklist_service.pbgrpc.dart, package:example/src/network/infra/example/chat/v2/session_service.pbgrpc.dart, package:grpc/src/client/http2_channel.dart, package:grpc/src/client/http2_connection.dart, package:grpc/src/client/interceptor.dart, package:async/src/async_cache.dart, package:get_it/get_it.dart, package:injectable/src/get_it_helper.dart, package:injectable/injectable.dart, package:injectable/src/micro_package_module.dart, package:example/src/internal/infra/services/logger_service.dart, package:example/src/internal/infra/services/environment_service.dart, package:example/src/internal/infra/services/voip_service.dart, package:example/src/internal/infra/extensions/uri_x.dart, package:example/src/internal/infra/services/launch_service.dart, package:example/src/internal/infra/services/local_notifications_service.dart, package:example/src/internal/infra/services/share_service.dart, package:example/src/internal/infra/services/brightness_service.dart, package:example/src/injection.dart, package:example/src/easter_egg/ui/pages/app_link_debug_page.dart, package:example/src/internal/infra/services/timezone_service.dart, package:example/src/internal/infra/services/app_link_service.dart, package:example/src/easter_egg/use_cases/app_link_debug/app_link_debug_cubit.dart, package:example/src/internal/ui/theme/example_app_theme.dart, package:example/src/internal/ui/pages/web_view_page.dart, package:example/src/internal/ui/theme/example_icon.dart, package:example/src/internal/ui/common/example_button.dart, package:example/src/auth/ui/login_code/login_code_timer_button.dart, package:example/src/easter_egg/ui/pages/haptic_feedback_page.dart, package:example/src/internal/ui/common/example_loading_indicator.dart, package:example/src/auth/ui/login/login_loading_view.dart, package:example/src/contact/ui/contact_list/contact_list_loading_tab.dart, package:example/src/onboarding/ui/onboarding/onboarding_loading_view.dart, package:example/src/internal/ui/common/example_screen_loading.dart, package:example/src/qr_code/ui/qr_code_scanner/qr_code_scanner_loading.dart, package:example/src/profile/ui/profile_change_exception/profile_change_exception_loading.dart, package:example/src/profile/ui/profile_notification_exceptions/profile_notification_exceptions_loading.dart, package:example/src/profile/ui/profile_notification_settings/profile_notification_settings_loading_view.dart, package:example/src/profile/ui/profile/profile_loading_view.dart, package:example/src/profile/ui/profile_personal_info/profile_personal_info_loading.dart, package:example/src/stream/ui/stream_forward/stream_forward_loading_view.dart, package:example/src/stream/ui/stream_settings/stream_settings_loading_view.dart, package:example/src/stream/ui/stream_profile/stream_profile_loading_view.dart, package:example/src/stream/ui/stream_list/stream_list_connection_indicator.dart, package:example/src/stream/ui/stream_mention/stream_mention_loading_view.dart, package:example/src/stream/ui/stream_user_profile/stream_user_profile_loading_view.dart, package:example/src/auth/ui/common/phone_input/phone_input.dart, package:example/src/contact/ui/contact_list/contact_list_tab_bar.dart, package:example/src/internal/ui/common/example_checkbox.dart, package:example/src/onboarding/ui/onboarding/onboarding_first_slide.dart, package:example/src/stream/ui/stream_call_incoming/stream_call_incoming_slide_button.dart, package:example/src/internal/ui/common/example_sheet.dart, package:example/src/internal/ui/common/shimmer_container.dart, package:example/src/qr_code/ui/qr_code_scanner_controls/qr_code_business_card_share_control.dart, package:example/src/qr_code/ui/qr_code_scanner_controls/qr_code_scanner_close_control.dart, package:example/src/internal/ui/common/example_copy_button.dart, package:example/src/meet/ui/meet_list/meet_list_live_badge.dart, package:example/src/internal/ui/common/example_radio_button.dart, package:example/src/stream/ui/common/message/message_bubble_painter.dart, package:example/src/stream/ui/common/attachments/message_file_attachment_icon.dart, package:example/src/stream/ui/message_list/message_list_text_editing_controller.dart, package:example/src/stream/ui/stream_list/stream_list_disconnected.dart, package:example/src/stream/ui/stream_user_profile/stream_user_profile_not_found_view.dart, package:example/src/gallery/use_cases/gallery/gallery_cubit.dart, package:stream_channel/stream_channel.dart, package:drift/isolate.dart, package:drift/native.dart, package:drift_dev/api/migrations.dart, package:drift_dev/src/services/schema/verifier_impl.dart, package:stream_channel/src/close_guarantee_channel.dart, package:stream_channel/src/guarantee_channel.dart, package:stream_channel/src/stream_channel_transformer.dart, package:stream_channel/src/delegating_stream_channel.dart, package:stream_channel/src/disconnector.dart, package:stream_channel/src/json_document_transformer.dart, package:stream_channel/src/multi_channel.dart, package:stream_channel/src/stream_channel_completer.dart, package:stream_channel/src/stream_channel_controller.dart, package:drift/remote.dart, package:drift/src/remote/server_impl.dart, package:drift/src/isolate.dart, package:drift/src/remote/client_impl.dart, package:drift/src/remote/communication.dart, package:web_socket_channel/src/channel.dart, package:web_socket_channel/web_socket_channel.dart, package:centrifuge/src/transport.dart, package:centrifuge/src/client.dart, package:centrifuge/centrifuge.dart, package:centrifuge/src/client_config.dart, package:centrifuge/src/subscription.dart, package:web_socket_channel/src/_connect_api.dart, package:centrifuge/src/channel.dart, package:web_socket_channel/src/exception.dart, package:web_socket_channel/src/copy/web_socket_impl.dart, package:web_socket_channel/io.dart, package:web_socket_channel/src/sink_completer.dart, package:dio/src/adapters/io_adapter.dart, package:dio/src/adapter.dart, package:dio/dio.dart, package:example/src/internal/infra/models/bridge_request.dart, package:example/src/internal/infra/bridge/i_bridge_action.dart, package:example/src/internal/infra/bridge/bridge_get_client_version_action.dart, package:example/src/internal/infra/bridge/bridge_haptic_action.dart, package:example/src/internal/infra/bridge/bridge_init_action.dart, package:example/src/internal/infra/bridge/bridge_supports_action.dart, package:dio/src/response/response_stream_handler.dart, package:dio/src/dio_mixin.dart, package:dio/src/dio.dart, package:dio/src/dio/dio_for_native.dart, package:dio/src/interceptors/imply_content_type.dart, package:dio/src/interceptors/log.dart, package:dio/src/progress_stream/io_progress_stream.dart, package:dio/src/options.dart, package:dio/src/utils.dart, package:dio/src/headers.dart, package:dio/src/response.dart, package:dio/src/dio_exception.dart, package:dio/src/cancel_token.dart, package:dio/src/transformers/sync_transformer.dart, package:dio/src/transformers/background_transformer.dart, package:dio/src/transformer.dart, package:dio/src/form_data.dart, package:dio/src/multipart_file.dart, package:dio/src/multipart_file/io_multipart_file.dart, package:dio/src/compute/compute_io.dart, package:dio/src/compute/compute.dart, package:dio/src/parameter.dart}][#0 LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:268:67) #1 LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20) #2 AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1952:22) #3 AnalysisDriver._applyPendingFileChanges (package:analyzer/src/dart/analysis/driver.dart:1468:7) #4 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2318:16) ] package:analyzer/src/summary2/linked_element_factory.dart 153:7 LinkedElementFactory.createLibraryElementForReading package:analyzer/src/summary2/linked_element_factory.dart 218:14 LinkedElementFactory.elementOfReference package:analyzer/src/summary2/linked_element_factory.dart 222:27 LinkedElementFactory.elementOfReference package:analyzer/src/summary2/linked_element_factory.dart 222:27 LinkedElementFactory.elementOfReference package:analyzer/src/summary2/bundle_reader.dart 2424:28 ResolutionReader._readRawElement package:analyzer/src/summary2/bundle_reader.dart 1954:19 ResolutionReader.readElement package:analyzer/src/summary2/bundle_reader.dart 2087:21 ResolutionReader.readType package:analyzer/src/summary2/bundle_reader.dart 2055:12 ResolutionReader.readRequiredType package:analyzer/src/summary2/bundle_reader.dart 300:31 ElementLinkedData._readFormalParameters package:analyzer/src/summary2/bundle_reader.dart 213:5 ConstructorElementLinkedData._read package:analyzer/src/summary2/bundle_reader.dart 255:5 ElementLinkedData.read package:analyzer/src/dart/element/element.dart 2792:17 ExecutableElementImpl.metadata package:source_gen/src/type_checker.dart 68:17 TypeChecker.firstAnnotationOf package:injectable_generator/resolvers/dependency_resolver.dart 235:52 DependencyResolver._resolveActualType. dart:collection ListBase.firstWhere package:injectable_generator/resolvers/dependency_resolver.dart 233:49 DependencyResolver._resolveActualType package:injectable_generator/resolvers/dependency_resolver.dart 55:12 DependencyResolver.resolve package:injectable_generator/generators/injectable_generator.dart 58:11 InjectableGenerator.generate package:source_gen/src/builder.dart 342:23 _generate [INFO] 1m 2s elapsed, 836/853 actions completed. [INFO] 1m 3s elapsed, 888/904 actions completed. [INFO] 1m 4s elapsed, 916/932 actions completed. [INFO] 1m 5s elapsed, 931/947 actions completed. [INFO] 1m 6s elapsed, 954/969 actions completed. [INFO] 1m 7s elapsed, 968/984 actions completed. [INFO] 1m 8s elapsed, 986/1002 actions completed. [INFO] 1m 9s elapsed, 1049/1068 actions completed. [INFO] 1m 10s elapsed, 1076/1077 actions completed. [WARNING] injectable_generator:injectable_config_builder on lib/src/injection.dart: Missing dependencies in example/src/injection.dart [ProfileBlackListCubit] depends on unregistered type [BlackListService] from package:example/src/network/infra/services/black_list_service.dart [StreamUserProfileCubit] depends on unregistered type [BlackListService] from package:example/src/network/infra/services/black_list_service.dart Did you forget to annotate the above class(s) or their implementation with @injectable? or add the right environment keys? ------------------------------------------------------------------------ [INFO] Running build completed, took 1m 11s [INFO] Caching finalized dependency graph... [INFO] Caching finalized dependency graph completed, took 295ms [SEVERE] Failed after 1m 11s ```

Flutter version: 3.19.3

injectable: 2.4.0 injectable_generator: 2.6.1 analyzer: 6.4.1

Holofox commented 6 months ago

It looks like after I changed the build.yaml in the project root the problem went away:

    builders:
      injectable_generator:injectable_builder:
        enabled: true
        generate_for:
          - lib/**/repositories/**
          - lib/**/services/**
          - lib/**/interceptors/**

->

    builders:
      injectable_generator:injectable_builder:
        enabled: true
        generate_for:
          - lib/**/*_repository.dart
          - lib/**/*_service.dart
          - lib/**/*_interceptor.dart