Build Information
Failed to build SKServer, reference master (484c76
), with Swift 6.1 for Linux on 25 Apr 2025 21:15:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKServer.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/pvzig/SKServer
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 484c763 Update README.md
Cloned https://github.com/pvzig/SKServer.git
Revision (git rev-parse @):
484c763854a4b19313645eaa3799e2215dbfb878
SUCCESS checkout https://github.com/pvzig/SKServer.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/pvzig/SKServer.git
https://github.com/pvzig/SKServer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "skcore",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "4.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pvzig/SKCore"
},
{
"identity" : "skwebapi",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "4.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pvzig/SKWebAPI"
},
{
"identity" : "swifter",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.1",
"upper_bound" : "1.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter.git"
}
],
"manifest_display_name" : "SKServer",
"name" : "SKServer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SKServer",
"targets" : [
"SKServer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SKServer",
"module_type" : "SwiftTarget",
"name" : "SKServer",
"path" : "Sources",
"product_dependencies" : [
"SKCore",
"SKWebAPI",
"Swifter"
],
"product_memberships" : [
"SKServer"
],
"sources" : [
"SKServer/Conformers/SwifterServer.swift",
"SKServer/Middleware/MessageActionMiddleware.swift",
"SKServer/Middleware/OAuthMiddleware.swift",
"SKServer/Middleware/RedirectMiddleware.swift",
"SKServer/Middleware/ResponseMiddleware.swift",
"SKServer/Model/AuthorizeResponse.swift",
"SKServer/Model/IncomingWebhook.swift",
"SKServer/Model/MessageActionRequest.swift",
"SKServer/Model/MessageActionRoute.swift",
"SKServer/Model/OAuthResponse.swift",
"SKServer/Model/RequestRoute.swift",
"SKServer/Model/SKResponse.swift",
"SKServer/Model/WebhookRequest.swift",
"SKServer/SKServer.swift",
"SKServer/SlackKitResponder.swift",
"SKServer/Titan/Titan/Titan.swift",
"SKServer/Titan/Titan404/Titan404.swift",
"SKServer/Titan/TitanCORS/TitanCORS.swift",
"SKServer/Titan/TitanCore/TitanCore.swift",
"SKServer/Titan/TitanCore/TitanError.swift",
"SKServer/Titan/TitanCore/TitanHeader.swift",
"SKServer/Titan/TitanCore/TitanLogs.swift",
"SKServer/Titan/TitanCore/TitanMethod.swift",
"SKServer/Titan/TitanCore/TitanRequest.swift",
"SKServer/Titan/TitanCore/TitanResponse.swift",
"SKServer/Titan/TitanErrorHandling/TitanErrorHandling.swift",
"SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift",
"SKServer/Titan/TitanHealthz/TitanHealthz.swift",
"SKServer/Titan/TitanJSON/TitanJSONRequestBody.swift",
"SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift",
"SKServer/Titan/TitanQueryString/TitanQueryString.swift",
"SKServer/Titan/TitanRouter/InitializerOverloads.swift",
"SKServer/Titan/TitanRouter/PathParameterSupport.swift",
"SKServer/Titan/TitanRouter/TitanParameterizedRoutes.swift",
"SKServer/Titan/TitanRouter/TitanRoutesByMethod.swift",
"SKServer/Titan/TitanRouter/TitanRoutingExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/pvzig/SKCore
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/pvzig/SKWebAPI
[1/6050] Fetching swifter
[788/6344] Fetching swifter, skwebapi
[1332/6632] Fetching swifter, skwebapi, skcore
Fetched https://github.com/pvzig/SKWebAPI from cache (0.25s)
[1922/6338] Fetching swifter, skcore
Fetched https://github.com/pvzig/SKCore from cache (0.65s)
Fetched https://github.com/httpswift/swifter.git from cache (0.67s)
Computing version for https://github.com/pvzig/SKWebAPI
Computed https://github.com/pvzig/SKWebAPI at 4.1.3 (1.24s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.56s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.4.7 (2.21s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.4.7
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
Creating working copy for https://github.com/pvzig/SKWebAPI
Working copy of https://github.com/pvzig/SKWebAPI resolved at 4.1.3
warning: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/49] Emitting module Swifter
[7/51] Emitting module SKCore
[8/54] Compiling SKCore Reaction.swift
[9/54] Compiling SKCore Reply.swift
[10/54] Compiling SKCore Scope.swift
[11/54] Compiling SKCore SlackError.swift
[12/54] Compiling SKCore Team.swift
[13/54] Compiling SKCore TeamIcon.swift
[14/54] Compiling SKCore Topic.swift
[15/54] Compiling SKCore User.swift
[16/54] Compiling SKCore UserGroup.swift
[17/54] Compiling Swifter String+SHA1.swift
[18/54] Compiling Swifter WebSockets.swift
[19/54] Compiling SKCore RTMOptions.swift
[22/54] Compiling SKCore File.swift
[23/54] Compiling SKCore History.swift
[24/54] Compiling SKCore Item.swift
[25/54] Compiling SKCore DoNotDisturbStatus.swift
[26/54] Compiling SKCore Edited.swift
[27/54] Compiling SKCore Event.swift
[28/54] Compiling SKCore Extensions.swift
[29/54] Compiling SKCore Action.swift
[30/54] Compiling SKCore Attachment.swift
[31/54] Compiling SKCore AttachmentField.swift
[32/54] Compiling SKCore Bot.swift
[33/54] Compiling SKCore Channel.swift
[34/54] Compiling SKCore Comment.swift
[35/54] Compiling SKCore CustomProfile.swift
[36/54] Compiling SKCore CustomProfileField.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/Socket+File.swift:24:60: error: generic parameter 'Element' could not be inferred
22 | while writeCounter < readResult {
23 | #if os(Linux)
24 | let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
| `- error: generic parameter 'Element' could not be inferred
25 | #else
26 | let writeResult = write(target, &buffer + writeCounter, readResult - writeCounter)
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/Socket+File.swift:24:60: error: generic parameter 'Element' could not be inferred
22 | while writeCounter < readResult {
23 | #if os(Linux)
24 | let writeResult = send(target, &buffer + writeCounter, readResult - writeCounter, Int32(MSG_NOSIGNAL))
| `- error: generic parameter 'Element' could not be inferred
25 | #else
26 | let writeResult = write(target, &buffer + writeCounter, readResult - writeCounter)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/45] Emitting module Swifter
[3/47] Compiling Swifter String+SHA1.swift
[4/47] Compiling Swifter WebSockets.swift
[5/47] Compiling SKCore RTMOptions.swift
[6/50] Compiling Swifter MimeTypes.swift
[7/50] Compiling Swifter Process.swift
[8/50] Compiling Swifter Scopes.swift
[9/50] Compiling SKCore SlackError.swift
[10/50] Compiling SKCore Team.swift
[11/50] Compiling SKCore TeamIcon.swift
[12/50] Compiling Swifter Errno.swift
[13/50] Compiling Swifter Files.swift
[14/50] Compiling Swifter Socket+File.swift
[15/50] Compiling Swifter Socket+Server.swift
[16/50] Emitting module SKCore
[17/50] Compiling Swifter String+File.swift
[18/50] Compiling Swifter String+Misc.swift
[19/50] Compiling SKCore Topic.swift
[20/50] Compiling SKCore User.swift
[21/50] Compiling SKCore UserGroup.swift
[22/50] Compiling Swifter Socket.swift
[23/50] Compiling Swifter String+BASE64.swift
[24/50] Compiling Swifter HttpParser.swift
[25/50] Compiling Swifter HttpRequest.swift
[26/50] Compiling Swifter HttpResponse.swift
[34/50] Compiling Swifter DemoServer.swift
[35/50] Compiling Swifter HttpRouter.swift
[36/50] Compiling Swifter HttpServer.swift
[37/50] Compiling Swifter HttpServerIO.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/55] Emitting module SKWebAPI
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |
35 | internal init() {}
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | internal init() {}
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 | }
132 |
133 | internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
134 | guard let data = data, let response = response as? HTTPURLResponse else {
135 | throw SlackError.clientNetworkError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[43/55] Compiling SKWebAPI Endpoint.swift
[44/55] Compiling SKWebAPI NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |
35 | internal init() {}
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | internal init() {}
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
131 | }
132 |
133 | internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
134 | guard let data = data, let response = response as? HTTPURLResponse else {
135 | throw SlackError.clientNetworkError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:47:23: error: cannot find 'URLRequest' in scope
45 | return
46 | }
47 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
48 |
49 | session.dataTask(with: request) {(data, response, publicError) in
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:51:84: error: argument type '_' expected to be an instance of a class or class-constrained type
49 | session.dataTask(with: request) {(data, response, publicError) in
50 | do {
51 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
| `- error: argument type '_' expected to be an instance of a class or class-constrained type
52 | } catch let error {
53 | errorClosure(error as? SlackError ?? SlackError.unknownError)
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:63:23: error: cannot find 'URLRequest' in scope
61 | return nil
62 | }
63 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
64 | var data: Data? = nil
65 | var response: URLResponse? = nil
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 | let request = URLRequest(url: url)
64 | var data: Data? = nil
65 | var response: URLResponse? = nil
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | var error: Error? = nil
67 | let semaphore = DispatchSemaphore(value: 0)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:70:24: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
68 | session.dataTask(with: request) { (reqData, reqResponse, reqError) in
69 | data = reqData
70 | response = reqResponse
| `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
71 | error = reqError
72 | if data == nil, let error = error { print(error) }
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:89:23: error: cannot find 'URLRequest' in scope
87 | return
88 | }
89 | var request = URLRequest(url:url)
| `- error: cannot find 'URLRequest' in scope
90 | request.httpMethod = "POST"
91 | let contentType = "application/json"
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:117:23: error: cannot find 'URLRequest' in scope
115 | return
116 | }
117 | var request = URLRequest(url:url)
| `- error: cannot find 'URLRequest' in scope
118 | request.httpMethod = "POST"
119 | let boundaryConstant = randomBoundary()
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:126:84: error: argument type '_' expected to be an instance of a class or class-constrained type
124 | session.dataTask(with: request) {(data, response, publicError) in
125 | do {
126 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
| `- error: argument type '_' expected to be an instance of a class or class-constrained type
127 | } catch let error {
128 | errorClosure(error as? SlackError ?? SlackError.unknownError)
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:134:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |
133 | internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
134 | guard let data = data, let response = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 | throw SlackError.clientNetworkError
136 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:142:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
140 | }
141 |
142 | switch response.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
143 | case 200:
144 | if json["ok"] as? Bool == true {
[45/55] Compiling SKWebAPI WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |
35 | internal init() {}
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
31 |
32 | private let apiUrl = "https://slack.com/api/"
33 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | internal init() {}
BUILD FAILURE 6.1 linux