Build Information
Failed to build yswift, reference main (976d5a
), with Swift 6.0 for Linux on 14 Sep 2024 05:08:23 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ObuchiYuki/yswift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 976d5ae [fix] comment
Cloned https://github.com/ObuchiYuki/yswift.git
Revision (git rev-parse @):
976d5ae49522bac2e205bb29447dcd3ca516d3fa
SUCCESS checkout https://github.com/ObuchiYuki/yswift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ObuchiYuki/Promise.git
Fetching https://github.com/ObuchiYuki/lib0-swift.git
[1/1187] Fetching promise
[37/1349] Fetching promise, lib0-swift
Fetched https://github.com/ObuchiYuki/lib0-swift.git from cache (0.18s)
Fetched https://github.com/ObuchiYuki/Promise.git from cache (0.19s)
Computing version for https://github.com/ObuchiYuki/lib0-swift.git
Computed https://github.com/ObuchiYuki/lib0-swift.git at 1.0.4 (0.45s)
Computing version for https://github.com/ObuchiYuki/Promise.git
Computed https://github.com/ObuchiYuki/Promise.git at 1.0.15 (0.58s)
Creating working copy for https://github.com/ObuchiYuki/Promise.git
Working copy of https://github.com/ObuchiYuki/Promise.git resolved at 1.0.15
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/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] 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 {
[6/29] 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 {
[7/29] 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 {
[8/29] Compiling Promise Promise+Combine.swift
[9/29] 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 {
[10/29] Compiling Promise Promise+Concurrency.swift
[11/30] Compiling Promise Promise+Data.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+Data.swift:13:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
11 | extension Data {
12 | public static func async(contentsOf url: URL) -> Promise<Data, Error> {
13 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 | }
15 | }
[12/30] Compiling Promise Promise+Timeout.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+Data.swift:13:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
11 | extension Data {
12 | public static func async(contentsOf url: URL) -> Promise<Data, Error> {
13 | URLSession.shared.data(for: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
14 | }
15 | }
[13/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 {
[14/30] 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 {
[15/31] Compiling Promise Promise+Operators.swift
[16/31] Compiling Promise Promise+Util.swift
[17/31] Compiling Promise Promise+Wait.swift
[18/31] Compiling Promise Promise+Cancel.swift
[19/31] Compiling Promise Promise+Combination.swift
[20/31] Compiling Promise Promise+Debug.swift
[21/31] Compiling Promise Promise+Init.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/31] Emitting module Promise
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(for: url).map{ $0.1 }
[23/31] Compiling Promise Promise+URLSession.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(for: url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:16:35: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
17 | self.fetch(for: request).map{ $0.1 }
18 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:24:36: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | public func fetch(for request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
25 | Promise{ resolve, reject in
26 | self.dataTask(with: request) { data, responce, error in
[24/31] Compiling Promise Promise+Async.swift
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | public func data(for url: URL) -> Promise<Data, Error> {
13 | self.fetch(for: url).map{ $0.1 }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:16:35: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public func data(for request: URLRequest) -> Promise<Data, Error> {
| `- error: cannot find type 'URLRequest' in scope
17 | self.fetch(for: request).map{ $0.1 }
18 | }
/host/spi-builder-workspace/.build/checkouts/Promise/Sources/Promise/Integration/Promise+URLSession.swift:24:36: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | public func fetch(for request: URLRequest) -> Promise<(URLResponse, Data), Error> {
| `- error: cannot find type 'URLRequest' in scope
25 | Promise{ resolve, reject in
26 | self.dataTask(with: request) { data, responce, error in
[25/31] 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 {
[26/31] 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 {
[27/31] 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.0 linux