The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GampKit, reference 0.2.0 (2d4fd0), with Swift 6.3 for Wasm on 12 Apr 2026 16:18:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path:  $PWD
https://github.com/brightdigit/GampKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
7 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/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,
[5/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,
[6/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,
[7/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,
[8/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,
[9/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
[10/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
[11/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
[12/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
[13/42] Compiling GampKit AnalyticsHitParsingResult.swift
[14/42] Compiling GampKit AnalyticsHitType.swift
[15/42] Compiling GampKit AnalyticsParameterDictionary.swift
[16/42] Compiling GampKit AnalyticsParameterKey.swift
[17/42] Compiling GampKit AnalyticsResult.swift
[18/42] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[19/42] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[20/42] Compiling GampKit AnalyticsTimingProtocol.swift
[21/42] Compiling GampKit AnalyticsTrackable.swift
[22/42] Compiling GampKit AnalyticsTrackerProtocol.swift
[23/42] Compiling GampKit AnalyticsEventProtocol.swift
[24/42] Compiling GampKit AnalyticsExceptionProtocol.swift
[25/42] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[26/42] Compiling GampKit AnalyticsParameterable.swift
[27/42] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[28/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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[29/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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[30/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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[31/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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[32/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 [#NominalTypes]
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/42] Compiling GampKit AnalyticsConfiguration.swift
[34/42] Compiling GampKit AnalyticsEvent.swift
[35/42] Compiling GampKit AnalyticsException.swift
[36/42] Compiling GampKit AnalyticsHitParserMessage.swift
[37/42] Compiling GampKit AnalyticsHitParserMessageType.swift
[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
BUILD FAILURE 6.3 wasm