The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GampKit, reference main (ea4280), with Swift 6.3 for Wasm on 12 Apr 2026 16:21:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/brightdigit/GampKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ea42804 Update README.md
Cloned https://github.com/brightdigit/GampKit.git
Revision (git rev-parse @):
ea428042c8fb8f125381b95dc3ec5769d6fed28b
SUCCESS checkout https://github.com/brightdigit/GampKit.git at main
========================================
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-1":/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
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/realm/SwiftLint
[1/509] Fetching komondor
[37/1895] Fetching komondor, rocket
Fetched https://github.com/shibapm/Komondor from cache (0.52s)
Fetching https://github.com/brightdigit/swift-test-codecov
Fetched https://github.com/shibapm/Rocket from cache (0.53s)
Fetching https://github.com/eneko/SourceDocs
[1/56067] Fetching swiftformat
[2244/216873] Fetching swiftformat, swiftlint
[5461/217203] Fetching swiftformat, swiftlint, swift-test-codecov
[5508/219803] Fetching swiftformat, swiftlint, swift-test-codecov, sourcedocs
Fetched https://github.com/eneko/SourceDocs from cache (0.64s)
Fetched https://github.com/brightdigit/swift-test-codecov from cache (0.65s)
[15182/216873] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat from cache (40.86s)
Fetched https://github.com/realm/SwiftLint from cache (46.30s)
Computing version for https://github.com/eneko/SourceDocs
Computed https://github.com/eneko/SourceDocs at 1.2.1 (49.06s)
Fetching https://github.com/apple/swift-package-manager
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/eneko/MarkdownGenerator.git
Fetching https://github.com/eneko/ProcessRunner.git
[1/294] Fetching processrunner
[25/1068] Fetching processrunner, markdowngenerator
[1069/2510] Fetching processrunner, markdowngenerator, rainbow
[2511/20033] Fetching processrunner, markdowngenerator, rainbow, swift-argument-parser
[2687/36233] Fetching processrunner, markdowngenerator, rainbow, swift-argument-parser, sourcekitten
Fetched https://github.com/eneko/ProcessRunner.git from cache (3.09s)
[1/177117] Fetching swift-package-manager
Fetched https://github.com/eneko/MarkdownGenerator.git from cache (3.99s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.00s)
Fetched https://github.com/onevcat/Rainbow from cache (14.44s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (14.45s)
Fetched https://github.com/apple/swift-package-manager from cache (14.73s)
Computing version for https://github.com/eneko/ProcessRunner.git
Computed https://github.com/eneko/ProcessRunner.git at 1.1.0 (17.04s)
Computing version for https://github.com/apple/swift-package-manager
Computed https://github.com/apple/swift-package-manager at 0.4.0 (3.43s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29496] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.51s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.49s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (0.49s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
[1/116] Fetching logger
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/kareman/SwiftShell
Fetched https://github.com/shibapm/Logger from cache (0.19s)
[1/11551] Fetching yams
[6932/16442] Fetching yams, swiftshell
[7457/17022] Fetching yams, swiftshell, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (2.20s)
Fetched https://github.com/kareman/SwiftShell from cache (2.21s)
Fetched https://github.com/jpsim/Yams from cache (3.10s)
Computing version for https://github.com/eneko/MarkdownGenerator.git
Computed https://github.com/eneko/MarkdownGenerator.git at 0.5.0 (6.08s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.71s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.79s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.1 (2.52s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.33s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (2.29s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (2.92s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (3.66s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.98s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.56s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.62s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/eneko/ProcessRunner.git at 1.1.0 (0.00s)
Computed https://github.com/apple/swift-package-manager at 0.4.0 (0.00s)
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.00s)
Computed https://github.com/shibapm/Rocket at 1.2.1 (0.54s)
Computed https://github.com/eneko/MarkdownGenerator.git at 0.5.0 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.00s)
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.00s)
Computed https://github.com/shibapm/Logger at 0.2.3 (0.00s)
Computed https://github.com/shibapm/Komondor at 1.1.4 (0.00s)
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.00s)
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.00s)
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.53s)
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.00s)
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.00s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.44s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.94s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.44.0 (0.83s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[930/14270] Fetching swiftytexttable, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.43s)
[1068/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.10s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (4.59s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.80s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.61.0 (0.77s)
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.47s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.1
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/eneko/SourceDocs
Working copy of https://github.com/eneko/SourceDocs resolved at 1.2.1
Creating working copy for https://github.com/eneko/MarkdownGenerator.git
Working copy of https://github.com/eneko/MarkdownGenerator.git resolved at 0.5.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
Creating working copy for https://github.com/brightdigit/swift-test-codecov
Working copy of https://github.com/brightdigit/swift-test-codecov resolved at 1.0.0
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.2.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.4
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/apple/swift-package-manager
Working copy of https://github.com/apple/swift-package-manager resolved at 0.4.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/eneko/ProcessRunner.git
Working copy of https://github.com/eneko/ProcessRunner.git resolved at 1.1.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.61.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
warning: 'komondor': Conflicting identity for rocket: dependency 'github.com/f-meloni/rocket' and dependency 'github.com/shibapm/rocket' both point to the same package identity 'rocket'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/shibapm/komondor->github.com/f-meloni/rocket (B) /host/spi-builder-workspace->github.com/shibapm/rocket. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/39] 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>
[5/43] Compiling GampKit AnalyticsHitParsingResult.swift
[6/43] Compiling GampKit AnalyticsHitType.swift
[7/43] Compiling GampKit AnalyticsParameterDictionary.swift
[8/43] Compiling GampKit AnalyticsParameterKey.swift
[9/43] Compiling GampKit AnalyticsResult.swift
[10/43] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[11/43] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[12/43] Compiling GampKit AnalyticsTimingProtocol.swift
[13/43] Compiling GampKit AnalyticsTrackable.swift
[14/43] Compiling GampKit AnalyticsTrackerProtocol.swift
[15/43] Compiling GampKit AnalyticsConfiguration.swift
[16/43] Compiling GampKit AnalyticsEvent.swift
[17/43] Compiling GampKit AnalyticsException.swift
[18/43] Compiling GampKit AnalyticsHitParserMessage.swift
[19/43] Compiling GampKit AnalyticsHitParserMessageType.swift
[20/43] 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>
[21/43] 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>
[22/43] 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>
[23/43] 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>
[24/43] 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>
[25/43] 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,
[26/43] 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,
[27/43] 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,
[28/43] 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,
[29/43] 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,
[30/43] Compiling GampKit AnalyticsEventProtocol.swift
[31/43] Compiling GampKit AnalyticsExceptionProtocol.swift
[32/43] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[33/43] Compiling GampKit AnalyticsParameterable.swift
[34/43] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[35/43] 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
[36/43] 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
[37/43] 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
[38/43] 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
[39/43] Compiling GampKit AnalyticsTiming.swift
[40/43] Compiling GampKit AnalyticsURLs.swift
[41/43] Compiling GampKit AnalyticsValidation.swift
[42/43] Compiling GampKit StringEncodingError.swift
[43/43] Compiling GampKit AnalyticsConfigurationProtocol.swift
BUILD FAILURE 6.3 wasm