
> echo Attempting build for SyedFaraz-hub-Music-Player with Node 18 and jdk 17
Attempting build for SyedFaraz-hub-Music-Player with Node 18 and jdk 17

> docker run --rm -v /home/ubuntu/storage/extracted/SyedFaraz-hub-Music-Player/Music-Player-1ef2a4a59dc45bebc551c70082741890e5812c97:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/SyedFaraz-hub-Music-Player:/output -v /home/ubuntu/.npm:/root/.npm react-android:18-jdk17 bash -c 
                set -e

                cp -r /source/. /app &&                 cd /app && 
                # ---- install deps (yarn or npm) ----
                if [ -f yarn.lock ]; then
                    yarn install;
                else
                    npm install --ignore-scripts;
                fi && 
                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----
                if [ ! -f google-services.json ]; then                     python3 -c "import json; open('google-services.json','w').write(json.dumps({'project_info':{'project_number':'000000000000','project_id':'stub','storage_bucket':'stub.appspot.com'},'client':[{'client_info':{'mobilesdk_app_id':'1:000000000000:android:0000000000000000','android_client_info':{'package_name':'com.stub'}},'oauth_client':[],'api_key':[{'current_key':'stub'}],'services':{'appinvite_service':{'other_platform_oauth_client':[]}}}],'configuration_version':'1'}))" 2>/dev/null || true;                 fi && 
                # ---- detect expo ----
                if grep -q '"expo"' package.json && [ ! -d android ]; then
                    echo "Expo project detected";
                    CI=1 npx --yes expo prebuild --platform android
                fi && 
                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && 
                chmod +x gradlew && 
                # ---- inject fallback repositories via Gradle init script ----
                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo 'gradle.beforeProject {project ->' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.buildscript.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '}' >> $GRADLE_USER_HOME/init.d/repos.gradle && 
                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----
                sed -i 's/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\/.bin\/react-native config")/' settings.gradle 2>/dev/null || true && 
                # ---- clean gradle ----
                (./gradlew clean || true) && 
                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----
                ./gradlew :app:dependencies --configuration debugCompileClasspath --no-daemon > /dev/null 2>&1 || true && 
                # ---- enable ABI splits ----
                if grep -q 'splits' app/build.gradle 2>/dev/null; then                     sed -i 's/enable false/enable true/' app/build.gradle || true;                 else                     sed -i '/^android[[:space:]]*{/a\    splits {\n        abi {\n            reset()\n            enable true\n            universalApk false\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\n        }\n    }' app/build.gradle || true;                 fi && 
                # ---- build debug apk ----
                ./gradlew assembleDebug --no-daemon || exit 1 && 
                APK_PATH="app/build/outputs/apk/debug"

                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then
                    echo "ERROR: APK not generated"
                    exit 1
                fi
                # ---- copy output ----
                cp app/build/outputs/apk/debug/*.apk /output/

                # ---- copy TPL metadata ----
                [ -f ../package.json ] && cp ../package.json /output/ || true
                [ -f ../package-lock.json ] && cp ../package-lock.json /output/ || true
                [ -f ../yarn.lock ] && cp ../yarn.lock /output/ || true
                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/ || true
                [ -f app/build.gradle ] && cp app/build.gradle /output/android-build.gradle || true
                [ -f build.gradle ] && cp build.gradle /output/root-build.gradle || true
                [ -f build.gradle.kts ] && cp build.gradle.kts /output/root-build.gradle.kts || true
                [ -f settings.gradle ] && cp settings.gradle /output/ || true
                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/ || true
                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/ || true
                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                mkdir -p /output/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                    
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0

added 1280 packages, and audited 1281 packages in 23s

122 packages are looking for funding
  run `npm fund` for details

42 vulnerabilities (5 low, 11 moderate, 23 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
Downloading https://services.gradle.org/distributions/gradle-7.5.1-all.zip
...............10%................20%................30%................40%................50%................60%...............70%................80%................90%................100%

Welcome to Gradle 7.5.1!

Here are the highlights of this release:
 - Support for Java 18
 - Support for building with Groovy 4
 - Much more responsive continuous builds
 - Improved diagnostics for dependency resolution

For more details see https://docs.gradle.org/7.5.1/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
> Task :react-native-gradle-plugin:compileKotlin
> Task :react-native-gradle-plugin:compileJava NO-SOURCE
> Task :react-native-gradle-plugin:pluginDescriptors
> Task :react-native-gradle-plugin:processResources
> Task :react-native-gradle-plugin:classes
> Task :react-native-gradle-plugin:inspectClassesForKotlinIC
> Task :react-native-gradle-plugin:jar
> Task :app:clean UP-TO-DATE
> Task :react-native-community_slider:clean UP-TO-DATE
> Task :react-native-track-player:clean
> Task :react-native-vector-icons:clean UP-TO-DATE

BUILD SUCCESSFUL in 3m 31s
9 actionable tasks: 6 executed, 3 up-to-date
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
> Task :react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :react-native-gradle-plugin:compileJava NO-SOURCE
> Task :react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :react-native-gradle-plugin:processResources UP-TO-DATE
> Task :react-native-gradle-plugin:classes UP-TO-DATE
> Task :react-native-gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE
> Task :react-native-gradle-plugin:jar UP-TO-DATE
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 33 in /opt/android/licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 3)".
"Install Android SDK Platform 33 (revision: 3)" ready.
Installing Android SDK Platform 33 in /opt/android/platforms/android-33
"Install Android SDK Platform 33 (revision: 3)" complete.
"Install Android SDK Platform 33 (revision: 3)" finished.
Checking the license for package Android SDK Build-Tools 33 in /opt/android/licenses
License for package Android SDK Build-Tools 33 accepted.
Preparing "Install Android SDK Build-Tools 33 (revision: 33.0.0)".
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" ready.
Installing Android SDK Build-Tools 33 in /opt/android/build-tools/33.0.0
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" complete.
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" finished.
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.github.DoubleSymmetry/KotlinAudio/v1.2.4/be01b19f318470b3e16e2c10e9a57909bd9bd3fb/KotlinAudio-v1.2.4.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/annotation/DrawableRes'
 Example of support library reference: 'android/support/v4/media/RatingCompat'
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.google.android.exoplayer/extension-mediasession/2.18.1/454f0873b3bc62808647db8f83e484430f4872db/extension-mediasession-2.18.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/annotation/Nullable'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Callback'
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.google.android.exoplayer/exoplayer-ui/2.18.1/eed81d49b8b0e9a365cbec260dafb222d6e5bc67/exoplayer-ui-2.18.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/app/NotificationCompat$Builder'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token'
> Task :app:buildCodegenCLI SKIPPED
> Task :app:generateCodegenSchemaFromJavaScript SKIPPED
> Task :app:generateCodegenArtifactsFromSchema SKIPPED
> Task :app:generatePackageList
> Task :app:preBuild
> Task :app:preDebugBuild
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :react-native-community_slider:preBuild UP-TO-DATE
> Task :react-native-community_slider:preDebugBuild UP-TO-DATE
> Task :react-native-community_slider:compileDebugAidl NO-SOURCE
> Task :react-native-track-player:preBuild UP-TO-DATE
> Task :react-native-track-player:preDebugBuild UP-TO-DATE
> Task :react-native-track-player:compileDebugAidl NO-SOURCE
> Task :react-native-vector-icons:preBuild UP-TO-DATE
> Task :react-native-vector-icons:preDebugBuild UP-TO-DATE
> Task :react-native-vector-icons:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :react-native-community_slider:packageDebugRenderscript NO-SOURCE
> Task :react-native-track-player:packageDebugRenderscript NO-SOURCE
> Task :react-native-vector-icons:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :react-native-community_slider:writeDebugAarMetadata
> Task :react-native-track-player:writeDebugAarMetadata
> Task :react-native-vector-icons:writeDebugAarMetadata
> Task :app:generateDebugResValues
> Task :react-native-community_slider:compileDebugRenderscript NO-SOURCE
> Task :react-native-community_slider:generateDebugResValues
> Task :react-native-community_slider:generateDebugResources
> Task :app:checkDebugAarMetadata
> Task :react-native-community_slider:packageDebugResources
> Task :react-native-track-player:compileDebugRenderscript NO-SOURCE
> Task :react-native-track-player:generateDebugResValues
> Task :react-native-track-player:generateDebugResources
> Task :react-native-track-player:packageDebugResources
> Task :react-native-vector-icons:compileDebugRenderscript NO-SOURCE
> Task :react-native-vector-icons:generateDebugResValues
> Task :react-native-vector-icons:generateDebugResources
> Task :react-native-vector-icons:packageDebugResources
> Task :app:mapDebugSourceSetPaths
> Task :app:generateDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :react-native-community_slider:extractDeepLinksDebug
> Task :react-native-track-player:extractDeepLinksDebug
> Task :react-native-vector-icons:extractDeepLinksDebug

> Task :react-native-community_slider:processDebugManifest
package="com.reactnativecommunity.slider" found in source AndroidManifest.xml: /app/node_modules/@react-native-community/slider/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :react-native-track-player:processDebugManifest
package="com.doublesymmetry.trackplayer" found in source AndroidManifest.xml: /app/node_modules/react-native-track-player/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :react-native-vector-icons:processDebugManifest
package="com.oblador.vectoricons" found in source AndroidManifest.xml: /app/node_modules/react-native-vector-icons/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :app:mergeDebugResources
> Task :react-native-community_slider:compileDebugLibraryResources
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :react-native-vector-icons:compileDebugLibraryResources
> Task :react-native-track-player:compileDebugLibraryResources
> Task :app:processDebugManifestForPackage
> Task :react-native-community_slider:parseDebugLocalResources
> Task :react-native-vector-icons:parseDebugLocalResources
> Task :react-native-community_slider:generateDebugBuildConfig
> Task :react-native-track-player:parseDebugLocalResources
> Task :react-native-community_slider:generateDebugRFile
> Task :react-native-community_slider:javaPreCompileDebug
> Task :react-native-track-player:generateDebugBuildConfig
> Task :react-native-vector-icons:generateDebugRFile
> Task :react-native-track-player:generateDebugRFile
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :react-native-community_slider:compileDebugJavaWithJavac
Note: /app/node_modules/@react-native-community/slider/android/src/oldarch/java/com/reactnativecommunity/slider/ReactSliderManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-community_slider:bundleLibCompileToJarDebug
> Task :app:processDebugResources
> Task :react-native-track-player:javaPreCompileDebug
> Task :react-native-vector-icons:generateDebugBuildConfig
> Task :react-native-vector-icons:javaPreCompileDebug
> Task :app:mergeDebugShaders
> Task :react-native-vector-icons:compileDebugJavaWithJavac
> Task :app:compileDebugShaders NO-SOURCE
> Task :react-native-vector-icons:bundleLibCompileToJarDebug
> Task :app:copyReactNativeVectorIconFonts
> Task :app:generateDebugAssets
> Task :react-native-community_slider:mergeDebugShaders
> Task :react-native-community_slider:compileDebugShaders NO-SOURCE
> Task :react-native-community_slider:generateDebugAssets UP-TO-DATE
> Task :react-native-community_slider:packageDebugAssets
> Task :react-native-track-player:mergeDebugShaders
> Task :react-native-track-player:compileDebugShaders NO-SOURCE
> Task :react-native-track-player:generateDebugAssets UP-TO-DATE
> Task :react-native-track-player:packageDebugAssets
> Task :react-native-vector-icons:mergeDebugShaders
> Task :react-native-vector-icons:compileDebugShaders NO-SOURCE
> Task :react-native-vector-icons:generateDebugAssets UP-TO-DATE
> Task :react-native-vector-icons:packageDebugAssets
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :react-native-community_slider:processDebugJavaRes NO-SOURCE
> Task :react-native-community_slider:bundleLibResDebug NO-SOURCE
> Task :react-native-track-player:processDebugJavaRes NO-SOURCE
> Task :react-native-vector-icons:processDebugJavaRes NO-SOURCE
> Task :react-native-vector-icons:bundleLibResDebug NO-SOURCE
> Task :app:compressDebugAssets
> Task :app:checkDebugDuplicateClasses
> Task :app:desugarDebugFileDependencies
> Task :react-native-track-player:compileDebugKotlin
> Task :app:mergeExtDexDebug

> Task :react-native-track-player:compileDebugKotlin
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt: (7, 47): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt: (179, 23): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (11, 47): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (106, 13): 'stoppingAppPausesPlayback: Boolean' is deprecated. This will be removed soon
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (107, 17): 'stoppingAppPausesPlayback: Boolean' is deprecated. This will be removed soon
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (467, 9): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (16, 19): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (45, 19): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (105, 21): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (112, 21): 'get(String!): Any?' is deprecated. Deprecated in Java

> Task :react-native-track-player:compileDebugJavaWithJavac
> Task :react-native-track-player:bundleLibCompileToJarDebug
> Task :react-native-track-player:bundleLibResDebug
> Task :app:compileDebugJavaWithJavac
> Task :react-native-community_slider:bundleLibRuntimeToJarDebug
> Task :react-native-vector-icons:bundleLibRuntimeToJarDebug
> Task :react-native-track-player:bundleLibRuntimeToJarDebug
> Task :app:mergeDebugJniLibFolders
> Task :app:dexBuilderDebug
> Task :react-native-community_slider:mergeDebugJniLibFolders
> Task :react-native-community_slider:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-community_slider:copyDebugJniLibsProjectOnly
> Task :app:mergeLibDexDebug
> Task :react-native-track-player:mergeDebugJniLibFolders
> Task :react-native-track-player:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-track-player:copyDebugJniLibsProjectOnly
> Task :react-native-vector-icons:mergeDebugJniLibFolders
> Task :react-native-vector-icons:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-vector-icons:copyDebugJniLibsProjectOnly
> Task :app:validateSigningDebug
> Task :app:mergeProjectDexDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
> Task :react-native-community_slider:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-community_slider:copyDebugJniLibsProjectAndLocalJars
> Task :app:mergeDebugJavaResource
> Task :app:mergeDebugNativeLibs
> Task :react-native-community_slider:extractDebugAnnotations
> Task :react-native-community_slider:extractDeepLinksForAarDebug
> Task :react-native-community_slider:mergeDebugGeneratedProguardFiles
> Task :react-native-community_slider:mergeDebugConsumerProguardFiles
> Task :react-native-community_slider:prepareDebugArtProfile
> Task :react-native-track-player:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-community_slider:prepareLintJarForPublish
> Task :react-native-track-player:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-community_slider:mergeDebugJavaResource
> Task :react-native-track-player:extractDebugAnnotations
> Task :react-native-community_slider:syncDebugLibJars
> Task :react-native-community_slider:bundleDebugAar
> Task :react-native-community_slider:assembleDebug
> Task :react-native-track-player:extractDeepLinksForAarDebug
> Task :react-native-track-player:mergeDebugGeneratedProguardFiles
> Task :react-native-track-player:mergeDebugConsumerProguardFiles
> Task :react-native-track-player:prepareDebugArtProfile
> Task :react-native-track-player:prepareLintJarForPublish
> Task :react-native-vector-icons:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-vector-icons:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-track-player:mergeDebugJavaResource
> Task :react-native-vector-icons:extractDebugAnnotations
> Task :react-native-track-player:syncDebugLibJars
> Task :react-native-track-player:bundleDebugAar
> Task :react-native-track-player:assembleDebug
> Task :react-native-vector-icons:extractDeepLinksForAarDebug
> Task :react-native-vector-icons:mergeDebugGeneratedProguardFiles
> Task :react-native-vector-icons:mergeDebugConsumerProguardFiles
> Task :react-native-vector-icons:prepareDebugArtProfile
> Task :react-native-vector-icons:prepareLintJarForPublish
> Task :react-native-vector-icons:mergeDebugJavaResource
> Task :react-native-vector-icons:syncDebugLibJars
> Task :react-native-vector-icons:bundleDebugAar
> Task :react-native-vector-icons:assembleDebug

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libcxxcomponents.so, libevent-2.1.so, libevent_core-2.1.so, libevent_extra-2.1.so, libfabricjni.so, libfb.so, libfbjni.so, libflipper.so, libfolly_runtime.so, libglog.so, libglog_init.so, libhermes.so, libhermes_executor.so, libimagepipeline.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_newarchdefaults.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, librrc_image.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libturbomodulejsijni.so, libyoga.so.

> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect
> Task :app:assembleDebug

BUILD SUCCESSFUL in 3m 45s
121 actionable tasks: 116 executed, 5 up-to-date

> docker run --rm -v /home/ubuntu/storage/extracted/SyedFaraz-hub-Music-Player/Music-Player-1ef2a4a59dc45bebc551c70082741890e5812c97:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/SyedFaraz-hub-Music-Player:/output -v /home/ubuntu/.npm:/root/.npm react-android:18-jdk17 bash -c 
                set -e

                cp -r /source/. /app &&                 cd /app && 
                # ---- install deps (yarn or npm) ----
                if [ -f yarn.lock ]; then
                    yarn install;
                else
                    npm install --ignore-scripts;
                fi && 
                # ---- stub missing parent package.json (monorepo metro configs) ----
                [ ! -f ../package.json ] && cp package.json ../package.json 2>/dev/null || true && 
                # ---- patch toReversed (Node <20 compat) ----
                find node_modules -name "loadConfig.js" -path "*/metro-config/*" -exec sed -i 's/\.toReversed()/.slice().reverse()/g' {} \; 2>/dev/null || true && 
                # ---- patch missing expo/AppEntry ----
                if grep -q '"main".*expo/AppEntry' package.json 2>/dev/null &&                    [ ! -f node_modules/expo/AppEntry.js ] && [ ! -f node_modules/expo/AppEntry.ts ]; then                     node -e "const fs=require('fs'); const p=JSON.parse(fs.readFileSync('package.json','utf8')); if(fs.existsSync('index.js')){p.main='index.js'; fs.writeFileSync('package.json',JSON.stringify(p,null,2));}" 2>/dev/null || true;                 fi && 
                # ---- patch broken metro config (ESM-only, null-returning, or monorepo-only) ----
                # NOTE: do NOT replace configs that merely use expo/metro-config — those carry
                # Expo-specific resolver paths (watchFolders, extraNodeModules) needed for
                # packages like @react-native-masked-view/masked-view to resolve.
                if grep -q 'react-native-monorepo-config' metro.config.js 2>/dev/null ||                    ! node -e "const c=require('./metro.config.js'); if(!c||typeof c!=='object') process.exit(1);" 2>/dev/null; then                     if [ -d node_modules/@react-native/metro-config ]; then                         printf 'const {getDefaultConfig, mergeConfig} = require("@react-native/metro-config");
module.exports = mergeConfig(getDefaultConfig(__dirname), {});
' > metro.config.js;                     else                         printf 'const {getDefaultConfig} = require("metro-config");
module.exports = getDefaultConfig(__dirname);
' > metro.config.js;                     fi;                 fi && 
                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----
                if [ ! -f google-services.json ]; then                     python3 -c "import json; open('google-services.json','w').write(json.dumps({'project_info':{'project_number':'000000000000','project_id':'stub','storage_bucket':'stub.appspot.com'},'client':[{'client_info':{'mobilesdk_app_id':'1:000000000000:android:0000000000000000','android_client_info':{'package_name':'com.stub'}},'oauth_client':[],'api_key':[{'current_key':'stub'}],'services':{'appinvite_service':{'other_platform_oauth_client':[]}}}],'configuration_version':'1'}))" 2>/dev/null || true;                 fi && 
                # ---- detect expo ----
                if grep -q '"expo"' package.json && [ ! -d android ]; then
                    echo "Expo project detected";
                    CI=1 npx --yes expo prebuild --platform android
                fi && 
                # ---- fix expo/metro-config: serializer + Flow transformIgnorePatterns ----
                # Runs AFTER prebuild because prebuild generates metro.config.js for managed-workflow
                # projects — patching before prebuild would be overwritten by the generated file.
                # Fix 1: remove customSerializer that returns JS string instead of JSON
                #   ("var __BUND..." → "Serializer did not return expected format").
                # Fix 2: add transformIgnorePatterns so expo/src/Expo.ts goes through Babel
                #   (default pattern excludes all node_modules → raw Flow types → SyntaxError).
                if [ -f metro.config.js ] && [ -d node_modules/expo ] &&                    ( grep -q 'expo/metro-config\|@expo/metro-config' metro.config.js 2>/dev/null ||                      ! grep -q 'transformIgnorePatterns' metro.config.js 2>/dev/null ); then                     cp metro.config.js metro.config.orig.js &&                     printf 'const c=require("./metro.config.orig.js");const r=Object.assign({},c);if(r.serializer){r.serializer=Object.assign({},r.serializer);delete r.serializer.customSerializer;}r.transformer=Object.assign({},r.transformer||{});if(!r.transformer.transformIgnorePatterns){r.transformer.transformIgnorePatterns=["node_modules/(?!(react-native|@react-native|expo|@expo|@unimodules|react-clone-referenced-element|@react-navigation|native-base)/)"];}module.exports=r;\n' > metro.config.js;                 fi && 
                # ---- stub missing metro watchFolders paths ----
                mkdir -p /src 2>/dev/null || true && 
                # ---- fix babel configs that use react-native-builder-bob ----
                # builder-bob is a library-dev tool; its getConfig() throws "Couldn't determine the source
                # directory" when built outside the library's own workspace. Replace with a standard preset.
                if grep -ql 'react-native-builder-bob' babel.config.js babel.config.json .babelrc .babelrc.js 2>/dev/null; then                     if [ -d node_modules/babel-preset-expo ]; then                         printf 'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};
' > babel.config.js;                     elif [ -d node_modules/@react-native/babel-preset ]; then                         printf 'module.exports={presets:["module:@react-native/babel-preset"]};' > babel.config.js;                     else                         printf 'module.exports={presets:["module:metro-react-native-babel-preset"]};' > babel.config.js;                     fi;                 fi && 
                # ---- ensure TypeScript babel support (fixes 'interface' SyntaxError in metro bundling) ----
                if [ -d node_modules/babel-preset-expo ]; then                     grep -ql "expo\|typescript" babel.config.js .babelrc .babelrc.js babel.config.json 2>/dev/null ||                     printf 'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};
' > babel.config.js;                 fi && 
                # ---- stub missing-asset-registry-path (Metro virtual module not resolved in release) ----
                # Metro normally aliases this to @react-native/assets-registry/registry at bundle time.
                # When that alias is missing, any PNG asset in node_modules triggers "Unable to resolve module".
                if [ ! -d node_modules/missing-asset-registry-path ]; then                     mkdir -p node_modules/missing-asset-registry-path &&                     if [ -f node_modules/@react-native/assets-registry/registry.js ]; then                         printf 'module.exports=require("@react-native/assets-registry/registry");' > node_modules/missing-asset-registry-path/index.js;                     else                         printf 'module.exports={registerAsset:function(){return 0;},getAssetByID:function(){return null;}};' > node_modules/missing-asset-registry-path/index.js;                     fi;                 fi && 
                # ---- stub @react-native-masked-view/masked-view if missing ----
                # Required by @react-navigation/elements but often not installed as a direct dependency.
                if [ ! -d node_modules/@react-native-masked-view/masked-view ]; then                     mkdir -p node_modules/@react-native-masked-view/masked-view &&                     printf '{"name":"@react-native-masked-view/masked-view","version":"0.1.11","main":"index.js"}' > node_modules/@react-native-masked-view/masked-view/package.json &&                     printf 'const React=require("react");const {View}=require("react-native");function MaskedView(p){return React.createElement(View,p.style?{style:p.style}:{},p.children);}module.exports=MaskedView;module.exports.default=MaskedView;' > node_modules/@react-native-masked-view/masked-view/index.js;                 fi && 
                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && 
                chmod +x gradlew && 
                # ---- inject fallback repositories via Gradle init script ----
                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo 'gradle.beforeProject {project ->' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.buildscript.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '}' >> $GRADLE_USER_HOME/init.d/repos.gradle && 
                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----
                sed -i 's/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\/.bin\/react-native config")/' settings.gradle 2>/dev/null || true && 
                # ---- disable Sentry source map upload (no credentials in CI) ----
                export SENTRY_DISABLE_AUTO_UPLOAD=true &&                 echo "sentryUploadEnabled=false" >> gradle.properties 2>/dev/null || true && 
                # ---- enable ABI splits ----
                if grep -q 'splits' app/build.gradle 2>/dev/null; then                     sed -i 's/enable false/enable true/' app/build.gradle || true;                 else                     sed -i '/^android[[:space:]]*{/a\    splits {\n        abi {\n            reset()\n            enable true\n            universalApk false\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\n        }\n    }' app/build.gradle || true;                 fi && 
                # ---- enable R8 ----
                sed -i 's/enableProguardInReleaseBuilds = false/enableProguardInReleaseBuilds = true/' app/build.gradle || true && 
                # ---- sign release with debug key ----
                sed -i '/buildTypes/,/}/s/release {/release {
            signingConfig signingConfigs.debug/' app/build.gradle || true && 
                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----
                ./gradlew :app:dependencies --configuration releaseCompileClasspath --no-daemon > /dev/null 2>&1 || true && 
                # ---- build release apk ----
                ./gradlew assembleRelease --no-daemon || exit 1 &&                     
                APK_PATH="app/build/outputs/apk/release"

                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then
                    echo "ERROR: APK not generated"
                    exit 1
                fi

                # ---- copy output ----
                cp app/build/outputs/apk/release/*.apk /output/r8/

                # ---- copy TPL metadata ----
                [ -f ../package.json ] && cp ../package.json /output/r8/ || true
                [ -f ../package-lock.json ] && cp ../package-lock.json /output/r8/ || true
                [ -f ../yarn.lock ] && cp ../yarn.lock /output/r8/ || true
                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/r8/ || true
                [ -f app/build.gradle ] && cp app/build.gradle /output/r8/android-build.gradle || true
                [ -f build.gradle ] && cp build.gradle /output/r8/root-build.gradle || true
                [ -f build.gradle.kts ] && cp build.gradle.kts /output/r8/root-build.gradle.kts || true
                [ -f settings.gradle ] && cp settings.gradle /output/r8/ || true
                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/r8/ || true
                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/r8/ || true
                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                mkdir -p /output/r8/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                    
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0

added 1280 packages, and audited 1281 packages in 20s

122 packages are looking for funding
  run `npm fund` for details

42 vulnerabilities (5 low, 11 moderate, 23 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
sed: -e expression #1, char 37: unterminated `s' command
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
> Task :react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :react-native-gradle-plugin:compileJava NO-SOURCE
> Task :react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :react-native-gradle-plugin:processResources UP-TO-DATE
> Task :react-native-gradle-plugin:classes UP-TO-DATE
> Task :react-native-gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE
> Task :react-native-gradle-plugin:jar UP-TO-DATE
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 33 in /opt/android/licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 3)".
"Install Android SDK Platform 33 (revision: 3)" ready.
Installing Android SDK Platform 33 in /opt/android/platforms/android-33
"Install Android SDK Platform 33 (revision: 3)" complete.
"Install Android SDK Platform 33 (revision: 3)" finished.
Checking the license for package Android SDK Build-Tools 33 in /opt/android/licenses
License for package Android SDK Build-Tools 33 accepted.
Preparing "Install Android SDK Build-Tools 33 (revision: 33.0.0)".
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" ready.
Installing Android SDK Build-Tools 33 in /opt/android/build-tools/33.0.0
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" complete.
"Install Android SDK Build-Tools 33 (revision: 33.0.0)" finished.
> Task :react-native-community_slider:preBuild UP-TO-DATE
> Task :react-native-community_slider:preReleaseBuild UP-TO-DATE
> Task :react-native-community_slider:compileReleaseAidl NO-SOURCE
> Task :react-native-community_slider:mergeReleaseJniLibFolders
> Task :react-native-community_slider:mergeReleaseNativeLibs NO-SOURCE
> Task :react-native-community_slider:stripReleaseDebugSymbols NO-SOURCE
> Task :react-native-community_slider:copyReleaseJniLibsProjectAndLocalJars
> Task :react-native-community_slider:compileReleaseRenderscript NO-SOURCE
> Task :react-native-community_slider:generateReleaseResValues
> Task :react-native-community_slider:extractDeepLinksForAarRelease
> Task :react-native-community_slider:generateReleaseBuildConfig
> Task :react-native-community_slider:generateReleaseResources
> Task :react-native-community_slider:packageReleaseResources
> Task :react-native-community_slider:javaPreCompileRelease
> Task :react-native-community_slider:mergeReleaseShaders
> Task :react-native-community_slider:compileReleaseShaders NO-SOURCE
> Task :react-native-community_slider:generateReleaseAssets UP-TO-DATE
> Task :react-native-community_slider:packageReleaseAssets
> Task :react-native-community_slider:parseReleaseLocalResources
> Task :react-native-community_slider:packageReleaseRenderscript NO-SOURCE
> Task :react-native-community_slider:prepareLintJarForPublish
> Task :react-native-community_slider:prepareReleaseArtProfile
> Task :react-native-community_slider:processReleaseJavaRes NO-SOURCE
> Task :react-native-track-player:preBuild UP-TO-DATE
> Task :react-native-track-player:preReleaseBuild UP-TO-DATE
> Task :react-native-community_slider:writeReleaseAarMetadata
> Task :react-native-track-player:compileReleaseAidl NO-SOURCE

> Task :react-native-community_slider:processReleaseManifest
package="com.reactnativecommunity.slider" found in source AndroidManifest.xml: /app/node_modules/@react-native-community/slider/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :react-native-track-player:mergeReleaseJniLibFolders
> Task :react-native-community_slider:mergeReleaseJavaResource
> Task :react-native-track-player:mergeReleaseNativeLibs NO-SOURCE
> Task :react-native-track-player:stripReleaseDebugSymbols NO-SOURCE
> Task :react-native-track-player:copyReleaseJniLibsProjectAndLocalJars
> Task :react-native-track-player:compileReleaseRenderscript NO-SOURCE
> Task :react-native-track-player:generateReleaseResValues
> Task :react-native-track-player:extractDeepLinksForAarRelease
> Task :react-native-track-player:generateReleaseBuildConfig
> Task :react-native-track-player:generateReleaseResources
> Task :react-native-track-player:packageReleaseResources
> Task :react-native-track-player:javaPreCompileRelease
> Task :react-native-track-player:parseReleaseLocalResources
> Task :react-native-community_slider:generateReleaseRFile
> Task :react-native-track-player:mergeReleaseShaders

> Task :react-native-track-player:processReleaseManifest
package="com.doublesymmetry.trackplayer" found in source AndroidManifest.xml: /app/node_modules/react-native-track-player/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :react-native-community_slider:extractReleaseAnnotations

> Task :react-native-community_slider:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /app/node_modules/@react-native-community/slider/android/src/oldarch/java/com/reactnativecommunity/slider/ReactSliderManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-community_slider:mergeReleaseGeneratedProguardFiles
> Task :react-native-community_slider:mergeReleaseConsumerProguardFiles
> Task :react-native-community_slider:syncReleaseLibJars
> Task :react-native-community_slider:bundleReleaseLocalLintAar

> Task :react-native-track-player:generateReleaseRFile
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.github.DoubleSymmetry/KotlinAudio/v1.2.4/be01b19f318470b3e16e2c10e9a57909bd9bd3fb/KotlinAudio-v1.2.4.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/annotation/DrawableRes'
 Example of support library reference: 'android/support/v4/media/RatingCompat'
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.google.android.exoplayer/extension-mediasession/2.18.1/454f0873b3bc62808647db8f83e484430f4872db/extension-mediasession-2.18.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/annotation/Nullable'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Callback'
WARNING: [Processor] Library '/opt/gradle/caches/modules-2/files-2.1/com.google.android.exoplayer/exoplayer-ui/2.18.1/eed81d49b8b0e9a365cbec260dafb222d6e5bc67/exoplayer-ui-2.18.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
 Example of androidX reference: 'androidx/core/app/NotificationCompat$Builder'
 Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token'

> Task :react-native-track-player:compileReleaseShaders NO-SOURCE
> Task :react-native-track-player:generateReleaseAssets UP-TO-DATE
> Task :react-native-track-player:packageReleaseAssets
> Task :react-native-track-player:packageReleaseRenderscript NO-SOURCE
> Task :react-native-track-player:prepareLintJarForPublish
> Task :react-native-track-player:prepareReleaseArtProfile
> Task :react-native-track-player:processReleaseJavaRes NO-SOURCE
> Task :react-native-vector-icons:preBuild UP-TO-DATE
> Task :react-native-vector-icons:preReleaseBuild UP-TO-DATE
> Task :react-native-track-player:writeReleaseAarMetadata
> Task :react-native-vector-icons:compileReleaseAidl NO-SOURCE
> Task :react-native-vector-icons:mergeReleaseJniLibFolders
> Task :react-native-vector-icons:mergeReleaseNativeLibs NO-SOURCE
> Task :react-native-vector-icons:stripReleaseDebugSymbols NO-SOURCE
> Task :react-native-vector-icons:copyReleaseJniLibsProjectAndLocalJars
> Task :react-native-vector-icons:compileReleaseRenderscript NO-SOURCE
> Task :react-native-vector-icons:generateReleaseResValues
> Task :react-native-vector-icons:extractDeepLinksForAarRelease
> Task :react-native-vector-icons:generateReleaseBuildConfig
> Task :react-native-vector-icons:generateReleaseResources
> Task :react-native-vector-icons:packageReleaseResources
> Task :react-native-vector-icons:parseReleaseLocalResources
> Task :react-native-vector-icons:javaPreCompileRelease

> Task :react-native-vector-icons:processReleaseManifest
package="com.oblador.vectoricons" found in source AndroidManifest.xml: /app/node_modules/react-native-vector-icons/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

> Task :react-native-vector-icons:mergeReleaseShaders
> Task :react-native-vector-icons:compileReleaseShaders NO-SOURCE
> Task :react-native-vector-icons:generateReleaseAssets UP-TO-DATE
> Task :react-native-vector-icons:packageReleaseAssets
> Task :react-native-vector-icons:packageReleaseRenderscript NO-SOURCE
> Task :react-native-vector-icons:generateReleaseRFile
> Task :react-native-vector-icons:prepareLintJarForPublish
> Task :react-native-vector-icons:extractReleaseAnnotations
> Task :react-native-vector-icons:compileReleaseJavaWithJavac
> Task :react-native-vector-icons:mergeReleaseGeneratedProguardFiles
> Task :react-native-vector-icons:mergeReleaseConsumerProguardFiles
> Task :react-native-vector-icons:prepareReleaseArtProfile
> Task :react-native-vector-icons:processReleaseJavaRes NO-SOURCE
> Task :react-native-vector-icons:mergeReleaseJavaResource
> Task :react-native-vector-icons:syncReleaseLibJars
> Task :react-native-vector-icons:writeReleaseAarMetadata
> Task :react-native-vector-icons:bundleReleaseLocalLintAar
> Task :app:buildCodegenCLI SKIPPED
> Task :app:generateCodegenSchemaFromJavaScript SKIPPED
> Task :app:generateCodegenArtifactsFromSchema SKIPPED
> Task :app:generatePackageList
> Task :app:preBuild
> Task :app:preReleaseBuild
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:checkReleaseAarMetadata
> Task :app:mapReleaseSourceSetPaths

> Task :app:createBundleReleaseJsAndAssets
warning: the transform cache was reset.
                Welcome to Metro v0.73.9
              Fast - Scalable - Integrated



> Task :react-native-track-player:compileReleaseKotlin
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt: (7, 47): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt: (179, 23): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (11, 47): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (106, 13): 'stoppingAppPausesPlayback: Boolean' is deprecated. This will be removed soon
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (107, 17): 'stoppingAppPausesPlayback: Boolean' is deprecated. This will be removed soon
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt: (467, 9): 'LocalBroadcastManager' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (16, 19): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (45, 19): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (105, 21): 'get(String!): Any?' is deprecated. Deprecated in Java
w: /app/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/utils/BundleUtils.kt: (112, 21): 'get(String!): Any?' is deprecated. Deprecated in Java

> Task :app:createBundleReleaseJsAndAssets
info Writing bundle output to:, /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle
info Writing sourcemap output to:, /app/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 5 asset files
info Done copying assets
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:2118:23: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow"
        return typeof DebuggerInternal !== 'undefined' && DebuggerInternal.shouldPauseOnThrow === true;
                      ^~~~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:5338:7: warning: the variable "setTimeout" was not declared in function "logCapturedError"
      setTimeout(function () {
      ^~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:3312:108: warning: the variable "nativeFabricUIManager" was not declared in function "onChange"
      (fromOrTo = fromOrTo && fromOrTo.stateNode) && fromOrTo.canonical._internalInstanceHandle ? (from && nativeFabricUIManager.setIsJSResponder(from.stateNode.node, false, blockNativeResponder || false), to && nativeFabricUIManager.setIsJSResponder(to.stateNode.node, true, blockNativeResponder || false)) : null !== to ? _$$_REQUIRE(_dependencyMap[2]).UIManager.setJSResponder(to.stateNode.canonical._nativeTag, blockNativeResponder) : _$$_REQUIRE(_dependencyMap[2]).UIManager.clearJSResponder();
                                                                                                           ^~~~~~~~~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:3919:21: warning: the variable "clearTimeout" was not declared in anonymous function " 132#"
    cancelTimeout = clearTimeout;
                    ^~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:7669:30: warning: the variable "__REACT_DEVTOOLS_GLOBAL_HOOK__" was not declared in anonymous function " 132#"
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:8649:16: warning: the variable "AggregateError" was not declared in function "getAggregateError"
    if (typeof AggregateError === 'function') {
               ^~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11398:12: warning: the variable "fetch" was not declared in anonymous function " 335#"
    fetch: fetch,
           ^~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11399:14: warning: the variable "Headers" was not declared in anonymous function " 335#"
    Headers: Headers,
             ^~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11400:14: warning: the variable "Request" was not declared in anonymous function " 335#"
    Request: Request,
             ^~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11401:15: warning: the variable "Response" was not declared in anonymous function " 335#"
    Response: Response
              ^~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11549:24: warning: the variable "FileReader" was not declared in function "readBlobAsArrayBuffer"
      var reader = new FileReader();
                       ^~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11586:36: warning: the variable "Blob" was not declared in anonymous function " 346#"
        } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
                                   ^~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11588:40: warning: the variable "FormData" was not declared in anonymous function " 346#"
        } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
                                       ^~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11590:44: warning: the variable "URLSearchParams" was not declared in anonymous function " 346#"
        } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
                                           ^~~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11817:23: warning: the variable "XMLHttpRequest" was not declared in anonymous function " 355#"
        var xhr = new XMLHttpRequest();
                      ^~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11410:76: warning: the variable "self" was not declared in anonymous function " 338#"
    var global = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global;
                                                                           ^~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:17049:27: warning: the variable "performance" was not declared in anonymous function " 594#"
  if ("object" === typeof performance && "function" === typeof performance.now) {
                          ^~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:17072:26: warning: the variable "navigator" was not declared in anonymous function " 594#"
  "undefined" !== typeof navigator && undefined !== navigator.scheduling && undefined !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
                         ^~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:17139:37: warning: the variable "MessageChannel" was not declared in anonymous function " 594#"
  };else if ("undefined" !== typeof MessageChannel) {
                                    ^~~~~~~~~~~~~~
/app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:25338:34: warning: the variable "requestAnimationFrame" was not declared in function "start 9#"
          this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
                                 ^~~~~~~~~~~~~~~~~~~~~

> Task :react-native-track-player:extractReleaseAnnotations
> Task :react-native-track-player:compileReleaseJavaWithJavac
> Task :react-native-track-player:mergeReleaseGeneratedProguardFiles
> Task :react-native-track-player:mergeReleaseConsumerProguardFiles
> Task :app:generateReleaseResources
> Task :react-native-track-player:mergeReleaseJavaResource
> Task :react-native-track-player:syncReleaseLibJars
> Task :react-native-track-player:bundleReleaseLocalLintAar
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :react-native-community_slider:extractDeepLinksRelease
> Task :react-native-track-player:extractDeepLinksRelease
> Task :react-native-vector-icons:extractDeepLinksRelease
> Task :app:mergeReleaseResources
> Task :app:processReleaseMainManifest
> Task :app:processReleaseManifest
> Task :react-native-community_slider:compileReleaseLibraryResources
> Task :react-native-vector-icons:compileReleaseLibraryResources
> Task :react-native-track-player:compileReleaseLibraryResources
> Task :react-native-community_slider:bundleLibCompileToJarRelease
> Task :app:processReleaseManifestForPackage
> Task :react-native-track-player:bundleLibCompileToJarRelease
> Task :react-native-vector-icons:bundleLibCompileToJarRelease
> Task :app:extractProguardFiles
> Task :react-native-community_slider:bundleLibResRelease NO-SOURCE
> Task :react-native-community_slider:bundleLibRuntimeToJarRelease
> Task :react-native-community_slider:writeReleaseLintModelMetadata
> Task :react-native-community_slider:createFullJarRelease
> Task :react-native-track-player:bundleLibResRelease
> Task :react-native-track-player:writeReleaseLintModelMetadata
> Task :react-native-vector-icons:bundleLibResRelease NO-SOURCE
> Task :react-native-track-player:bundleLibRuntimeToJarRelease
> Task :react-native-vector-icons:bundleLibRuntimeToJarRelease
> Task :react-native-track-player:createFullJarRelease
> Task :react-native-vector-icons:createFullJarRelease
> Task :react-native-vector-icons:writeReleaseLintModelMetadata
> Task :app:mergeReleaseJniLibFolders
> Task :react-native-community_slider:copyReleaseJniLibsProjectOnly
> Task :react-native-vector-icons:copyReleaseJniLibsProjectOnly
> Task :react-native-track-player:copyReleaseJniLibsProjectOnly
> Task :app:processReleaseResources
> Task :app:mergeReleaseNativeLibs
> Task :app:checkReleaseDuplicateClasses
> Task :app:compileReleaseJavaWithJavac
> Task :react-native-community_slider:exportReleaseConsumerProguardFiles
> Task :app:mergeReleaseArtProfile
> Task :react-native-track-player:exportReleaseConsumerProguardFiles
> Task :react-native-vector-icons:exportReleaseConsumerProguardFiles
> Task :app:mergeReleaseGeneratedProguardFiles
> Task :app:processReleaseJavaRes NO-SOURCE

> Task :app:stripReleaseDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libcxxcomponents.so, libfabricjni.so, libfb.so, libfbjni.so, libfolly_runtime.so, libglog.so, libglog_init.so, libhermes.so, libhermes_executor.so, libimagepipeline.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_newarchdefaults.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, librrc_image.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libturbomodulejsijni.so, libyoga.so.

> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables

> Task :app:copyReactNativeVectorIconFonts
Execution optimizations have been disabled for task ':app:copyReactNativeVectorIconFonts' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/app/android/app/build/intermediates/ReactNativeVectorIcons/fonts'. Reason: Task ':app:lintVitalAnalyzeRelease' uses this output of task ':app:copyReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:generateReleaseAssets
> Task :app:mergeReleaseAssets
> Task :app:mergeReleaseJavaResource
> Task :app:compressReleaseAssets
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:validateSigningRelease
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :react-native-community_slider:bundleReleaseAar
> Task :react-native-community_slider:mapReleaseSourceSetPaths
> Task :react-native-community_slider:mergeReleaseResources
> Task :react-native-track-player:bundleReleaseAar
> Task :react-native-track-player:mapReleaseSourceSetPaths
> Task :react-native-community_slider:verifyReleaseResources
> Task :react-native-track-player:mergeReleaseResources
> Task :react-native-community_slider:assembleRelease
> Task :react-native-vector-icons:bundleReleaseAar
> Task :react-native-vector-icons:mapReleaseSourceSetPaths
> Task :app:lintVitalAnalyzeRelease
> Task :react-native-vector-icons:mergeReleaseResources

> Task :app:lintVitalReportRelease
Execution optimizations have been disabled for task ':app:lintVitalReportRelease' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/app/android/app/build/intermediates/ReactNativeVectorIcons'. Reason: Task ':app:lintVitalReportRelease' uses this output of task ':app:copyReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :react-native-track-player:verifyReleaseResources
> Task :app:lintVitalRelease
> Task :react-native-track-player:assembleRelease
> Task :app:optimizeReleaseResources
> Task :react-native-vector-icons:verifyReleaseResources
> Task :react-native-vector-icons:assembleRelease
> Task :app:minifyReleaseWithR8
> Task :app:compileReleaseArtProfile
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:assembleRelease

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 2 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD SUCCESSFUL in 5m 7s
150 actionable tasks: 145 executed, 5 up-to-date

> echo Build succeeded with Node 18
Build succeeded with Node 18
