The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SKRTMAPI, reference master (eb7c2e), with Swift 6.1 for Linux on 25 Apr 2025 21:37:43 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKRTMAPI.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/SKRTMAPI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eb7c2eb Update README.md
Cloned https://github.com/pvzig/SKRTMAPI.git
Revision (git rev-parse @):
eb7c2ebd2f7fbd7a7bb6fd719fd9f9eac061fcb0
SUCCESS checkout https://github.com/pvzig/SKRTMAPI.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pvzig/SKRTMAPI.git
https://github.com/pvzig/SKRTMAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "skcore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvzig/SKCore"
    },
    {
      "identity" : "skwebapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvzig/SKWebAPI"
    },
    {
      "identity" : "engine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/engine"
    }
  ],
  "manifest_display_name" : "SKRTMAPI",
  "name" : "SKRTMAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKRTMAPI",
      "targets" : [
        "SKRTMAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKRTMAPI",
      "module_type" : "SwiftTarget",
      "name" : "SKRTMAPI",
      "path" : "Sources/SKRTMAPI",
      "product_dependencies" : [
        "SKCore",
        "SKWebAPI",
        "WebSockets",
        "HTTP",
        "URI"
      ],
      "product_memberships" : [
        "SKRTMAPI"
      ],
      "sources" : [
        "Conformers/StarscreamRTM.swift",
        "Conformers/VaporEngineRTM.swift",
        "SKRTMAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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
Fetching https://github.com/pvzig/SKWebAPI
Fetching https://github.com/vapor/engine
Fetching https://github.com/pvzig/SKCore
[1/288] Fetching skcore
[289/582] Fetching skcore, skwebapi
[583/26049] Fetching skcore, skwebapi, engine
Fetched https://github.com/pvzig/SKWebAPI from cache (0.24s)
[1307/25755] Fetching skcore, engine
Fetched https://github.com/pvzig/SKCore from cache (0.24s)
[1274/25467] Fetching engine
Fetched https://github.com/vapor/engine from cache (1.26s)
Computing version for https://github.com/vapor/engine
Computed https://github.com/vapor/engine at 2.2.5 (1.93s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
[1/3312] Fetching sockets
[167/6098] Fetching sockets, crypto
[2572/6246] Fetching sockets, crypto, random
[4461/7390] Fetching sockets, crypto, random, tls
[6405/27533] Fetching sockets, crypto, random, tls, core
Fetched https://github.com/vapor/sockets.git from cache (0.28s)
[8081/24221] Fetching crypto, random, tls, core
Fetched https://github.com/vapor/random.git from cache (0.29s)
[8966/24073] Fetching crypto, tls, core
Fetched https://github.com/vapor/crypto.git from cache (0.81s)
Fetched https://github.com/vapor/tls.git from cache (0.81s)
Fetched https://github.com/vapor/core.git from cache (0.83s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.42s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.60s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.24s)
Fetched https://github.com/vapor/debugging.git from cache (0.24s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.81s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.65s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.67s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.19s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.93s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.62s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.60s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.61s)
Computing version for https://github.com/pvzig/SKWebAPI
Computed https://github.com/pvzig/SKWebAPI at 4.1.3 (0.77s)
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/engine
Working copy of https://github.com/vapor/engine resolved at 2.2.5
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/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/pvzig/SKWebAPI
Working copy of https://github.com/pvzig/SKWebAPI resolved at 4.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
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.
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/17] Write sources
[15/17] Compiling CHTTP http_parser.c
[16/17] Write swift-version-24593BA9C3E375BF.txt
[18/64] Emitting module libc
[19/64] Emitting module SKCore
[20/67] Emitting module Debugging
[21/67] Compiling Debugging Debuggable.swift
[22/68] Compiling SKCore Topic.swift
[23/68] Compiling SKCore User.swift
[24/68] Compiling SKCore UserGroup.swift
[25/68] Compiling Bits Aliases.swift
[26/68] Compiling Bits Base64Encoder.swift
[27/68] Compiling Bits Byte+Alphabet.swift
[28/68] Compiling Bits Byte+Random.swift
[29/68] Compiling Bits Operators.swift
[30/68] Compiling Bits String+BytesConvertible.swift
[35/70] Compiling Bits UnsignedInteger+Shifting.swift
[36/70] Compiling SKCore Reply.swift
[37/70] Compiling SKCore Scope.swift
[38/70] Compiling SKCore SlackError.swift
[39/70] Compiling SKCore Team.swift
[40/70] Compiling SKCore TeamIcon.swift
[41/70] Compiling Bits UnsignedInteger+BytesConvertible.swift
[43/70] Compiling Bits Byte+ControlCharacters.swift
[44/70] Compiling Bits Byte+Convenience.swift
[45/70] Compiling Bits Byte+PatternMatching.swift
[46/70] Emitting module Bits
[48/70] Compiling Bits Byte+UTF8Numbers.swift
[49/70] Compiling Bits ByteSequence+Conversions.swift
[50/70] Compiling libc libc.swift
[52/71] Compiling Bits Bytes+Base64.swift
[53/71] Compiling Bits Bytes+Hex.swift
[54/71] Compiling Bits Data+BytesConvertible.swift
[56/71] Compiling Bits Bytes+Percent.swift
[57/71] Compiling Bits BytesConvertible.swift
[62/71] Compiling Bits HexEncoder.swift
[74/99] Compiling Core Result.swift
[75/99] Compiling Core Semaphore.swift
[76/99] Compiling Core Sequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/99] 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
[78/99] Compiling Core Extendable.swift
[79/99] Compiling Core FileProtocol.swift
[80/99] Compiling Core Int+Hex.swift
[81/101] Emitting module Core
[82/101] Compiling Core Collection+Safe.swift
[83/101] Compiling Core DataFile.swift
[84/101] Compiling Core Dispatch.swift
[85/101] Compiling Core DispatchTime+Utilities.swift
[86/101] Compiling Core EmptyInitializable.swift
[87/101] Compiling Core Exports.swift
[88/101] Compiling Core Lock.swift
[89/101] Compiling Core Portal.swift
[90/101] Compiling Core RFC1123.swift
[91/101] Compiling Core StaticDataBuffer.swift
[92/101] Compiling Core String+CaseInsensitiveCompare.swift
[93/101] Compiling Core String+Polymorphic.swift
[94/101] Compiling Core Array.swift
[95/101] Compiling Core Bits.swift
[96/101] Compiling Core Cache.swift
[97/101] Compiling Core String.swift
[98/101] Compiling Core WorkingDirectory.swift
[99/102] Compiling SKWebAPI Endpoint.swift
[100/102] 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() {}
[101/102] 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 {
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
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
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.
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/48] Compiling libc libc.swift
[3/48] Emitting module libc
[4/48] Emitting module Debugging
[5/49] Compiling SKCore Extensions.swift
[6/49] Compiling SKCore Message.swift
[7/51] Emitting module Bits
[9/51] Compiling SKCore OAuthConfig.swift
[10/51] Compiling SKCore RTMOptions.swift
[11/51] Compiling SKCore SlackError.swift
[12/51] Compiling SKCore Team.swift
[13/51] Compiling Debugging Debuggable.swift
[14/52] Compiling SKCore CustomProfile.swift
[15/52] Compiling SKCore CustomProfileField.swift
[16/52] Compiling SKCore DoNotDisturbStatus.swift
[17/52] Compiling SKCore Edited.swift
[18/52] Compiling SKCore Event.swift
[19/52] Compiling SKCore Bot.swift
[20/52] Compiling SKCore Channel.swift
[21/52] Compiling SKCore Comment.swift
[22/52] Emitting module SKCore
[27/55] Compiling Bits UnsignedInteger+BytesConvertible.swift
[28/55] Compiling Bits UnsignedInteger+Shifting.swift
[30/55] Compiling SKCore Reply.swift
[31/55] Compiling SKCore Scope.swift
[35/55] Compiling SKCore Action.swift
[36/55] Compiling SKCore Attachment.swift
[37/55] Compiling SKCore AttachmentField.swift
[47/78] Compiling Core Exports.swift
[48/78] Compiling Core Extendable.swift
[49/78] Compiling Core Collection+Safe.swift
[50/78] Compiling Core FileProtocol.swift
[51/78] Compiling Core DataFile.swift
[52/78] Compiling Core Int+Hex.swift
[53/78] Compiling Core Dispatch.swift
[54/78] Compiling SKCore File.swift
[55/78] Compiling SKCore History.swift
[56/78] Compiling SKCore Item.swift
[57/80] Compiling SKCore Topic.swift
[58/80] Compiling SKCore User.swift
[59/80] Compiling SKCore UserGroup.swift
[61/81] Compiling Core Lock.swift
[62/81] Compiling Core Portal.swift
[63/81] Compiling Core RFC1123.swift
[64/81] Emitting module Core
[68/81] Compiling Core DispatchTime+Utilities.swift
[69/81] Compiling Core EmptyInitializable.swift
[71/81] Compiling Core String.swift
[72/81] Compiling Core WorkingDirectory.swift
[73/81] Compiling Core Array.swift
[74/81] Compiling Core Bits.swift
[75/81] Compiling Core Cache.swift
[76/81] Compiling Core Result.swift
[77/81] Compiling Core Semaphore.swift
[78/81] Compiling Core Sequence.swift
[79/81] Compiling Core StaticDataBuffer.swift
[80/81] Compiling Core String+CaseInsensitiveCompare.swift
[81/81] Compiling Core String+Polymorphic.swift
[83/103] Compiling Random Exports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/103] 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
[85/103] Compiling Transport ServerStream.swift
[86/104] Compiling Random Array+Random.swift
[87/104] Emitting module Random
[88/104] Compiling Random EmptyInitializable.swift
[89/104] Compiling Transport StreamError.swift
[90/104] Compiling Transport Stream.swift
[91/104] Compiling Transport Exports.swift
[92/104] Compiling Transport ClientStream.swift
[93/104] Compiling Transport InternetStream.swift
[94/104] Compiling Transport Port.swift
[95/104] Emitting module Transport
[96/104] Compiling Random URandom.swift
[97/104] Compiling Random RandomProtocol.swift
[98/104] Compiling Transport FoundationStream.swift
[99/104] Compiling Transport ReadableStream.swift
[100/104] Compiling Random OSRandom.swift
[101/105] Compiling Transport WriteableStream.swift
[104/106] Compiling SKWebAPI Endpoint.swift
[105/106] 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 {
[106/106] 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