Build Information
Failed to build SwiftLazy, reference master (f9cc23
), with Swift 6.1 for Linux on 30 Apr 2025 04:55:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivlevAstef/SwiftLazy.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/ivlevAstef/SwiftLazy
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f9cc23f increase podspec version
Cloned https://github.com/ivlevAstef/SwiftLazy.git
Revision (git rev-parse @):
f9cc23fa0dbeff5e224bb1b33d36424cc3fc8b03
SUCCESS checkout https://github.com/ivlevAstef/SwiftLazy.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/ivlevAstef/SwiftLazy.git
https://github.com/ivlevAstef/SwiftLazy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLazy",
"name" : "SwiftLazy",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftLazy",
"targets" : [
"SwiftLazy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLazy",
"module_type" : "SwiftTarget",
"name" : "SwiftLazy",
"path" : "Sources/SwiftLazy",
"product_memberships" : [
"SwiftLazy"
],
"sources" : [
"BaseLazy.swift",
"BaseProvider.swift",
"Lazy.swift",
"Provider.swift",
"ProviderArgs.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling SwiftLazy BaseProvider.swift
[4/8] Compiling SwiftLazy ProviderArgs.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module SwiftLazy
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:71:22: error: cannot find 'pthread_rwlock_t' in scope
69 |
70 | private final class RWLock {
71 | private var lock = pthread_rwlock_t()
| `- error: cannot find 'pthread_rwlock_t' in scope
72 |
73 | init() {
[6/8] Compiling SwiftLazy BaseLazy.swift
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:71:22: error: cannot find 'pthread_rwlock_t' in scope
69 |
70 | private final class RWLock {
71 | private var lock = pthread_rwlock_t()
| `- error: cannot find 'pthread_rwlock_t' in scope
72 |
73 | init() {
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:74:5: error: cannot find 'pthread_rwlock_init' in scope
72 |
73 | init() {
74 | pthread_rwlock_init(&lock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
75 | }
76 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:74:32: error: 'nil' requires a contextual type
72 |
73 | init() {
74 | pthread_rwlock_init(&lock, nil)
| `- error: 'nil' requires a contextual type
75 | }
76 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:5: error: cannot find 'pthread_rwlock_destroy' in scope
76 |
77 | deinit {
78 | pthread_rwlock_destroy(&lock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:82:5: error: cannot find 'pthread_rwlock_wrlock' in scope
80 |
81 | func writeLock() {
82 | pthread_rwlock_wrlock(&lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
83 | }
84 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:86:5: error: cannot find 'pthread_rwlock_rdlock' in scope
84 |
85 | func readLock() {
86 | pthread_rwlock_rdlock(&lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
87 | }
88 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:90:5: error: cannot find 'pthread_rwlock_unlock' in scope
88 |
89 | func unlock() {
90 | pthread_rwlock_unlock(&lock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
91 | }
92 | }
[7/8] Compiling SwiftLazy Provider.swift
[8/8] Compiling SwiftLazy Lazy.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/7] Compiling SwiftLazy ProviderArgs.swift
[3/7] Compiling SwiftLazy Provider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling SwiftLazy BaseProvider.swift
[5/7] Compiling SwiftLazy Lazy.swift
[6/7] Emitting module SwiftLazy
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:71:22: error: cannot find 'pthread_rwlock_t' in scope
69 |
70 | private final class RWLock {
71 | private var lock = pthread_rwlock_t()
| `- error: cannot find 'pthread_rwlock_t' in scope
72 |
73 | init() {
[7/7] Compiling SwiftLazy BaseLazy.swift
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:71:22: error: cannot find 'pthread_rwlock_t' in scope
69 |
70 | private final class RWLock {
71 | private var lock = pthread_rwlock_t()
| `- error: cannot find 'pthread_rwlock_t' in scope
72 |
73 | init() {
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:74:5: error: cannot find 'pthread_rwlock_init' in scope
72 |
73 | init() {
74 | pthread_rwlock_init(&lock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
75 | }
76 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:74:32: error: 'nil' requires a contextual type
72 |
73 | init() {
74 | pthread_rwlock_init(&lock, nil)
| `- error: 'nil' requires a contextual type
75 | }
76 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:78:5: error: cannot find 'pthread_rwlock_destroy' in scope
76 |
77 | deinit {
78 | pthread_rwlock_destroy(&lock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:82:5: error: cannot find 'pthread_rwlock_wrlock' in scope
80 |
81 | func writeLock() {
82 | pthread_rwlock_wrlock(&lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
83 | }
84 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:86:5: error: cannot find 'pthread_rwlock_rdlock' in scope
84 |
85 | func readLock() {
86 | pthread_rwlock_rdlock(&lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
87 | }
88 |
/host/spi-builder-workspace/Sources/SwiftLazy/BaseLazy.swift:90:5: error: cannot find 'pthread_rwlock_unlock' in scope
88 |
89 | func unlock() {
90 | pthread_rwlock_unlock(&lock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
91 | }
92 | }
BUILD FAILURE 6.1 linux