The Swift Package Index logo.Swift Package Index

Build Information

Failed to build yswift, reference 1.0.4 (ac0336), with Swift 6.2 for Linux on 20 Jun 2025 05:21:51 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ObuchiYuki/yswift.git
Reference: 1.0.4
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/ObuchiYuki/yswift
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at ac03363 add y-protocols
Cloned https://github.com/ObuchiYuki/yswift.git
Revision (git rev-parse @):
ac033635c887a0dbf7cd272c7aa967d2f9e771f6
SUCCESS checkout https://github.com/ObuchiYuki/yswift.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ObuchiYuki/yswift.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ObuchiYuki/lib0-swift.git
Fetching https://github.com/ObuchiYuki/Promise.git
[1/1316] Fetching promise
[1317/1478] Fetching promise, lib0-swift
Fetched https://github.com/ObuchiYuki/lib0-swift.git from cache (0.96s)
Fetched https://github.com/ObuchiYuki/Promise.git from cache (0.96s)
Computing version for https://github.com/ObuchiYuki/lib0-swift.git
Computed https://github.com/ObuchiYuki/lib0-swift.git at 1.0.4 (1.81s)
Computing version for https://github.com/ObuchiYuki/Promise.git
Computed https://github.com/ObuchiYuki/Promise.git at 1.3.0 (0.75s)
Creating working copy for https://github.com/ObuchiYuki/Promise.git
Working copy of https://github.com/ObuchiYuki/Promise.git resolved at 1.3.0
Creating working copy for https://github.com/ObuchiYuki/lib0-swift.git
Working copy of https://github.com/ObuchiYuki/lib0-swift.git resolved at 1.0.4
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/yswift/Object/YXmlFragment.swift.dontimplement
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/27] Compiling Promise Promise+GCD.swift
[6/27] Compiling Promise Promise+MeasureInterval.swift
[7/29] Compiling lib0 LZObservableObject.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[8/30] Compiling Promise Promise+Cancel.swift
[9/30] Compiling Promise Promise+Combination.swift
[10/30] Compiling lib0 LZDecoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[11/30] Compiling Promise Promise+Concurrency.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:21:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
19 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
21 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 |         return UnsafePointer(attr)
23 |     }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
51 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
54 |         return UnsafePointer(attr)
55 |     }()
[12/30] Compiling Promise Lock.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:21:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
19 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
21 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 |         return UnsafePointer(attr)
23 |     }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
51 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
54 |         return UnsafePointer(attr)
55 |     }()
[13/30] Compiling Promise Promise+Operators.swift
[14/30] Compiling Promise Promise+OptionalResolve.swift
[15/30] Compiling Promise Promise+Debug.swift
[16/30] Compiling Promise Promise+Init.swift
[17/30] Compiling lib0 LZCoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[18/30] Compiling lib0 LZDecoder.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[19/30] Compiling lib0 LZDecoderError.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/30] Emitting module lib0
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[21/30] Compiling lib0 LZEncoder+Swift.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
[22/30] Compiling lib0 LZEncoder.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/30] Emitting module Promise
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 9 | import Foundation
10 |
11 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |     @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 |         self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 |     @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 |         URLSession.shared.data(for: url)
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:21:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
19 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
20 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
21 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_ERRORCHECK), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 |         return UnsafePointer(attr)
23 |     }()
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Lock.swift:53:62: error: cannot convert value of type 'Int' to expected argument type 'Int32'
51 |         let attr = UnsafeMutablePointer<pthread_mutexattr_t>.allocate(capacity: 1)
52 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_init(attr), "pthread_mutexattr_init")
53 |         _HANDLE_PTHREAD_CALL(pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE), "pthread_mutexattr_settype")
   |                                                              `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
54 |         return UnsafePointer(attr)
55 |     }()
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[24/30] Compiling Promise Promise+Timeout.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 9 | import Foundation
10 |
11 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |     @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 |         self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 |     @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 |         URLSession.shared.data(for: url)
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:16:46: error: cannot find type 'URLRequest' in scope
14 |     }
15 |
16 |     @inlinable public func data(for request: URLRequest) -> Promise<Data, Error> {
   |                                              `- error: cannot find type 'URLRequest' in scope
17 |         self.fetch(request).map{ $0.1 }
18 |     }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:24:45: error: cannot find type 'URLRequest' in scope
22 |     }
23 |
24 |     @inlinable public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
   |                                             `- error: cannot find type 'URLRequest' in scope
25 |         let promise = Promise<(URLResponse, Data), Error>()
26 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[25/30] Compiling Promise Promise+URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 9 | import Foundation
10 |
11 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
12 |     @inlinable public func data(for url: URL) -> Promise<Data, Error> {
13 |         self.fetch(url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:46:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | extension Data {
45 |     @inlinable public static func async(contentsOf url: URL) -> Promise<Data, Error> {
46 |         URLSession.shared.data(for: url)
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     }
48 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:16:46: error: cannot find type 'URLRequest' in scope
14 |     }
15 |
16 |     @inlinable public func data(for request: URLRequest) -> Promise<Data, Error> {
   |                                              `- error: cannot find type 'URLRequest' in scope
17 |         self.fetch(request).map{ $0.1 }
18 |     }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Ex+Foundation/Promise+URLSession.swift:24:45: error: cannot find type 'URLRequest' in scope
22 |     }
23 |
24 |     @inlinable public func fetch(_ request: URLRequest) -> Promise<(URLResponse, Data), Error> {
   |                                             `- error: cannot find type 'URLRequest' in scope
25 |         let promise = Promise<(URLResponse, Data), Error>()
26 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[26/30] Compiling Promise Promise+Wait.swift
[27/30] Compiling Promise Promise+Combine.swift
[28/30] Compiling lib0 Observable.swift
/host/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:9:8: error: no such module 'Combine'
 7 |
 8 | import Foundation
 9 | import Combine
   |        `- error: no such module 'Combine'
10 |
11 | open class LZObservableObject {
BUILD FAILURE 6.2 linux