> echo Attempting build for raniellimontagna-visioncameratest with Node 18 and jdk 17 Attempting build for raniellimontagna-visioncameratest with Node 18 and jdk 17 > docker run --rm -v /home/ubuntu/storage/extracted/raniellimontagna-visioncameratest/visioncameratest-f3e3377872e01647609a809f041a57611994e2b7:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/raniellimontagna-visioncameratest:/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 inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated rimraf@2.2.8: Rimraf versions prior to v4 are no longer supported npm warn deprecated sudo-prompt@9.2.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm warn deprecated metro-react-native-babel-preset@0.73.10: Use @react-native/babel-preset instead npm warn deprecated uglify-es@3.3.10: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 npm warn deprecated glob@9.3.5: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me added 765 packages, and audited 766 packages in 26m 55 packages are looking for funding run `npm fund` for details 21 vulnerabilities (1 low, 5 moderate, 13 high, 2 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 > Configure project :react-native-vision-camera [VisionCamera] react-native-worklets-core found, Frame Processors enabled! Checking the license for package NDK (Side by side) 23.1.7779620 in /opt/android/licenses License for package NDK (Side by side) 23.1.7779620 accepted. Preparing "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)". "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" ready. Installing NDK (Side by side) 23.1.7779620 in /opt/android/ndk/23.1.7779620 "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" complete. "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" finished. Checking the license for package CMake 3.18.1 in /opt/android/licenses License for package CMake 3.18.1 accepted. Preparing "Install CMake 3.18.1 (revision: 3.18.1)". "Install CMake 3.18.1 (revision: 3.18.1)" ready. Installing CMake 3.18.1 in /opt/android/cmake/3.18.1 "Install CMake 3.18.1 (revision: 3.18.1)" complete. "Install CMake 3.18.1 (revision: 3.18.1)" finished. > Task :app:clean UP-TO-DATE > Task :react-native-vision-camera:deleteCmakeCache > Task :react-native-vision-camera:externalNativeBuildCleanDebug > Task :react-native-vision-camera:externalNativeBuildCleanRelease > Task :react-native-vision-camera:clean UP-TO-DATE > Task :react-native-worklets-core:deleteCmakeCache > Task :react-native-worklets-core:externalNativeBuildCleanDebug > Task :react-native-worklets-core:externalNativeBuildCleanRelease > Task :react-native-worklets-core:clean BUILD SUCCESSFUL in 5m 4s 14 actionable tasks: 12 executed, 2 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 > Configure project :react-native-vision-camera [VisionCamera] react-native-worklets-core found, Frame Processors enabled! 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. > 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-vision-camera:prepareHeaders > Task :react-native-vision-camera:preBuild > Task :react-native-vision-camera:preDebugBuild > Task :react-native-worklets-core:prepareHeaders > Task :react-native-worklets-core:preBuild > Task :react-native-worklets-core:preDebugBuild > Task :react-native-worklets-core:compileDebugAidl NO-SOURCE > Task :react-native-vision-camera:compileDebugAidl NO-SOURCE > Task :app:compileDebugAidl NO-SOURCE > Task :react-native-vision-camera:packageDebugRenderscript NO-SOURCE > Task :react-native-worklets-core:packageDebugRenderscript NO-SOURCE > Task :app:compileDebugRenderscript NO-SOURCE > Task :app:generateDebugBuildConfig > Task :app:javaPreCompileDebug > Task :react-native-vision-camera:writeDebugAarMetadata > Task :react-native-worklets-core:writeDebugAarMetadata > Task :app:generateDebugResValues > Task :react-native-vision-camera:compileDebugRenderscript NO-SOURCE > Task :react-native-vision-camera:generateDebugResValues > Task :react-native-vision-camera:generateDebugResources > Task :app:checkDebugAarMetadata > Task :react-native-vision-camera:packageDebugResources > Task :react-native-worklets-core:compileDebugRenderscript NO-SOURCE > Task :react-native-worklets-core:generateDebugResValues > Task :react-native-worklets-core:generateDebugResources > Task :react-native-worklets-core:packageDebugResources > Task :app:mapDebugSourceSetPaths > Task :app:generateDebugResources > Task :app:createDebugCompatibleScreenManifests > Task :app:extractDeepLinksDebug > Task :react-native-vision-camera:extractDeepLinksDebug > Task :react-native-worklets-core:extractDeepLinksDebug > Task :react-native-vision-camera:processDebugManifest > Task :react-native-worklets-core:processDebugManifest package="com.worklets" found in source AndroidManifest.xml: /app/node_modules/react-native-worklets-core/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-vision-camera:compileDebugLibraryResources > Task :app:processDebugMainManifest > Task :app:processDebugManifest > Task :react-native-worklets-core:compileDebugLibraryResources > Task :react-native-vision-camera:generateDebugBuildConfig > Task :react-native-worklets-core:generateDebugBuildConfig > Task :react-native-worklets-core:javaPreCompileDebug > Task :react-native-vision-camera:javaPreCompileDebug > Task :app:mergeDebugShaders > Task :app:compileDebugShaders NO-SOURCE > Task :app:generateDebugAssets UP-TO-DATE > Task :react-native-vision-camera:mergeDebugShaders > Task :react-native-vision-camera:compileDebugShaders NO-SOURCE > Task :react-native-vision-camera:generateDebugAssets UP-TO-DATE > Task :react-native-vision-camera:packageDebugAssets > Task :react-native-worklets-core:mergeDebugShaders > Task :react-native-worklets-core:compileDebugShaders NO-SOURCE > Task :react-native-worklets-core:generateDebugAssets UP-TO-DATE > Task :react-native-vision-camera:parseDebugLocalResources > Task :react-native-worklets-core:parseDebugLocalResources > Task :react-native-worklets-core:packageDebugAssets > Task :app:mergeDebugAssets > Task :react-native-worklets-core:generateDebugRFile > Task :app:compressDebugAssets > Task :react-native-vision-camera:generateDebugRFile > Task :react-native-worklets-core:compileDebugJavaWithJavac > Task :app:processDebugJavaRes NO-SOURCE > Task :react-native-vision-camera:processDebugJavaRes NO-SOURCE > Task :react-native-worklets-core:processDebugJavaRes NO-SOURCE > Task :react-native-worklets-core:bundleLibResDebug NO-SOURCE > Task :react-native-worklets-core:bundleLibCompileToJarDebug > Task :app:processDebugManifestForPackage > Task :app:checkDebugDuplicateClasses > Task :app:processDebugResources > Task :app:desugarDebugFileDependencies > Task :react-native-vision-camera:compileDebugKotlin > Task :app:mergeExtDexDebug > Task :react-native-worklets-core:bundleLibRuntimeToJarDebug > Task :app:mergeDebugJniLibFolders > Task :react-native-worklets-core:configureCMakeDebug[arm64-v8a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-vision-camera:compileDebugKotlin w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/CameraView.kt: (201, 52): Elvis operator (?:) always returns the left operand of non-nullable type Boolean w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/core/RecordingSession.kt: (51, 96): 'constructor MediaRecorder()' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/CameraDevice+createCaptureSession.kt: (61, 12): 'createCaptureSessionByOutputConfigurations((Mutable)List!, CameraCaptureSession.StateCallback!, Handler?): Unit' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/RecordingSession+getRecommendedBitRate.kt: (52, 24): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/RecordingSession+getRecommendedBitRate.kt: (54, 24): 'get(Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/utils/CamcorderProfileUtils.kt: (66, 42): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/utils/CamcorderProfileUtils.kt: (90, 42): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java > Task :react-native-worklets-core:buildCMakeDebug[arm64-v8a] > Task :react-native-vision-camera:compileDebugJavaWithJavac > Task :react-native-vision-camera:bundleLibResDebug > Task :react-native-vision-camera:bundleLibCompileToJarDebug > Task :react-native-vision-camera:bundleLibRuntimeToJarDebug > Task :react-native-worklets-core:configureCMakeDebug[armeabi-v7a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :app:compileDebugJavaWithJavac > Task :app:dexBuilderDebug > Task :app:mergeLibDexDebug > Task :app:mergeProjectDexDebug > Task :app:mergeDebugJavaResource > Task :react-native-worklets-core:buildCMakeDebug[armeabi-v7a] C/C++: ninja: Entering directory `/app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/armeabi-v7a' C/C++: In file included from /app/node_modules/react-native-worklets-core/cpp/WKTJsiWorkletContext.cpp:15: C/C++: ../../../../../cpp/decorators/WKTJsiSetImmediateDecorator.h:85:53: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] > Task :react-native-worklets-core:configureCMakeDebug[x86] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeDebug[x86] C/C++: ninja: Entering directory `/app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86' C/C++: In file included from /app/node_modules/react-native-worklets-core/cpp/WKTJsiWorkletContext.cpp:15: C/C++: ../../../../../cpp/decorators/WKTJsiSetImmediateDecorator.h:85:53: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] > Task :react-native-worklets-core:configureCMakeDebug[x86_64] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/Debug/3n4c1j2t/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeDebug[x86_64] > Task :react-native-worklets-core:externalNativeBuildDebug > Task :react-native-worklets-core:generateJsonModelDebug > Task :react-native-worklets-core:prefabDebugConfigurePackage > Task :react-native-vision-camera:configureCMakeDebug[arm64-v8a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-worklets-core:prefabDebugPackage > Task :react-native-vision-camera:buildCMakeDebug[arm64-v8a] > Task :react-native-vision-camera:configureCMakeDebug[armeabi-v7a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeDebug[armeabi-v7a] > Task :react-native-vision-camera:configureCMakeDebug[x86] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeDebug[x86] > Task :react-native-vision-camera:configureCMakeDebug[x86_64] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/Debug/1n5o2l3k/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeDebug[x86_64] > Task :react-native-worklets-core:mergeDebugJniLibFolders > Task :react-native-vision-camera:mergeDebugJniLibFolders > Task :app:validateSigningDebug > Task :app:writeDebugAppMetadata > Task :app:writeDebugSigningConfigVersions > Task :react-native-worklets-core:mergeDebugNativeLibs > Task :react-native-vision-camera:extractDebugAnnotations > Task :react-native-vision-camera:extractDeepLinksForAarDebug > Task :react-native-vision-camera:mergeDebugGeneratedProguardFiles > Task :react-native-vision-camera:mergeDebugConsumerProguardFiles > Task :react-native-vision-camera:generateJsonModelDebug > Task :react-native-vision-camera:prefabDebugConfigurePackage > Task :react-native-vision-camera:prepareDebugArtProfile > Task :react-native-vision-camera:prepareLintJarForPublish > Task :react-native-vision-camera:mergeDebugJavaResource > Task :react-native-worklets-core:copyDebugJniLibsProjectOnly > Task :react-native-worklets-core:stripDebugDebugSymbols > Task :react-native-vision-camera:syncDebugLibJars > Task :react-native-vision-camera:externalNativeBuildDebug > Task :react-native-vision-camera:prefabDebugPackage > Task :react-native-worklets-core:extractDebugAnnotations > Task :react-native-worklets-core:extractDeepLinksForAarDebug > Task :react-native-worklets-core:copyDebugJniLibsProjectAndLocalJars > Task :react-native-worklets-core:mergeDebugGeneratedProguardFiles > Task :react-native-worklets-core:mergeDebugConsumerProguardFiles > Task :react-native-worklets-core:prepareDebugArtProfile > Task :react-native-worklets-core:prepareLintJarForPublish > Task :react-native-worklets-core:mergeDebugJavaResource > Task :react-native-worklets-core:syncDebugLibJars > Task :react-native-vision-camera:mergeDebugNativeLibs > Task :react-native-worklets-core:bundleDebugAar > Task :react-native-worklets-core:assembleDebug > Task :react-native-vision-camera:stripDebugDebugSymbols > Task :react-native-vision-camera:copyDebugJniLibsProjectOnly > Task :react-native-vision-camera:copyDebugJniLibsProjectAndLocalJars > Task :app:mergeDebugNativeLibs > Task :react-native-vision-camera:bundleDebugAar > Task :react-native-vision-camera:assembleDebug > Task :app:stripDebugDebugSymbols > Task :app:packageDebug > Task :app:createDebugApkListingFileRedirect > Task :app:assembleDebug BUILD SUCCESSFUL in 5m 3s 121 actionable tasks: 116 executed, 5 up-to-date > docker run --rm -v /home/ubuntu/storage/extracted/raniellimontagna-visioncameratest/visioncameratest-f3e3377872e01647609a809f041a57611994e2b7:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/raniellimontagna-visioncameratest:/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 inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated rimraf@2.2.8: Rimraf versions prior to v4 are no longer supported npm warn deprecated sudo-prompt@9.2.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm warn deprecated metro-react-native-babel-preset@0.73.10: Use @react-native/babel-preset instead npm warn deprecated uglify-es@3.3.10: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 npm warn deprecated glob@9.3.5: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me added 765 packages, and audited 766 packages in 20s 55 packages are looking for funding run `npm fund` for details 21 vulnerabilities (1 low, 5 moderate, 13 high, 2 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 > Configure project :react-native-vision-camera [VisionCamera] react-native-worklets-core found, Frame Processors enabled! 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. > Task :react-native-vision-camera:prepareHeaders > Task :react-native-vision-camera:preBuild > Task :react-native-vision-camera:preReleaseBuild > Task :react-native-worklets-core:prepareHeaders > Task :react-native-worklets-core:preBuild > Task :react-native-worklets-core:preReleaseBuild > Task :react-native-worklets-core:compileReleaseAidl NO-SOURCE > Task :react-native-vision-camera:compileReleaseAidl NO-SOURCE > Task :react-native-worklets-core:configureCMakeRelWithDebInfo[arm64-v8a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeRelWithDebInfo[arm64-v8a] > Task :react-native-worklets-core:configureCMakeRelWithDebInfo[armeabi-v7a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeRelWithDebInfo[armeabi-v7a] C/C++: ninja: Entering directory `/app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/armeabi-v7a' C/C++: In file included from /app/node_modules/react-native-worklets-core/cpp/WKTJsiWorkletContext.cpp:15: C/C++: ../../../../../cpp/decorators/WKTJsiSetImmediateDecorator.h:85:53: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] > Task :react-native-worklets-core:configureCMakeRelWithDebInfo[x86] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeRelWithDebInfo[x86] C/C++: ninja: Entering directory `/app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86' C/C++: In file included from /app/node_modules/react-native-worklets-core/cpp/WKTJsiWorkletContext.cpp:15: C/C++: ../../../../../cpp/decorators/WKTJsiSetImmediateDecorator.h:85:53: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] > Task :react-native-worklets-core:configureCMakeRelWithDebInfo[x86_64] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-worklets-core/android/.cxx/RelWithDebInfo/4b3u4u6v/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning: C/C++: Manually-specified variables were not used by the project: C/C++: ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES > Task :react-native-worklets-core:buildCMakeRelWithDebInfo[x86_64] > Task :react-native-worklets-core:externalNativeBuildRelease > Task :react-native-worklets-core:generateJsonModelRelease > Task :react-native-worklets-core:prefabReleaseConfigurePackage > Task :react-native-vision-camera:configureCMakeRelWithDebInfo[arm64-v8a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-worklets-core:prefabReleasePackage > Task :react-native-vision-camera:buildCMakeRelWithDebInfo[arm64-v8a] > Task :react-native-vision-camera:configureCMakeRelWithDebInfo[armeabi-v7a] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeRelWithDebInfo[armeabi-v7a] > Task :react-native-vision-camera:configureCMakeRelWithDebInfo[x86] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeRelWithDebInfo[x86] > Task :react-native-vision-camera:configureCMakeRelWithDebInfo[x86_64] C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /opt/android/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) C/C++: CMakeLists.txt:1 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: CMake Warning at /opt/android/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message): C/C++: An old version of CMake is being used that cannot automatically detect C/C++: compiler attributes. Compiler identification is being bypassed. Some C/C++: values may be wrong or missing. Update to CMake 3.19 or newer to use C/C++: CMake's built-in compiler identification. C/C++: Call Stack (most recent call first): C/C++: /opt/android/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86_64/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include) C/C++: /app/node_modules/react-native-vision-camera/android/.cxx/RelWithDebInfo/3g5g1m5t/x86_64/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project) C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets... > Task :react-native-vision-camera:buildCMakeRelWithDebInfo[x86_64] > Task :react-native-worklets-core:mergeReleaseJniLibFolders > Task :react-native-vision-camera:mergeReleaseJniLibFolders > Task :react-native-worklets-core:packageReleaseRenderscript NO-SOURCE > Task :react-native-vision-camera:compileReleaseRenderscript NO-SOURCE > Task :react-native-vision-camera:generateReleaseResValues > Task :react-native-vision-camera:extractDeepLinksForAarRelease > Task :react-native-vision-camera:generateReleaseBuildConfig > Task :react-native-vision-camera:generateReleaseResources > Task :react-native-vision-camera:packageReleaseResources > Task :react-native-worklets-core:mergeReleaseNativeLibs > Task :react-native-worklets-core:compileReleaseRenderscript NO-SOURCE > Task :react-native-worklets-core:generateReleaseResValues > Task :react-native-worklets-core:generateReleaseResources > Task :react-native-vision-camera:parseReleaseLocalResources > Task :react-native-worklets-core:copyReleaseJniLibsProjectOnly > Task :react-native-worklets-core:packageReleaseResources > Task :react-native-vision-camera:processReleaseManifest > Task :react-native-vision-camera:externalNativeBuildRelease > Task :react-native-worklets-core:parseReleaseLocalResources > Task :react-native-worklets-core:processReleaseManifest package="com.worklets" found in source AndroidManifest.xml: /app/node_modules/react-native-worklets-core/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-worklets-core:generateReleaseBuildConfig > Task :react-native-vision-camera:mergeReleaseNativeLibs > Task :react-native-vision-camera:javaPreCompileRelease > Task :react-native-worklets-core:javaPreCompileRelease > Task :react-native-vision-camera:mergeReleaseShaders > Task :react-native-vision-camera:compileReleaseShaders NO-SOURCE > Task :react-native-vision-camera:generateReleaseAssets UP-TO-DATE > Task :react-native-vision-camera:packageReleaseAssets > Task :react-native-worklets-core:generateReleaseRFile > Task :react-native-vision-camera:packageReleaseRenderscript NO-SOURCE > Task :react-native-vision-camera:stripReleaseDebugSymbols > Task :react-native-vision-camera:generateReleaseRFile > Task :react-native-vision-camera:copyReleaseJniLibsProjectAndLocalJars > Task :react-native-worklets-core:compileReleaseJavaWithJavac > Task :react-native-vision-camera:generateJsonModelRelease > Task :react-native-vision-camera:prefabReleaseConfigurePackage > Task :react-native-worklets-core:bundleLibCompileToJarRelease > Task :react-native-vision-camera:prefabReleasePackage > Task :react-native-vision-camera:prepareLintJarForPublish > Task :react-native-vision-camera:prepareReleaseArtProfile > Task :react-native-vision-camera:processReleaseJavaRes NO-SOURCE > Task :react-native-vision-camera:writeReleaseAarMetadata > Task :react-native-worklets-core:extractDeepLinksForAarRelease > Task :react-native-worklets-core:stripReleaseDebugSymbols > Task :react-native-worklets-core:extractReleaseAnnotations > Task :react-native-worklets-core:mergeReleaseGeneratedProguardFiles > Task :react-native-worklets-core:mergeReleaseConsumerProguardFiles > Task :react-native-worklets-core:mergeReleaseShaders > Task :react-native-worklets-core:compileReleaseShaders NO-SOURCE > Task :react-native-worklets-core:copyReleaseJniLibsProjectAndLocalJars > Task :react-native-worklets-core:generateReleaseAssets UP-TO-DATE > Task :react-native-worklets-core:packageReleaseAssets > Task :react-native-worklets-core:prepareLintJarForPublish > Task :react-native-worklets-core:prepareReleaseArtProfile > Task :react-native-worklets-core:processReleaseJavaRes NO-SOURCE > Task :react-native-worklets-core:writeReleaseAarMetadata > 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 :react-native-worklets-core:mergeReleaseJavaResource > Task :app:compileReleaseRenderscript NO-SOURCE > Task :react-native-worklets-core:syncReleaseLibJars > Task :react-native-worklets-core:bundleReleaseLocalLintAar > 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.10 Fast - Scalable - Integrated > Task :react-native-vision-camera:compileReleaseKotlin > 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 /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:1702:24: 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:4915:7: warning: the variable "setTimeout" was not declared in function "logCapturedError" setTimeout(function () { ^~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:2889: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:3496:21: warning: the variable "clearTimeout" was not declared in anonymous function " 98#" cancelTimeout = clearTimeout; ^~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:7246:30: warning: the variable "__REACT_DEVTOOLS_GLOBAL_HOOK__" was not declared in anonymous function " 98#" if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:7995:5: warning: the variable "setImmediate" was not declared in function "handleResolved" setImmediate(function () { ^~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:8206:16: warning: the variable "AggregateError" was not declared in function "getAggregateError" if (typeof AggregateError === 'function') { ^~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:10931:12: warning: the variable "fetch" was not declared in anonymous function " 305#" fetch: fetch, ^~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:10932:14: warning: the variable "Headers" was not declared in anonymous function " 305#" Headers: Headers, ^~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:10933:14: warning: the variable "Request" was not declared in anonymous function " 305#" Request: Request, ^~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:10934:15: warning: the variable "Response" was not declared in anonymous function " 305#" Response: Response ^~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11085:24: warning: the variable "FileReader" was not declared in function "readBlobAsArrayBuffer" var reader = new FileReader(); ^~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11125:36: warning: the variable "Blob" was not declared in anonymous function " 316#" } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { ^~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11127:40: warning: the variable "FormData" was not declared in anonymous function " 316#" } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { ^~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11129:44: warning: the variable "URLSearchParams" was not declared in anonymous function " 316#" } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { ^~~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11245:26: warning: the variable "AbortController" was not declared in anonymous function " 322#" var ctrl = new AbortController(); ^~~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:11371:23: warning: the variable "XMLHttpRequest" was not declared in anonymous function " 326#" var xhr = new XMLHttpRequest(); ^~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:10942:71: warning: the variable "self" was not declared in anonymous function " 308#" var g = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global || {}; ^~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:17040:27: warning: the variable "performance" was not declared in anonymous function " 589#" if ("object" === typeof performance && "function" === typeof performance.now) { ^~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:17063:26: warning: the variable "navigator" was not declared in anonymous function " 589#" "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:17130:37: warning: the variable "MessageChannel" was not declared in anonymous function " 589#" };else if ("undefined" !== typeof MessageChannel) { ^~~~~~~~~~~~~~ /app/android/app/build/ASSETS/createBundleReleaseJsAndAssets/index.android.bundle:25279:34: warning: the variable "requestAnimationFrame" was not declared in function "start 9#" this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this)); ^~~~~~~~~~~~~~~~~~~~~ > Task :react-native-vision-camera:compileReleaseKotlin w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/CameraView.kt: (201, 52): Elvis operator (?:) always returns the left operand of non-nullable type Boolean w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/core/RecordingSession.kt: (51, 96): 'constructor MediaRecorder()' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/CameraDevice+createCaptureSession.kt: (61, 12): 'createCaptureSessionByOutputConfigurations((Mutable)List!, CameraCaptureSession.StateCallback!, Handler?): Unit' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/RecordingSession+getRecommendedBitRate.kt: (52, 24): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/extensions/RecordingSession+getRecommendedBitRate.kt: (54, 24): 'get(Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/utils/CamcorderProfileUtils.kt: (66, 42): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java w: /app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/utils/CamcorderProfileUtils.kt: (90, 42): 'get(Int, Int): CamcorderProfile!' is deprecated. Deprecated in Java > Task :react-native-vision-camera:extractReleaseAnnotations > Task :react-native-vision-camera:compileReleaseJavaWithJavac > Task :react-native-vision-camera:mergeReleaseGeneratedProguardFiles > Task :react-native-vision-camera:mergeReleaseConsumerProguardFiles > Task :app:generateReleaseResources > Task :react-native-vision-camera:mergeReleaseJavaResource > Task :react-native-vision-camera:syncReleaseLibJars > Task :app:mergeReleaseResources > Task :react-native-vision-camera:bundleReleaseLocalLintAar > Task :app:createReleaseCompatibleScreenManifests > Task :app:extractDeepLinksRelease > Task :react-native-vision-camera:extractDeepLinksRelease > Task :react-native-worklets-core:extractDeepLinksRelease > Task :app:processReleaseMainManifest > Task :app:processReleaseManifest > Task :react-native-vision-camera:compileReleaseLibraryResources > Task :react-native-worklets-core:compileReleaseLibraryResources > Task :app:extractProguardFiles > Task :app:processReleaseManifestForPackage > Task :react-native-vision-camera:bundleLibCompileToJarRelease > Task :react-native-vision-camera:bundleLibResRelease > Task :react-native-vision-camera:bundleLibRuntimeToJarRelease > Task :react-native-vision-camera:createFullJarRelease > Task :react-native-vision-camera:writeReleaseLintModelMetadata > Task :react-native-worklets-core:bundleLibResRelease NO-SOURCE > Task :react-native-worklets-core:bundleLibRuntimeToJarRelease > Task :react-native-worklets-core:writeReleaseLintModelMetadata > Task :react-native-worklets-core:createFullJarRelease > Task :app:mergeReleaseJniLibFolders > Task :react-native-vision-camera:copyReleaseJniLibsProjectOnly > Task :app:mergeReleaseArtProfile > Task :app:checkReleaseDuplicateClasses > Task :react-native-vision-camera:exportReleaseConsumerProguardFiles > Task :react-native-worklets-core:exportReleaseConsumerProguardFiles > Task :app:processReleaseJavaRes NO-SOURCE > Task :app:processReleaseResources > Task :app:compileReleaseJavaWithJavac > Task :app:mergeReleaseNativeLibs > Task :app:mergeReleaseJavaResource > Task :app:mergeReleaseGeneratedProguardFiles > Task :app:mergeReleaseShaders > Task :app:compileReleaseShaders NO-SOURCE > Task :app:generateReleaseAssets UP-TO-DATE > Task :app:stripReleaseDebugSymbols > Task :app:mergeReleaseAssets > Task :app:compressReleaseAssets > Task :app:extractReleaseNativeSymbolTables > Task :app:collectReleaseDependencies > Task :app:mergeReleaseNativeDebugMetadata > Task :app:sdkReleaseDependencyData > Task :app:validateSigningRelease > Task :app:writeReleaseAppMetadata > Task :app:writeReleaseSigningConfigVersions > Task :app:lintVitalAnalyzeRelease e: /opt/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.20/e72fc5e03ec6c064c678a6bd0d955c88d55b0c4a/kotlin-stdlib-1.8.20.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: /opt/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.20/e72fc5e03ec6c064c678a6bd0d955c88d55b0c4a/kotlin-stdlib-1.8.20.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: /opt/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.20/e72fc5e03ec6c064c678a6bd0d955c88d55b0c4a/kotlin-stdlib-1.8.20.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: /opt/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.8.20/5eddaaf234c8c49d03eebeb6a14feb7f90faca71/kotlin-stdlib-common-1.8.20.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. > Task :react-native-vision-camera:bundleReleaseAar > Task :react-native-vision-camera:mapReleaseSourceSetPaths > Task :react-native-vision-camera:mergeReleaseResources > Task :react-native-worklets-core:bundleReleaseAar > Task :react-native-worklets-core:mapReleaseSourceSetPaths > Task :react-native-worklets-core:mergeReleaseResources > Task :app:optimizeReleaseResources > Task :app:minifyReleaseWithR8 > Task :react-native-vision-camera:verifyReleaseResources > Task :react-native-worklets-core:verifyReleaseResources > Task :app:lintVitalReportRelease > Task :app:lintVitalRelease > Task :react-native-worklets-core:assembleRelease > Task :react-native-vision-camera:assembleRelease > Task :app:compileReleaseArtProfile > Task :app:packageRelease > Task :app:createReleaseApkListingFileRedirect > Task :app:assembleRelease BUILD SUCCESSFUL in 8m 37s 144 actionable tasks: 139 executed, 5 up-to-date > echo Build succeeded with Node 18 Build succeeded with Node 18