The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GraphiteClient, reference 0.1.1 (2333d2), with Swift 6.3 for Linux on 11 Apr 2026 21:33:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avito-tech/GraphiteClient.git
Reference: 0.1.1
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
 * tag               0.1.1      -> FETCH_HEAD
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 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/avito-tech/GraphiteClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling AtomicModels AtomicCollection.swift
[6/8] Compiling AtomicModels ConditionLock.swift
[7/8] Emitting module AtomicModels
[8/8] Compiling AtomicModels AtomicValue.swift
[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 |         )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/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 |     }
[13/14] Compiling IO EasyOutputStreamError.swift
[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.3 linux