Build Information
Failed to build GraphiteClient, reference 0.1.1 (2333d2
), with Swift 6.0 for Linux on 27 Nov 2024 18:30:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/avito-tech/GraphiteClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling AtomicModels ConditionLock.swift
[6/8] Emitting module AtomicModels
[7/8] Compiling AtomicModels AtomicValue.swift
[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 | }
BUILD FAILURE 6.0 linux