The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GraphiteClient with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/avito-tech/GraphiteClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling AtomicModels AtomicValue.swift
[6/8] Emitting module AtomicModels
[7/8] Compiling AtomicModels AtomicCollection.swift
[8/8] Compiling AtomicModels ConditionLock.swift
[10/14] Compiling IO OutputStreamProvider.swift
[11/14] Compiling IO EasyOutputStreamError.swift
[12/14] Compiling IO NetworkSocketOutputStreamProvider.swift
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:25:16: error: type 'Stream' has no member 'getStreamsToHost'
        Stream.getStreamsToHost(
        ~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:28:26: error: 'nil' requires a contextual type
            inputStream: nil,
                         ^
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
    @objc private func handleStream(outputStream: OutputStream) {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
    @objc private func wakeUpThreadRunloop_onThread() {
    ~^~~~~

[14/14] Compiling IO EasyOutputStream.swift
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:111:6: error: Objective-C interoperability is disabled
    @objc private func handleStream(outputStream: OutputStream) {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
    @objc private func wakeUpThreadRunloop_onThread() {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:60:49: error: '#selector' can only be used with the Objective-C runtime
        thread = Thread(target: self, selector: #selector(handleStream(outputStream:)), object: outputStream)
                                                ^
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:117:29: warning: result of call to 'run(mode:before:)' is unused
            RunLoop.current.run(mode: RunLoop.Mode.default, before: Date.distantFuture)
                            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:196:26: error: '#selector' can only be used with the Objective-C runtime
            self.perform(#selector(wakeUpThreadRunloop_onThread), on: thread, with: nil, waitUntilDone: false)
                         ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module IO
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:111:6: error: Objective-C interoperability is disabled
    @objc private func handleStream(outputStream: OutputStream) {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
    @objc private func wakeUpThreadRunloop_onThread() {
    ~^~~~~

[3/4] Compiling IO EasyOutputStream.swift
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:111:6: error: Objective-C interoperability is disabled
    @objc private func handleStream(outputStream: OutputStream) {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:200:6: error: Objective-C interoperability is disabled
    @objc private func wakeUpThreadRunloop_onThread() {
    ~^~~~~

/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:60:49: error: '#selector' can only be used with the Objective-C runtime
        thread = Thread(target: self, selector: #selector(handleStream(outputStream:)), object: outputStream)
                                                ^
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:117:29: warning: result of call to 'run(mode:before:)' is unused
            RunLoop.current.run(mode: RunLoop.Mode.default, before: Date.distantFuture)
                            ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/IO/EasyOutputStream.swift:196:26: error: '#selector' can only be used with the Objective-C runtime
            self.perform(#selector(wakeUpThreadRunloop_onThread), on: thread, with: nil, waitUntilDone: false)
                         ^
[4/4] Compiling IO NetworkSocketOutputStreamProvider.swift
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:25:16: error: type 'Stream' has no member 'getStreamsToHost'
        Stream.getStreamsToHost(
        ~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/IO/NetworkSocketOutputStreamProvider.swift:28:26: error: 'nil' requires a contextual type
            inputStream: nil,
                         ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1