The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GraphiteClient, reference master (2333d2), with Swift 6.2 (beta) for Android on 18 Jun 2025 18:12:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avito-tech/GraphiteClient.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/avito-tech/GraphiteClient
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2333d2c Merge pull request #1 in MA/graphite-client from exclusive-access-return-work-result to master
Cloned https://github.com/avito-tech/GraphiteClient.git
Revision (git rev-parse @):
2333d2c4a73c19db636939033cbe2b5ba3fc9f8c
SUCCESS checkout https://github.com/avito-tech/GraphiteClient.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/avito-tech/GraphiteClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/8] Compiling AtomicModels ConditionLock.swift
[6/8] Compiling AtomicModels AtomicCollection.swift
[7/8] Compiling AtomicModels AtomicValue.swift
[8/8] Emitting module AtomicModels
[10/14] Compiling IO OutputStreamProvider.swift
[11/14] Compiling IO NetworkSocketOutputStreamProvider.swift
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:25:16: error: type 'Stream' has no member 'getStreamsToHost'
23 |     public func createOutputStream() throws -> OutputStream {
24 |         var generatedOutputStream: OutputStream?
25 |         Stream.getStreamsToHost(
   |                `- error: type 'Stream' has no member 'getStreamsToHost'
26 |             withName: host,
27 |             port: port,
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:28:26: error: 'nil' requires a contextual type
26 |             withName: host,
27 |             port: port,
28 |             inputStream: nil,
   |                          `- error: 'nil' requires a contextual type
29 |             outputStream: &generatedOutputStream
30 |         )
[12/14] Compiling IO EasyOutputStreamError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module IO
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:111:6: error: Objective-C interoperability is disabled
109 |     // MARK: - Stream handing
110 |
111 |     @objc private func handleStream(outputStream: OutputStream) {
    |      `- error: Objective-C interoperability is disabled
112 |         outputStream.delegate = self
113 |         outputStream.schedule(in: RunLoop.current, forMode: RunLoop.Mode.default)
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
198 |     }
199 |
200 |     @objc private func wakeUpThreadRunloop_onThread() {
    |      `- error: Objective-C interoperability is disabled
201 |         // this method exists just to be able to wake up the runloop
202 |     }
[14/14] Compiling IO EasyOutputStream.swift
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:111:6: error: Objective-C interoperability is disabled
109 |     // MARK: - Stream handing
110 |
111 |     @objc private func handleStream(outputStream: OutputStream) {
    |      `- error: Objective-C interoperability is disabled
112 |         outputStream.delegate = self
113 |         outputStream.schedule(in: RunLoop.current, forMode: RunLoop.Mode.default)
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
198 |     }
199 |
200 |     @objc private func wakeUpThreadRunloop_onThread() {
    |      `- error: Objective-C interoperability is disabled
201 |         // this method exists just to be able to wake up the runloop
202 |     }
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:60:49: error: '#selector' can only be used with the Objective-C runtime
 58 |
 59 |         let outputStream = try outputStreamProvider.createOutputStream()
 60 |         thread = Thread(target: self, selector: #selector(handleStream(outputStream:)), object: outputStream)
    |                                                 `- error: '#selector' can only be used with the Objective-C runtime
 61 |         thread?.name = "ru.avito.emcee.EasyOutputStream"
 62 |         thread?.start()
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:117:29: warning: result of call to 'run(mode:before:)' is unused [#no-usage]
115 |
116 |         while !Thread.current.isCancelled {
117 |             RunLoop.current.run(mode: RunLoop.Mode.default, before: Date.distantFuture)
    |                             `- warning: result of call to 'run(mode:before:)' is unused [#no-usage]
118 |             writeDataIfEnqueuedOutOfDelegateEventIfNeeded(outputStream: outputStream)
119 |         }
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:196:26: error: '#selector' can only be used with the Objective-C runtime
194 |     private func wakeUpThreadsRunloop() {
195 |         if let thread = thread {
196 |             self.perform(#selector(wakeUpThreadRunloop_onThread), on: thread, with: nil, waitUntilDone: false)
    |                          `- error: '#selector' can only be used with the Objective-C runtime
197 |         }
198 |     }
BUILD FAILURE 6.2 android