My Android builds suddenly stopped building. I have no idea what is causing the build failure. I recently updated to Gradle 7.5 as well as some other libraries. But there is no detailed information on what is causing the build failure.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src}
Attempting to read last messages from the daemon log...
Daemon pid: 2045
log file: /root/.gradle/daemon/7.5.1/daemon-2045.out.log
----- Last 20 lines from daemon log file - daemon-2045.out.log -----
2022-08-28T06:46:39.468+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 226: received class org.gradle.launcher.daemon.protocol.Build
2022-08-28T06:46:39.468+0000 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 226: Received non-IO message from client: Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src}
2022-08-28T06:46:39.468+0000 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src}.
2022-08-28T06:46:39.468+0000 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src} with connection: socket connection from /127.0.0.1:37699 to /127.0.0.1:51228.
2022-08-28T06:46:39.469+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src}, connection = DefaultDaemonConnection: socket connection from /127.0.0.1:37699 to /127.0.0.1:51228] after 0.0 minutes of idle
2022-08-28T06:46:39.469+0000 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Marking the daemon as busy, address: [474a683a-f0f7-4dc6-8955-d55fca777e4d port:37699, addresses:[localhost/127.0.0.1]]
2022-08-28T06:46:39.469+0000 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [474a683a-f0f7-4dc6-8955-d55fca777e4d port:37699, addresses:[localhost/127.0.0.1]]
2022-08-28T06:46:39.469+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
2022-08-28T06:46:39.469+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2022-08-28T06:46:39.470+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2022-08-28T06:46:39.470+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer
2022-08-28T06:46:39.470+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
2022-08-28T06:46:39.470+0000 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=479cd751-8a56-4686-b126-b332291d4a87, currentDir=/bitrise/src}. Dispatching build started information...
2022-08-28T06:46:39.470+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 19: dispatching org.gradle.launcher.daemon.protocol.BuildStarted@6fbb35c0
2022-08-28T06:46:39.471+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: [GIT_CLONE_COMMIT_COMMITER_EMAIL, PATH, PR, BITRISEIO_STACK_ID, GIT_CLONE_COMMIT_COUNT, ADDON_VDTESTING_API_URL, ANDROID_HOME, BITRISEIO_GIT_REPOSITORY_OWNER, FAULTY_GEM_PATH, TOOL_VER_DOCKER_COMPOSE, BITRISE_DEFAULT_CERTIFICATE_URL, ADDON_VDTESTING_API_TOKEN, LD_LIBRARY_PATH, ANDROID_NDK_VERSION, BITRISEIO_GIT_REPOSITORY_SLUG, TERRAFORM_VERSION, BITRISEIO_ANDROID_KEYSTORE_ALIAS, PWD, app_path_pattern, BITRISE_CACHE_API_URL, BITRISE_PREP_DIR, GCLOUD_SDK_CONFIG, BITRISE_TEST_RESULT_DIR, LANGUAGE, BITRISE_BUILD_NUMBER, BITRISE_DEFAULT_CERTIFICATE_PASSPHRASE, GRADLE_VERSION, module, BITRISE_BUILD_TRIGGER_TIMESTAMP, GIT_CLONE_COMMIT_AUTHOR_EMAIL, BITRISE_TRIGGERED_WORKFLOW_ID, BITRISE_STEP_EXECUTION_ID, BITRISE_TRIGGERED_WORKFLOW_TITLE, BITRISE_CACHE_DIR, LC_ALL, BITRISE_SECRET_ENVS_FILTERING, BITRISE_BUILD_STATUS, BITRISE_SECRET_FILTERING, BUNDLE_TOOL_VERSION, QT_QPA_PLATFORM, BITRISE_APP_URL, ssh_rsa_private_key, JAVA_HOME, ENVMAN_ENVSTORE_PATH, TOOL_VER_RUBY, BITRISEIO_ANDROID_KEYSTORE_PASSWORD, BITRISE_DOCKER_REV_NUMBER_ANDROID, BITRISE_GIT_BRANCH, ANDROID_KEYSTORE_PASSWORD, BITRISE_TMP_DIR, BITRISE_CACHE_INCLUDE_PATHS, BITRISEIO_ABCS_ACCESS_TOKEN, BITRISE_DOCKER_REV_NUMBER_ANDROID_NDK, TOOL_VER_GO, PROJECT_LOCATION, BITRISE_DOCKER_REV_NUMBER_BASE, CI, BITRISE_APP_TITLE, project_location, BITRISE_TEST_DEPLOY_DIR, TOOL_VER_BITRISE_CLI, AAPT_VERSION, STEPLIB_BUILD_STATUS, BITRISEIO_ANDROID_KEYSTORE_URL, GIT_CLONE_COMMIT_AUTHOR_NAME, BITRISEIO_ABCS_API_URL, BITRISE_DEPLOY_DIR, BITRISE_STEP_SOURCE_DIR, VARIANT, ADDON_SHIP_API_URL, GIT_CLONE_COMMIT_MESSAGE_SUBJECT, BITRISE_IO, variant, BITRISE_STEP_FORMATTED_OUTPUT_FILE_PATH, BITRISE_SOURCE_DIR, GIT_CLONE_COMMIT_MESSAGE_BODY, build_type, LOGLEVEL, ANDROID_TEAM_WEBHOOK, BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD, ANDROID_NDK_HOME, GOPATH, CODECOV_UPLOAD_TOKEN, GIT_CLONE_COMMIT_COMMITER_NAME, BITRISE_CACHE_EXCLUDE_PATHS, MODULE, BITRISE_DEFAULT_PROVISION_URL, TOOL_VER_DOCKER, BITRISEIO_ANDROID_KEYSTORE_PATH, LANG, cache_level, BITRISE_BUILD_API_TOKEN, GIT_CLONE_COMMIT_HASH, SSH_RSA_PRIVATE_KEY, ADDON_SHIP_API_TOKEN, GIT_REPOSITORY_URL, PACKER_VERSION, BITRISE_BUILD_URL, BITRISE_BUILD_SLUG, ANDROID_SDK_ROOT, GO111MODULE, SSH_AUTH_SOCK, BITRISEIO_SERVICE_ACCOUNT_JSON_KEY_URL, HOSTNAME, APKINFO_TOOLS, arguments, GCE_METADATA_ROOT, HOME, BITRISE_BRIDGE_WORKDIR, BITRISE_APP_SLUG]
2022-08-28T06:46:39.472+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.
2022-08-28T06:46:39.472+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 2045). The daemon log file: /root/.gradle/daemon/7.5.1/daemon-2045.out.log
2022-08-28T06:46:39.472+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting 4th build in daemon [uptime: 35 mins 32.178 secs, performance: 93%]
2022-08-28T06:46:39.472+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2022-08-28T06:46:39.473+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=1096c1f7-2b8c-4af8-a354-aeebdf85a49e,javaHome=/usr/lib/jvm/java-11-openjdk-amd64,daemonRegistryDir=/root/.gradle/daemon,pid=2045,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx4096M,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
My Android builds suddenly stopped building. I have no idea what is causing the build failure. I recently updated to Gradle 7.5 as well as some other libraries. But there is no detailed information on what is causing the build failure.