==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: opensearch-cross-cluster-replication-plugin 3.1.0.0-1 (Mon Jul 7 16:01:51 2025) ==> Retrieving sources... -> Found opensearch-cross-cluster-replication-plugin-3.1.0.0.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... opensearch-cross-cluster-replication-plugin-3.1.0.0.tar.gz ... Passed ==> Making package: opensearch-cross-cluster-replication-plugin 3.1.0.0-1 (Mon Jul 7 16:01:58 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... :: There are 3 providers available for java-runtime-headless=21: :: Repository extra 1) jdk21-openjdk 2) jre21-openjdk 3) jre21-openjdk-headless Enter a number (default=1): looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Packages (17) freetype2-2.13.3-3 giflib-5.2.2-2 graphite-1:1.3.14-4 harfbuzz-11.2.1-1 hicolor-icon-theme-0.18-1 java-environment-common-3-6 java-runtime-common-3-6 jbigkit-2.1-8 jdk21-openjdk-21.0.7.u6-1 lcms2-2.17-1 libjpeg-turbo-3.1.1-1 libnet-2:1.3-1 libpng-1.6.50-1 libtiff-4.7.0-1 nspr-4.36-1 nss-3.113.1-1 opensearch-3.1.0-1 Total Installed Size: 457.70 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing java-runtime-common... For the complete set of Java binaries to be available in your PATH, you need to re-login or source /etc/profile Please note that this package does not support forcing JAVA_HOME as former package java-common did installing nspr... installing nss... installing libjpeg-turbo... installing jbigkit... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing libnet... installing libpng... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing freetype2... installing java-environment-common... installing hicolor-icon-theme... installing giflib... installing jdk21-openjdk... Optional dependencies for jdk21-openjdk java-rhino: for some JavaScript support alsa-lib: for basic sound support gtk3: for the Gtk+ 3 look and feel - desktop usage installing opensearch... Optional dependencies for opensearch opensearch-analysis-icu-plugin opensearch-analysis-kuromoji-plugin opensearch-analysis-nori-plugin opensearch-analysis-phonetic-plugin opensearch-analysis-smartcn-plugin opensearch-analysis-stempel-plugin opensearch-analysis-ukrainian-plugin opensearch-discovery-azure-classic-plugin opensearch-discovery-ec2-plugin opensearch-discovery-gce-plugin opensearch-ingest-attachment-plugin opensearch-mapper-annotated-text-plugin opensearch-mapper-murmur3-plugin opensearch-mapper-size-plugin opensearch-repository-azure-plugin opensearch-repository-gcs-plugin opensearch-repository-hdfs-plugin opensearch-repository-s3-plugin opensearch-store-smb-plugin opensearch-alerting-plugin opensearch-anomaly-detection-plugin opensearch-asynchronous-search-plugin opensearch-cross-cluster-replication-plugin opensearch-geospatial-plugin opensearch-ml-commons-plugin opensearch-notifications-plugin opensearch-neural-search-plugin opensearch-index-management-plugin opensearch-job-scheduler-plugin opensearch-knn-plugin opensearch-observability-plugin opensearch-performance-analyzer-plugin opensearch-reports-scheduler-plugin opensearch-security-plugin opensearch-sql-plugin :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'opensearch' with GID 971. Creating user 'opensearch' (OpenSearch user) with UID 971 and GID 971. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Creating temporary files... (4/4) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (1) unzip-6.0-22 Total Installed Size: 0.42 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing unzip... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources... -> Found opensearch-cross-cluster-replication-plugin-3.1.0.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting opensearch-cross-cluster-replication-plugin-3.1.0.0.tar.gz with bsdtar ======================================= OpenSearch Build Hamster says Hello! Gradle Version : 8.10.2 OS Info : Linux 5.1.16-1-ARCH (aarch64) JDK Version : 21 (Arch Linux JDK) JAVA_HOME : /usr/lib/jvm/java-21-openjdk Random Testing Seed : 601A6A5ABD35D6F3 Crypto Standard : any-supported ======================================= > Task :compileKotlin w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/ReplicationPlugin.kt:275:16 Type List<ExecutorBuilder<out ExecutorBuilder.ExecutorSettings>> is inaccessible in this context due to: public/*package*/ abstract class ExecutorSettings defined in org.opensearch.threadpool.ExecutorBuilder w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/autofollow/TransportAutoFollowClusterManagerNodeAction.kt:54:96 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/autofollow/TransportUpdateAutoFollowPatternAction.kt:42:103 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/changes/TransportGetChangesAction.kt:71:9 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/index/TransportReplicateIndexAction.kt:58:23 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/index/TransportReplicateIndexClusterManagerNodeAction.kt:67:27 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/index/block/TransportUpddateIndexBlockAction.kt:49:65 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/pause/TransportPauseIndexReplicationAction.kt:54:61 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/replicationstatedetails/TransportUpdateReplicationStateDetails.kt:44:27 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/replicationstatedetails/TransportUpdateReplicationStateDetails.kt:56:25 Unchecked cast: UpdateReplicationStateDetailsTaskExecutor to ClusterStateTaskExecutor<AcknowledgedRequest<UpdateReplicationStateDetailsRequest>> w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/resume/TransportResumeIndexReplicationAction.kt:70:61 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/stats/TransportAutoFollowStatsAction.kt:34:147 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/stats/TransportFollowerStatsAction.kt:39:75 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/stats/TransportLeaderStatsAction.kt:41:73 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/status/TransportReplicationStatusAction.kt:39:27 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/stop/TransportInternalStopIndexReplicationAction.kt:53:23 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/stop/TransportStopIndexReplicationAction.kt:84:61 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/action/update/TransportUpdateIndexReplicationAction.kt:53:61 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/metadata/store/ReplicationMetadataStore.kt:254:18 'mapping(String!, XContentType!): CreateIndexRequest!' is deprecated. Deprecated in Java w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterMultiChunkTransfer.kt:53:99 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterRepository.kt:88:147 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/seqno/RemoteClusterRetentionLeaseHelper.kt:105:109 Parameter 'timeout' is never used w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/CrossClusterReplicationTask.kt:97:17 This declaration needs opt-in. Its usage should be marked with '@kotlinx.coroutines.ObsoleteCoroutinesApi' or '@OptIn(kotlinx.coroutines.ObsoleteCoroutinesApi::class)' w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/autofollow/AutoFollowTask.kt:71:26 Base declaration of supertype 'CrossClusterReplicationTask' needs opt-in. The declaration override should be annotated with '@kotlinx.coroutines.ObsoleteCoroutinesApi' or '@OptIn(kotlinx.coroutines.ObsoleteCoroutinesApi::class)' w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationTask.kt:171:33 Base declaration of supertype 'CrossClusterReplicationTask' needs opt-in. The declaration override should be annotated with '@kotlinx.coroutines.ObsoleteCoroutinesApi' or '@OptIn(kotlinx.coroutines.ObsoleteCoroutinesApi::class)' w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationTask.kt:313:37 Unchecked cast: PersistentTasksCustomMetadata.PersistentTask<*>! to PersistentTasksCustomMetadata.PersistentTask<IndexReplicationParams> w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationTask.kt:318:43 Unchecked cast: Any! to PersistentTasksCustomMetadata.PersistentTask<IndexReplicationParams> w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationTask.kt:692:37 Unchecked cast: PersistentTasksCustomMetadata.PersistentTask<*>! to PersistentTasksCustomMetadata.PersistentTask<ShardReplicationParams> w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/task/index/IndexReplicationTask.kt:754:33 Unchecked cast: PersistentTasksCustomMetadata.PersistentTask<*>! to PersistentTasksCustomMetadata.PersistentTask<ShardReplicationParams> w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/util/Extensions.kt:115:9 Variable 'retryException' is assigned but never accessed w: file:///build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/src/main/kotlin/org/opensearch/replication/util/ValidationUtil.kt:81:18 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead. BUILD SUCCESSFUL in 2m 47s 11 actionable tasks: 11 executed [?12l[?25h==> Entering fakeroot environment... ==> Starting package()... Archive: /build/opensearch-cross-cluster-replication-plugin/src/cross-cluster-replication-3.1.0.0/build/distributions/opensearch-cross-cluster-replication-3.1.0.0.zip inflating: plugin-descriptor.properties inflating: opensearch-cross-cluster-replication-3.1.0.0.jar inflating: kotlin-stdlib-jdk8-1.9.25.jar inflating: kotlin-stdlib-jdk7-1.9.25.jar inflating: kotlin-stdlib-1.9.25.jar inflating: annotations-13.0.jar inflating: ipaddress-5.4.1.jar inflating: common-utils-3.1.0.0.jar inflating: httpclient5-5.4.4.jar inflating: httpcore5-5.3.4.jar inflating: httpcore5-h2-5.3.4.jar inflating: kotlinx-coroutines-core-jvm-1.6.0.jar ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "opensearch-cross-cluster-replication-plugin"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: opensearch-cross-cluster-replication-plugin 3.1.0.0-1 (Mon Jul 7 16:05:19 2025) ==> Cleaning up...