The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GampKit, reference 0.2.0 (2d4fd0), with Swift 6.1 for Wasm on 28 May 2025 03:21:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/GampKit.git
Reference: 0.2.0
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/brightdigit/GampKit
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 2d4fd07 Version 0.2.0
Cloned https://github.com/brightdigit/GampKit.git
Revision (git rev-parse @):
2d4fd07d18173507d8c48a2927b47a7671328ffe
SUCCESS checkout https://github.com/brightdigit/GampKit.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/GampKit.git
https://github.com/brightdigit/GampKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GampKit",
  "name" : "GampKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GampKit",
      "targets" : [
        "GampKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GampKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GampKitTests",
      "path" : "Tests/GampKitTests",
      "sources" : [
        "Extensions/AnalyticsHitParserMessageBuilder.swift",
        "Extensions/AnalyticsParameterDictionary.swift",
        "Extensions/AnalyticsParameterKey.swift",
        "Extensions/Randomizable.swift",
        "Extensions/Randoms.swift",
        "Extensions/String.swift",
        "Mocks/MockError.swift",
        "Mocks/MockParameterEncoder.swift",
        "Mocks/MockRequest.swift",
        "Mocks/MockRequestBuilder.swift",
        "Mocks/MockSession.swift",
        "Mocks/MockSessionManager.swift",
        "Mocks/MockTrackable.swift",
        "Tests/AnalyticsHitParserMessageTests.swift",
        "Tests/AnalyticsHitTypeTests.swift",
        "Tests/AnalyticsParameterEncoderTests.swift",
        "Tests/AnalyticsRequestBuilderTests.swift",
        "Tests/AnalyticsResultDecoderTests.swift",
        "Tests/AnalyticsSessionManagerTests.swift",
        "Tests/AnalyticsTrackerTests.swift",
        "Tests/AnalyticsURLSessionTests.swift",
        "Tests/AnalyticsURLsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "GampKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GampKit",
      "module_type" : "SwiftTarget",
      "name" : "GampKit",
      "path" : "Sources/GampKit",
      "product_memberships" : [
        "GampKit"
      ],
      "sources" : [
        "Controllers/AnalyticsParameterEncoder.swift",
        "Controllers/AnalyticsRequestBuilder.swift",
        "Controllers/AnalyticsResultDecoder.swift",
        "Controllers/AnalyticsSessionManager.swift",
        "Controllers/AnalyticsTracker.swift",
        "Controllers/AnalyticsURLSession.swift",
        "Extensions/NSException.swift",
        "Extensions/URLRequest.swift",
        "Extensions/URLSession.swift",
        "Extensions/URLSessionDataTask.swift",
        "Models/AnalyticsConfiguration.swift",
        "Models/AnalyticsEvent.swift",
        "Models/AnalyticsException.swift",
        "Models/AnalyticsHitParserMessage.swift",
        "Models/AnalyticsHitParserMessageType.swift",
        "Models/AnalyticsHitParsingResult.swift",
        "Models/AnalyticsHitType.swift",
        "Models/AnalyticsParameterDictionary.swift",
        "Models/AnalyticsParameterKey.swift",
        "Models/AnalyticsResult.swift",
        "Models/AnalyticsTiming.swift",
        "Models/AnalyticsURLs.swift",
        "Models/AnalyticsValidation.swift",
        "Models/StringEncodingError.swift",
        "Protocols/AnalyticsConfigurationProtocol.swift",
        "Protocols/AnalyticsEventProtocol.swift",
        "Protocols/AnalyticsExceptionProtocol.swift",
        "Protocols/AnalyticsParameterEncoderProtocol.swift",
        "Protocols/AnalyticsParameterable.swift",
        "Protocols/AnalyticsRequestBuilderProtocol.swift",
        "Protocols/AnalyticsResultDecoderProtocol.swift",
        "Protocols/AnalyticsSessionManagerProtocol.swift",
        "Protocols/AnalyticsTimingProtocol.swift",
        "Protocols/AnalyticsTrackable.swift",
        "Protocols/AnalyticsTrackerProtocol.swift",
        "Protocols/Request.swift",
        "Protocols/Session.swift",
        "Protocols/URLSessionable.swift",
        "Protocols/URLSessionableDataTask.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/38] Emitting module GampKit
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
[4/42] Compiling GampKit AnalyticsConfiguration.swift
[5/42] Compiling GampKit AnalyticsEvent.swift
[6/42] Compiling GampKit AnalyticsException.swift
[7/42] Compiling GampKit AnalyticsHitParserMessage.swift
[8/42] Compiling GampKit AnalyticsHitParserMessageType.swift
[9/42] Compiling GampKit AnalyticsEventProtocol.swift
[10/42] Compiling GampKit AnalyticsExceptionProtocol.swift
[11/42] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[12/42] Compiling GampKit AnalyticsParameterable.swift
[13/42] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[14/42] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[15/42] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[16/42] Compiling GampKit AnalyticsTimingProtocol.swift
[17/42] Compiling GampKit AnalyticsTrackable.swift
[18/42] Compiling GampKit AnalyticsTrackerProtocol.swift
[19/42] Compiling GampKit AnalyticsURLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[20/42] Compiling GampKit NSException.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[21/42] Compiling GampKit URLRequest.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[22/42] Compiling GampKit URLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[23/42] Compiling GampKit URLSessionDataTask.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[24/42] Compiling GampKit Request.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[25/42] Compiling GampKit Session.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[26/42] Compiling GampKit URLSessionable.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[27/42] Compiling GampKit URLSessionableDataTask.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[28/42] Compiling GampKit AnalyticsHitParsingResult.swift
[29/42] Compiling GampKit AnalyticsHitType.swift
[30/42] Compiling GampKit AnalyticsParameterDictionary.swift
[31/42] Compiling GampKit AnalyticsParameterKey.swift
[32/42] Compiling GampKit AnalyticsResult.swift
[33/42] Compiling GampKit AnalyticsParameterEncoder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[34/42] Compiling GampKit AnalyticsRequestBuilder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[35/42] Compiling GampKit AnalyticsResultDecoder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[36/42] Compiling GampKit AnalyticsSessionManager.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[37/42] Compiling GampKit AnalyticsTracker.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[38/42] Compiling GampKit AnalyticsTiming.swift
[39/42] Compiling GampKit AnalyticsURLs.swift
[40/42] Compiling GampKit AnalyticsValidation.swift
[41/42] Compiling GampKit StringEncodingError.swift
[42/42] Compiling GampKit AnalyticsConfigurationProtocol.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/37] Emitting module GampKit
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
[3/37] Compiling GampKit AnalyticsURLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[4/37] Compiling GampKit NSException.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[5/37] Compiling GampKit URLRequest.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[6/37] Compiling GampKit URLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[7/37] Compiling GampKit URLSessionDataTask.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[8/41] Compiling GampKit Request.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[9/41] Compiling GampKit Session.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[10/41] Compiling GampKit URLSessionable.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[11/41] Compiling GampKit URLSessionableDataTask.swift
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
[12/41] Compiling GampKit AnalyticsParameterEncoder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[13/41] Compiling GampKit AnalyticsRequestBuilder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[14/41] Compiling GampKit AnalyticsResultDecoder.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[15/41] Compiling GampKit AnalyticsSessionManager.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[16/41] Compiling GampKit AnalyticsTracker.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
[17/41] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[18/41] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[19/41] Compiling GampKit AnalyticsTimingProtocol.swift
[20/41] Compiling GampKit AnalyticsTrackable.swift
[21/41] Compiling GampKit AnalyticsTrackerProtocol.swift
[22/41] Compiling GampKit AnalyticsEventProtocol.swift
[23/41] Compiling GampKit AnalyticsExceptionProtocol.swift
[24/41] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[25/41] Compiling GampKit AnalyticsParameterable.swift
[26/41] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[27/41] Compiling GampKit AnalyticsTiming.swift
[28/41] Compiling GampKit AnalyticsURLs.swift
[29/41] Compiling GampKit AnalyticsValidation.swift
[30/41] Compiling GampKit StringEncodingError.swift
[31/41] Compiling GampKit AnalyticsConfigurationProtocol.swift
[32/41] Compiling GampKit AnalyticsHitParsingResult.swift
[33/41] Compiling GampKit AnalyticsHitType.swift
[34/41] Compiling GampKit AnalyticsParameterDictionary.swift
[35/41] Compiling GampKit AnalyticsParameterKey.swift
[36/41] Compiling GampKit AnalyticsResult.swift
[37/41] Compiling GampKit AnalyticsConfiguration.swift
[38/41] Compiling GampKit AnalyticsEvent.swift
[39/41] Compiling GampKit AnalyticsException.swift
[40/41] Compiling GampKit AnalyticsHitParserMessage.swift
[41/41] Compiling GampKit AnalyticsHitParserMessageType.swift
BUILD FAILURE 6.1 wasm