Build Information
Failed to build GraphiteClient, reference master (2333d2
), with Swift 6.1 for Linux on 26 Apr 2025 04:25:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/avito-tech/GraphiteClient.git
https://github.com/avito-tech/GraphiteClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GraphiteClient",
"name" : "GraphiteClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AtomicModels",
"targets" : [
"AtomicModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GraphiteClient",
"targets" : [
"GraphiteClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "IO",
"targets" : [
"IO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2"
],
"targets" : [
{
"c99name" : "IOTests",
"module_type" : "SwiftTarget",
"name" : "IOTests",
"path" : "Tests/IOTests",
"sources" : [
"BoundStreamsOutputStreamProvider.swift",
"EasyOutputStreamTests.swift",
"FakeBufferedOutputStreamProvider.swift",
"FakeInMemoryOutputStreamProvider.swift"
],
"target_dependencies" : [
"IO"
],
"type" : "test"
},
{
"c99name" : "IO",
"module_type" : "SwiftTarget",
"name" : "IO",
"path" : "Sources/IO",
"product_memberships" : [
"GraphiteClient",
"IO"
],
"sources" : [
"EasyOutputStream.swift",
"EasyOutputStreamError.swift",
"NetworkSocketOutputStreamProvider.swift",
"OutputStreamProvider.swift"
],
"target_dependencies" : [
"AtomicModels"
],
"type" : "library"
},
{
"c99name" : "GraphiteClientTests",
"module_type" : "SwiftTarget",
"name" : "GraphiteClientTests",
"path" : "Tests/GraphiteClientTests",
"sources" : [
"GraphiteClientTests.swift",
"GraphiteMetricTests.swift"
],
"target_dependencies" : [
"GraphiteClient"
],
"type" : "test"
},
{
"c99name" : "GraphiteClient",
"module_type" : "SwiftTarget",
"name" : "GraphiteClient",
"path" : "Sources/GraphiteClient",
"product_memberships" : [
"GraphiteClient"
],
"sources" : [
"GraphiteClient.swift",
"GraphiteClientError.swift",
"GraphiteMetric.swift"
],
"target_dependencies" : [
"IO"
],
"type" : "library"
},
{
"c99name" : "AtomicModels",
"module_type" : "SwiftTarget",
"name" : "AtomicModels",
"path" : "Sources/AtomicModels",
"product_memberships" : [
"AtomicModels",
"GraphiteClient",
"IO"
],
"sources" : [
"AtomicCollection.swift",
"AtomicValue.swift",
"ConditionLock.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling AtomicModels ConditionLock.swift
[6/8] Compiling AtomicModels AtomicValue.swift
[7/8] Emitting module AtomicModels
[8/8] Compiling AtomicModels AtomicCollection.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] Compiling IO EasyOutputStreamError.swift
[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
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
118 | writeDataIfEnqueuedOutOfDelegateEventIfNeeded(outputStream: outputStream)
119 | }
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:137:21: warning: capture of 'self' with non-sendable type 'EasyOutputStream' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public final class EasyOutputStream: NSObject, StreamDelegate {
| `- note: class 'EasyOutputStream' does not conform to the 'Sendable' protocol
5 |
6 | public typealias ErrorHandler = (EasyOutputStream, EasyOutputStreamError) -> ()
:
135 | if let streamError = aStream.streamError {
136 | handlerQueue.async {
137 | self.errorHandler(self, EasyOutputStreamError.streamError(streamError))
| `- warning: capture of 'self' with non-sendable type 'EasyOutputStream' in a '@Sendable' closure; this is an error in the Swift 6 language mode
138 | }
139 | }
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:143:17: warning: capture of 'self' with non-sendable type 'EasyOutputStream' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public final class EasyOutputStream: NSObject, StreamDelegate {
| `- note: class 'EasyOutputStream' does not conform to the 'Sendable' protocol
5 |
6 | public typealias ErrorHandler = (EasyOutputStream, EasyOutputStreamError) -> ()
:
141 | case .endEncountered:
142 | handlerQueue.async {
143 | self.streamEndHandler(self)
| `- warning: capture of 'self' with non-sendable type 'EasyOutputStream' in a '@Sendable' closure; this is an error in the Swift 6 language mode
144 | }
145 | terminateStreamThread()
/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling AtomicModels AtomicCollection.swift
[3/5] Compiling AtomicModels ConditionLock.swift
[4/5] Emitting module AtomicModels
[5/5] Compiling AtomicModels AtomicValue.swift
[7/11] Compiling IO OutputStreamProvider.swift
[8/11] 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)
[9/11] Compiling IO EasyOutputStreamError.swift
[10/11] 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 | }
[11/11] 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
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
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.1 linux