The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GampKit, reference main (ea4280), with Swift 6.1 for Wasm on 28 May 2025 03:25:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/GampKit.git
Reference: 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.1
Building package at path:  $PWD
https://github.com/brightdigit/GampKit.git
https://github.com/brightdigit/GampKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "komondor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/Komondor"
    },
    {
      "identity" : "sourcedocs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/eneko/SourceDocs"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.47.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    },
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.43.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    },
    {
      "identity" : "rocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/Rocket"
    },
    {
      "identity" : "swift-test-codecov",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/brightdigit/swift-test-codecov"
    }
  ],
  "manifest_display_name" : "GampKit",
  "name" : "GampKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GampKit",
      "targets" : [
        "GampKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GampKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GampKitTests",
      "path" : "Tests/GampKitTests",
      "sources" : [
        "Extensions/AnalyticsHitParserMessageBuilder.swift",
        "Extensions/AnalyticsParameterDictionary.swift",
        "Extensions/AnalyticsParameterKey.swift",
        "Extensions/Randomizable.swift",
        "Extensions/Randoms.swift",
        "Extensions/String.swift",
        "Mocks/MockError.swift",
        "Mocks/MockParameterEncoder.swift",
        "Mocks/MockRequest.swift",
        "Mocks/MockRequestBuilder.swift",
        "Mocks/MockSession.swift",
        "Mocks/MockSessionManager.swift",
        "Mocks/MockTrackable.swift",
        "Tests/AnalyticsHitParserMessageTests.swift",
        "Tests/AnalyticsHitTypeTests.swift",
        "Tests/AnalyticsParameterEncoderTests.swift",
        "Tests/AnalyticsRequestBuilderTests.swift",
        "Tests/AnalyticsResultDecoderTests.swift",
        "Tests/AnalyticsSessionManagerTests.swift",
        "Tests/AnalyticsTrackerTests.swift",
        "Tests/AnalyticsURLSessionTests.swift",
        "Tests/AnalyticsURLsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "GampKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GampKit",
      "module_type" : "SwiftTarget",
      "name" : "GampKit",
      "path" : "Sources/GampKit",
      "product_memberships" : [
        "GampKit"
      ],
      "sources" : [
        "Controllers/AnalyticsParameterEncoder.swift",
        "Controllers/AnalyticsRequestBuilder.swift",
        "Controllers/AnalyticsResultDecoder.swift",
        "Controllers/AnalyticsSessionManager.swift",
        "Controllers/AnalyticsTracker.swift",
        "Controllers/AnalyticsURLSession.swift",
        "Extensions/NSException.swift",
        "Extensions/URLRequest.swift",
        "Extensions/URLSession.swift",
        "Extensions/URLSessionDataTask.swift",
        "Models/AnalyticsConfiguration.swift",
        "Models/AnalyticsEvent.swift",
        "Models/AnalyticsException.swift",
        "Models/AnalyticsHitParserMessage.swift",
        "Models/AnalyticsHitParserMessageType.swift",
        "Models/AnalyticsHitParsingResult.swift",
        "Models/AnalyticsHitType.swift",
        "Models/AnalyticsParameterDictionary.swift",
        "Models/AnalyticsParameterKey.swift",
        "Models/AnalyticsResult.swift",
        "Models/AnalyticsTiming.swift",
        "Models/AnalyticsURLs.swift",
        "Models/AnalyticsValidation.swift",
        "Models/StringEncodingError.swift",
        "Protocols/AnalyticsConfigurationProtocol.swift",
        "Protocols/AnalyticsEventProtocol.swift",
        "Protocols/AnalyticsExceptionProtocol.swift",
        "Protocols/AnalyticsParameterEncoderProtocol.swift",
        "Protocols/AnalyticsParameterable.swift",
        "Protocols/AnalyticsRequestBuilderProtocol.swift",
        "Protocols/AnalyticsResultDecoderProtocol.swift",
        "Protocols/AnalyticsSessionManagerProtocol.swift",
        "Protocols/AnalyticsTimingProtocol.swift",
        "Protocols/AnalyticsTrackable.swift",
        "Protocols/AnalyticsTrackerProtocol.swift",
        "Protocols/Request.swift",
        "Protocols/Session.swift",
        "Protocols/URLSessionable.swift",
        "Protocols/URLSessionableDataTask.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/brightdigit/swift-test-codecov
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/realm/SwiftLint
[1/330] Fetching swift-test-codecov
[331/1716] Fetching swift-test-codecov, rocket
[983/2225] Fetching swift-test-codecov, rocket, komondor
Fetching https://github.com/eneko/SourceDocs
[2226/50407] Fetching swift-test-codecov, rocket, komondor, swiftformat
[3672/200790] Fetching swift-test-codecov, rocket, komondor, swiftformat, swiftlint
[6621/203390] Fetching swift-test-codecov, rocket, komondor, swiftformat, swiftlint, sourcedocs
Fetched https://github.com/eneko/SourceDocs from cache (1.09s)
[17089/200790] Fetching swift-test-codecov, rocket, komondor, swiftformat, swiftlint
Fetched https://github.com/brightdigit/swift-test-codecov from cache (72.90s)
Fetched https://github.com/shibapm/Rocket from cache (72.91s)
Fetched https://github.com/shibapm/Komondor from cache (72.91s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (74.03s)
Fetched https://github.com/realm/SwiftLint from cache (75.10s)
Computing version for https://github.com/eneko/SourceDocs
Computed https://github.com/eneko/SourceDocs at 1.2.1 (76.25s)
Fetching https://github.com/eneko/ProcessRunner.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/eneko/MarkdownGenerator.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/1196] Fetching rainbow
[229/1970] Fetching rainbow, markdowngenerator
[1876/18082] Fetching rainbow, markdowngenerator, sourcekitten
[1877/18376] Fetching rainbow, markdowngenerator, sourcekitten, processrunner
Fetched https://github.com/eneko/MarkdownGenerator.git from cache (0.51s)
[1974/17602] Fetching rainbow, sourcekitten, processrunner
Fetched https://github.com/onevcat/Rainbow from cache (0.56s)
[1100/16406] Fetching sourcekitten, processrunner
Fetching https://github.com/apple/swift-package-manager
[1907/31757] Fetching sourcekitten, processrunner, swift-argument-parser
[31758/186187] Fetching sourcekitten, processrunner, swift-argument-parser, swift-package-manager
Fetched https://github.com/eneko/ProcessRunner.git from cache (3.26s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.28s)
[37733/170542] Fetching sourcekitten, swift-package-manager
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.08s)
[138309/154430] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (19.67s)
Computing version for https://github.com/eneko/ProcessRunner.git
Computed https://github.com/eneko/ProcessRunner.git at 1.1.0 (21.50s)
Computing version for https://github.com/apple/swift-package-manager
Computed https://github.com/apple/swift-package-manager at 0.4.0 (4.23s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28989] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.86s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (3.79s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (1.28s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
Fetched https://github.com/shibapm/Logger from cache (0.39s)
[1/4863] Fetching swiftshell
[731/5443] Fetching swiftshell, packageconfig
[1395/16100] Fetching swiftshell, packageconfig, yams
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.53s)
[1634/15520] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell from cache (0.93s)
[5436/10657] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (2.45s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (3.56s)
Computing version for https://github.com/eneko/MarkdownGenerator.git
Computed https://github.com/eneko/MarkdownGenerator.git at 0.5.0 (4.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (1.60s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (1.20s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.13s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.4 (1.10s)
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.38s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.54s)
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 (2.76s)
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 (2.24s)
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/jpsim/SourceKitten.git at 0.31.0 (0.00s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.53s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (1.57s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (1.17s)
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.00s)
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.00s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.44.0 (1.29s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/929] Fetching swiftytexttable
[57/13870] Fetching swiftytexttable, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.50s)
[1942/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.49s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.56s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (1.19s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (1.16s)
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.01s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
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/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.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/eneko/SourceDocs
Working copy of https://github.com/eneko/SourceDocs resolved at 1.2.1
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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
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/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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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/eneko/MarkdownGenerator.git
Working copy of https://github.com/eneko/MarkdownGenerator.git resolved at 0.5.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/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. 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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
[5/43] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[6/43] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[7/43] Compiling GampKit AnalyticsTimingProtocol.swift
[8/43] Compiling GampKit AnalyticsTrackable.swift
[9/43] Compiling GampKit AnalyticsTrackerProtocol.swift
[10/43] Compiling GampKit AnalyticsEventProtocol.swift
[11/43] Compiling GampKit AnalyticsExceptionProtocol.swift
[12/43] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[13/43] Compiling GampKit AnalyticsParameterable.swift
[14/43] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[15/43] Compiling GampKit AnalyticsHitParsingResult.swift
[16/43] Compiling GampKit AnalyticsHitType.swift
[17/43] Compiling GampKit AnalyticsParameterDictionary.swift
[18/43] Compiling GampKit AnalyticsParameterKey.swift
[19/43] Compiling GampKit AnalyticsResult.swift
[20/43] Compiling GampKit AnalyticsTiming.swift
[21/43] Compiling GampKit AnalyticsURLs.swift
[22/43] Compiling GampKit AnalyticsValidation.swift
[23/43] Compiling GampKit StringEncodingError.swift
[24/43] Compiling GampKit AnalyticsConfigurationProtocol.swift
[25/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
[26/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
[27/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
[28/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
[29/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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[30/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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[31/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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[32/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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[33/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
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[34/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,
[35/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,
[36/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,
[37/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,
[38/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,
[39/43] Compiling GampKit AnalyticsConfiguration.swift
[40/43] Compiling GampKit AnalyticsEvent.swift
[41/43] Compiling GampKit AnalyticsException.swift
[42/43] Compiling GampKit AnalyticsHitParserMessage.swift
[43/43] Compiling GampKit AnalyticsHitParserMessageType.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'komondor': 'komondor' dependency on 'https://github.com/f-meloni/Rocket' conflicts with dependency on 'https://github.com/shibapm/Rocket' which has the same identity 'rocket'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/38] Compiling GampKit AnalyticsURLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[4/38] Compiling GampKit NSException.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[5/38] Compiling GampKit URLRequest.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[6/38] Compiling GampKit URLSession.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[7/38] Compiling GampKit URLSessionDataTask.swift
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:48:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |     self.cachePolicy = cachePolicy ?? .useProtocolCachePolicy
47 |     self.timeoutInterval = timeoutInterval ?? 5.0
48 |     self.session = session ?? URLSession.shared
   |                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
49 |     self.resultDecoder = resultDecoder ?? AnalyticsResultDecoder()
50 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:56:19: error: cannot find 'URLRequest' in scope
54 |    */
55 |   public func request() -> URLRequest {
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
   |                   `- error: cannot find 'URLRequest' in scope
57 |     request.httpMethod = "POST"
58 |     return request
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:7:38: error: cannot find type 'URLRequest' in scope
 5 |
 6 | extension URLSession: URLSessionable {
 7 |   public func dataTask(with request: URLRequest,
   |                                      `- error: cannot find type 'URLRequest' in scope
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
 9 |                        _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask {
[8/42] Compiling GampKit AnalyticsResultDecoderProtocol.swift
[9/42] Compiling GampKit AnalyticsSessionManagerProtocol.swift
[10/42] Compiling GampKit AnalyticsTimingProtocol.swift
[11/42] Compiling GampKit AnalyticsTrackable.swift
[12/42] Compiling GampKit AnalyticsTrackerProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/42] Emitting module GampKit
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:8:34: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct AnalyticsURLSession: Session {
 8 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   /**
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:18:27: error: cannot find type 'URLRequest' in scope
16 |    Cache policy for URLRequest.
17 |    */
18 |   public let cachePolicy: URLRequest.CachePolicy
   |                           `- error: cannot find type 'URLRequest' in scope
19 |
20 |   /**
/host/spi-builder-workspace/Sources/GampKit/Protocols/URLSessionable.swift:15:31: error: cannot find type 'URLRequest' in scope
13 |    - Returns: The URLSession Task.
14 |    */
15 |   func dataTask(with request: URLRequest,
   |                               `- error: cannot find type 'URLRequest' in scope
16 |                 decodeWith decoder: AnalyticsResultDecoderProtocol,
17 |                 _ completion: @escaping (AnalyticsResult) -> Void) -> URLSessionableDataTask
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:41:28: error: cannot find type 'URLRequest' in scope
39 |    */
40 |   public init(url: URL? = nil,
41 |               cachePolicy: URLRequest.CachePolicy? = nil,
   |                            `- error: cannot find type 'URLRequest' in scope
42 |               session: URLSessionable? = nil,
43 |               timeoutInterval: TimeInterval? = nil,
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:55:28: error: cannot find type 'URLRequest' in scope
53 |    Creates the URLRequest.
54 |    */
55 |   public func request() -> URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
56 |     var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
57 |     request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:67:30: error: cannot find type 'URLRequest' in scope
65 |      - completion: Callback to call when the request is finished.
66 |    */
67 |   public func begin(request: URLRequest, _ completion: @escaping ((AnalyticsResult) -> Void)) {
   |                              `- error: cannot find type 'URLRequest' in scope
68 |     session.dataTask(with: request, decodeWith: resultDecoder, completion).resume()
69 |   }
/host/spi-builder-workspace/Sources/GampKit/Controllers/AnalyticsURLSession.swift:7:15: error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
 5 | #endif
 6 |
 7 | public struct AnalyticsURLSession: Session {
   |               |- error: type 'AnalyticsURLSession' does not conform to protocol 'Session'
   |               `- note: add stubs for conformance
 8 |   public typealias RequestType = URLRequest
 9 |
/host/spi-builder-workspace/Sources/GampKit/Protocols/Session.swift:10:18: note: protocol requires nested type 'RequestType'
 8 |  */
 9 | public protocol Session {
10 |   associatedtype RequestType: Request
   |                  `- note: protocol requires nested type 'RequestType'
11 |   /**
12 |    Creates the URLRequest.
/host/spi-builder-workspace/Sources/GampKit/Extensions/NSException.swift:4:13: error: cannot find type 'NSException' in scope
 2 |
 3 | #if !os(Linux)
 4 |   extension NSException: AnalyticsExceptionProtocol, Error {
   |             `- error: cannot find type 'NSException' in scope
 5 |     public var error: Error {
 6 |       self
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: Request {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public var body: Data? {
 9 |     get {
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSession.swift:6:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLSession: URLSessionable {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 7 |   public func dataTask(with request: URLRequest,
 8 |                        decodeWith decoder: AnalyticsResultDecoderProtocol,
/host/spi-builder-workspace/Sources/GampKit/Extensions/URLSessionDataTask.swift:6:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
4 | #endif
5 |
6 | extension URLSessionDataTask: URLSessionableDataTask {}
  | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
7 |
[14/42] Compiling GampKit AnalyticsEventProtocol.swift
[15/42] Compiling GampKit AnalyticsExceptionProtocol.swift
[16/42] Compiling GampKit AnalyticsParameterEncoderProtocol.swift
[17/42] Compiling GampKit AnalyticsParameterable.swift
[18/42] Compiling GampKit AnalyticsRequestBuilderProtocol.swift
[19/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
[20/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
[21/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
[22/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
[23/42] Compiling GampKit AnalyticsHitParsingResult.swift
[24/42] Compiling GampKit AnalyticsHitType.swift
[25/42] Compiling GampKit AnalyticsParameterDictionary.swift
[26/42] Compiling GampKit AnalyticsParameterKey.swift
[27/42] Compiling GampKit AnalyticsResult.swift
[28/42] Compiling GampKit AnalyticsTiming.swift
[29/42] Compiling GampKit AnalyticsURLs.swift
[30/42] Compiling GampKit AnalyticsValidation.swift
[31/42] Compiling GampKit StringEncodingError.swift
[32/42] Compiling GampKit AnalyticsConfigurationProtocol.swift
[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 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,
[39/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,
[40/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,
[41/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,
[42/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,
BUILD FAILURE 6.1 wasm