use mushroomFeatureGraphComponent

mail@pastecode.io avatar
unknown
python
2 years ago
10 kB
4
Indexable
Never
ERROR: /Users/lli4/Snapchat/Dev/android/snapchat/apps/mushroom/feature-bindings/BUILD.bazel:4:19: KotlinKapt //apps/mushroom/feature-bindings:bindings { kt: 120, java: 22, srcjars: 0 } for arm64-v8a failed: (Exit 1): build failed: error executing command (from target //apps/mushroom/feature-bindings:bindings)
(cd /Users/lli4/Snapchat/Dev/.cache/bazel/x86_64/dd745165815919eb7dad835a3b35696c/execroot/__main__ && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
REPOSITORY_NAME=io_bazel_rules_kotlin \
bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/io_bazel_rules_kotlin/src/main/kotlin/build '--flagfile=bazel-out/android-arm64-v8a-fastbuild/bin/apps/mushroom/feature-bindings/bindings-kapt-gensrc.jar-0.params')
# Configuration: 1a5324e7b0ace0b99fbfb4f76e21565336f61ad98fa5311ed8ba0ce12d14c8a2
# Execution platform: @local_config_platform//:host
error: apps/mushroom/feature-bindings/src/devSupport/java/com/snap/mushroom/dagger/component/MushroomDevSupportComponent.java:73: error: cannot find symbol
MediaRenderingExternalDepsComponentGeneratedProvisionModule.class,
^
symbol: class MediaRenderingExternalDepsComponentGeneratedProvisionModule
error: apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/LegacyUserComponent.java:153: error: cannot find symbol
MushroomBenchmarksComponentGeneratedProvisionModule.class,
^
symbol: class MushroomBenchmarksComponentGeneratedProvisionModule
error: apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/MainActivityDeprecatedModule.java:123: error: cannot find symbol
MushroomLensesContextCardComponentGeneratedProvisionModule.class,
^
symbol: class MushroomLensesContextCardComponentGeneratedProvisionModule
error: apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/MainActivityDeprecatedModule.java:124: error: cannot find symbol
MushroomLensesOperaComponentGeneratedProvisionModule.class,
^
symbol: class MushroomLensesOperaComponentGeneratedProvisionModule
error: /var/folders/5x/t7zhkkxd3v5_lwjplfqn5c600000gn/T/pwd9286404937555141791/_kotlinc/apps_mushroom_feature-bindings-bindings_jvm/temp/stubs/com/snap/mushroom/dagger/component/MediaRenderingExternalDepsComponent.java:7: error: cannot find symbol
@dagger.Component(modules = {com.snap.geofilters.dagger.GeoFiltersModules.BindingModule.class, com.snap.stickers.dagger.StickerModules.BindingsModule.class, com.snap.previewtools.caption.dagger.CaptionToolModule.BindingModule.class, MushroomTranscodingFeaturePluginComponentGeneratedProvisionModule.class}, dependencies = {com.snap.dagger.BuildInfoComponent.class, com.snap.dagger.DevSupportComponent.class, com.snap.dagger.PlatformComponentGraphInterface.class, com.snap.dagger.CoreServicesComponent.class, com.snap.lenses.app.LensesUserServiceComponent.class, com.snap.spectacles.bindings.SpectaclesUserServiceComponent.class, com.snap.featuredb.core.FeatureDbComponent.class, com.snap.preview.voiceover.bindings.VoiceoverServiceComponentInterface.class})
^
symbol: class MushroomTranscodingFeaturePluginComponentGeneratedProvisionModule
error: /var/folders/5x/t7zhkkxd3v5_lwjplfqn5c600000gn/T/pwd9286404937555141791/_kotlinc/apps_mushroom_feature-bindings-bindings_jvm/temp/stubs/com/snap/mushroom/dagger/component/MushroomBillboardActionHandlerRegistry.java:8: error: [Dagger/Validation]
public abstract interface MushroomBillboardActionHandlerRegistry extends com.snap.billboard.api.BillboardActionHandlerRegistry {
^
[Dagger/MissingBinding] SendToController cannot be provided without an @Provides-annotated method.
Provider<SendToController> is injected at
DwebUpsellModule.Companion.provideUpselTrayLauncher(…, arg6, …)
DwebUpsellTrayLauncher is injected at
SendFlowLauncherModules.BillBoardHandlerModule.provideBillboardActionDwebUpsellActionHandler(arg0)
Map<Class<?>,Provider<BillboardActionHandler<?>>> is requested at
BillboardActionHandlerRegistry.getBillboardActionHandlers()

[Dagger/MissingBinding] ComposerPeopleComponentFactory cannot be provided without an @Provides-annotated method.
ComposerPeopleComponentFactory is injected at
DwebUpsellModule.Companion.providesComposerPeopleComponent(arg0, …)
ComposerPeopleComponentInterface is injected at
DwebUpsellModule.Companion.providesLogging(arg0)
@ForAsyncBlizzardLogger Logging is injected at
DwebUpsellModule.Companion.provideUpselTrayLauncher(…, arg8, …)
DwebUpsellTrayLauncher is injected at
SendFlowLauncherModules.BillBoardHandlerModule.provideBillboardActionDwebUpsellActionHandler(arg0)
Map<Class<?>,Provider<BillboardActionHandler<?>>> is requested at
BillboardActionHandlerRegistry.getBillboardActionHandlers()

[Dagger/MissingBinding] FriendActionDispatchInterface cannot be provided without an @Provides-annotated method.
Provider<FriendActionDispatchInterface> is injected at
BillboardActionFriendCheckupHandler(…, arg1)
BillboardActionFriendCheckupHandler is injected at
BillboardActionHandlerModules.ActionHandlerModule.provideBillboardActionFriendCheckupHandler(arg0)
Map<Class<?>,Provider<BillboardActionHandler<?>>> is requested at
BillboardActionHandlerRegistry.getBillboardActionHandlers()

======================
Full classname legend:
======================
BillboardActionFriendCheckupHandler: com.snap.billboard.lib.action.BillboardActionFriendCheckupHandler
BillboardActionHandler:              com.snap.billboard.api.BillboardActionHandler
BillboardActionHandlerModules:       com.snap.billboard.bindings.BillboardActionHandlerModules
BillboardActionHandlerRegistry:      com.snap.billboard.api.BillboardActionHandlerRegistry
ComposerPeopleComponentFactory:      com.snap.composer.people.ComposerPeopleComponentFactory
ComposerPeopleComponentInterface:    com.snap.composer.people.ComposerPeopleComponentInterface
DwebUpsellModule:                    com.snap.messaging.renderingplugins.dwebupsell.bindings.DwebUpsellModule
DwebUpsellTrayLauncher:              com.snap.messaging.renderingplugins.dwebupsell.lib.DwebUpsellTrayLauncher
ForAsyncBlizzardLogger:              com.snap.composer.people.blizzard.ForAsyncBlizzardLogger
FriendActionDispatchInterface:       com.snap.identity.api.FriendActionDispatchInterface
Logging:                             com.snap.composer.blizzard.Logging
Provider:                            javax.inject.Provider
SendFlowLauncherModules:             com.snap.sendflow.dagger.SendFlowLauncherModules
SendToController:                    com.snap.sendflow.SendToController
========================
End of classname legend:
========================
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/DataSyncerManagerFactoryImpl.kt:23:43: error: unresolved reference: DaggerMushroomLegacyDataSyncManagerComponent
import com.snap.mushroom.dagger.component.DaggerMushroomLegacyDataSyncManagerComponent
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/LoginSignupComponent.kt:128:15: error: only 'const val' can be used in constant expressions
modules = [
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/LoginSignupComponent.kt:139:9: error: an annotation argument must be a compile-time constant
com.snap.mushroom.dagger.component.MushroomLegacyDataSyncManagerComponentGeneratedProvisionModule::class,
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/LoginSignupComponent.kt:139:44: error: unresolved reference: MushroomLegacyDataSyncManagerComponentGeneratedProvisionModule
com.snap.mushroom.dagger.component.MushroomLegacyDataSyncManagerComponentGeneratedProvisionModule::class,
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/component/MediaRenderingExternalDepsComponent.kt:27:15: error: only 'const val' can be used in constant expressions
modules = [
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/component/MediaRenderingExternalDepsComponent.kt:31:9: error: unresolved reference: MushroomTranscodingFeaturePluginComponentGeneratedProvisionModule
MushroomTranscodingFeaturePluginComponentGeneratedProvisionModule::class,
^
apps/mushroom/feature-bindings/src/main/java/com/snap/mushroom/dagger/component/MediaRenderingExternalDepsComponent.kt:31:9: error: an annotation argument must be a compile-time constant
MushroomTranscodingFeaturePluginComponentGeneratedProvisionModule::class,
^
Oct 28, 2022 11:18:45 AM worker request 0
SEVERE: Compilation failure: compile phase failed:Target //apps/mushroom/apk:mushroom-gms failed to build
ERROR: /Users/lli4/Snapchat/Dev/android/snapchat/apps/mushroom/feature-bindings/BUILD.bazel:4:19 Building apps/mushroom/feature-bindings/bindings-java.jar (22 source files, 1 source jar) and running annotation processors (SnapDaggerProcessor, AndroidProcessor, ComponentProcessor) failed: (Exit 1): build failed: error executing command (from target //apps/mushroom/feature-bindings:bindings)
(cd /Users/lli4/Snapchat/Dev/.cache/bazel/x86_64/dd745165815919eb7dad835a3b35696c/execroot/__main__ && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
REPOSITORY_NAME=io_bazel_rules_kotlin \
bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/io_bazel_rules_kotlin/src/main/kotlin/build '--flagfile=bazel-out/android-arm64-v8a-fastbuild/bin/apps/mushroom/feature-bindings/bindings-kapt-gensrc.jar-0.params')
# Configuration: 1a5324e7b0ace0b99fbfb4f76e21565336f61ad98fa5311ed8ba0ce12d14c8a2
# Execution platform: @local_config_platform//:host
INFO: Elapsed time: 44.994s (0.75m), Critical Path: 38.56s (0.64m)
INFO: 2 processes: 2 internal.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
INFO: Build Event Protocol files produced successfully.
FAILED: Build did NOT complete successfully


Bazel execution failed. Rerun the command for more info:  ./bazelw build --tool_tag=ijwb:AndroidStudio --tool_tag=version:2022.06.14_snap-v1 --output_groups=+android_deploy_info --curses=no --color=yes --progress_in_terminal_title=no --build_event_binary_file=/var/folders/5x/t7zhkkxd3v5_lwjplfqn5c600000gn/T/intellij-bep-95d2a161-f904-469a-825e-e96b875056e8 --nobuild_event_binary_file_path_conversion -- //apps/mushroom/apk:mushroom-gms --verbose_failures
See http://go/android-bazel-faq for common errors and workarounds.
Fetching aar files...