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 Supabase, reference main (09f047), with Swift 6.1 for Wasm on 11 Jun 2025 15:14:09 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

      "name" : "Storage",
      "path" : "Sources/Storage",
      "product_memberships" : [
        "Storage",
        "Supabase"
      ],
      "sources" : [
        "BucketOptions.swift",
        "Codable.swift",
        "Deprecated.swift",
        "Exports.swift",
        "Helpers.swift",
        "MultipartFormData.swift",
        "StorageApi.swift",
        "StorageBucketApi.swift",
        "StorageError.swift",
        "StorageFileApi.swift",
        "StorageHTTPClient.swift",
        "SupabaseStorage.swift",
        "TransformOptions.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealtimeTests",
      "module_type" : "SwiftTarget",
      "name" : "RealtimeTests",
      "path" : "Tests/RealtimeTests",
      "product_dependencies" : [
        "CustomDump",
        "InlineSnapshotTesting",
        "XCTestDynamicOverlay"
      ],
      "sources" : [
        "CallbackManagerTests.swift",
        "FakeWebSocket.swift",
        "PostgresJoinConfigTests.swift",
        "RealtimeChannelTests.swift",
        "RealtimeMessageV2Tests.swift",
        "RealtimePostgresFilterTests.swift",
        "RealtimePostgresFilterValueTests.swift",
        "RealtimeTests.swift",
        "_PushTests.swift"
      ],
      "target_dependencies" : [
        "PostgREST",
        "Realtime",
        "TestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Realtime",
      "module_type" : "SwiftTarget",
      "name" : "Realtime",
      "path" : "Sources/Realtime",
      "product_dependencies" : [
        "ConcurrencyExtras",
        "IssueReporting"
      ],
      "product_memberships" : [
        "Realtime",
        "Supabase"
      ],
      "sources" : [
        "CallbackManager.swift",
        "Deprecated/Defaults.swift",
        "Deprecated/Delegated.swift",
        "Deprecated/Deprecated.swift",
        "Deprecated/HeartbeatTimer.swift",
        "Deprecated/PhoenixTransport.swift",
        "Deprecated/Presence.swift",
        "Deprecated/Push.swift",
        "Deprecated/RealtimeChannel.swift",
        "Deprecated/RealtimeClient.swift",
        "Deprecated/RealtimeMessage.swift",
        "Deprecated/TimeoutTimer.swift",
        "Exports.swift",
        "PostgresAction.swift",
        "PostgresActionData.swift",
        "PresenceAction.swift",
        "PushV2.swift",
        "RealtimeChannel+AsyncAwait.swift",
        "RealtimeChannelV2.swift",
        "RealtimeClientV2.swift",
        "RealtimeError.swift",
        "RealtimeJoinConfig.swift",
        "RealtimeMessageV2.swift",
        "RealtimePostgresFilter.swift",
        "RealtimePostgresFilterValue.swift",
        "Types.swift",
        "WebSocket/URLSessionWebSocket.swift",
        "WebSocket/WebSocket.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PostgRESTTests",
      "module_type" : "SwiftTarget",
      "name" : "PostgRESTTests",
      "path" : "Tests/PostgRESTTests",
      "product_dependencies" : [
        "InlineSnapshotTesting",
        "SnapshotTesting",
        "Mocker"
      ],
      "sources" : [
        "BuildURLRequestTests.swift",
        "JSONTests.swift",
        "PostgresQueryTests.swift",
        "PostgrestBuilderTests.swift",
        "PostgrestFilterBuilderTests.swift",
        "PostgrestFilterValueTests.swift",
        "PostgrestQueryBuilderTests.swift",
        "PostgrestResponseTests.swift",
        "PostgrestRpcBuilderTests.swift",
        "PostgrestTransformBuilderTests.swift"
      ],
      "target_dependencies" : [
        "Helpers",
        "PostgREST",
        "TestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostgREST",
      "module_type" : "SwiftTarget",
      "name" : "PostgREST",
      "path" : "Sources/PostgREST",
      "product_dependencies" : [
        "ConcurrencyExtras"
      ],
      "product_memberships" : [
        "PostgREST",
        "Supabase"
      ],
      "sources" : [
        "Defaults.swift",
        "Deprecated.swift",
        "Exports.swift",
        "PostgrestBuilder.swift",
        "PostgrestClient.swift",
        "PostgrestFilterBuilder.swift",
        "PostgrestFilterValue.swift",
        "PostgrestQueryBuilder.swift",
        "PostgrestTransformBuilder.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegrationTests",
      "path" : "Tests/IntegrationTests",
      "product_dependencies" : [
        "CustomDump",
        "InlineSnapshotTesting",
        "XCTestDynamicOverlay"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/file-2.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/sadcat.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/IntegrationTests/supabase/config.toml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AuthClientIntegrationTests.swift",
        "DotEnv.swift",
        "Postgrest/PostgresTransformsTests.swift",
        "Postgrest/PostgrestBasicTests.swift",
        "Postgrest/PostgrestFilterTests.swift",
        "Postgrest/PostgrestResourceEmbeddingTests.swift",
        "PostgrestIntegrationTests.swift",
        "RealtimeIntegrationTests.swift",
        "StorageClientIntegrationTests.swift",
        "StorageFileIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Helpers",
        "Supabase",
        "TestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HelpersTests",
      "module_type" : "SwiftTarget",
      "name" : "HelpersTests",
      "path" : "Tests/HelpersTests",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "AnyJSONTests.swift",
        "AsyncValueSubjectTests.swift",
        "EventEmitterTests.swift",
        "JWTTests.swift",
        "ObservationTokenTests.swift",
        "WithTimeoutTests.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Helpers",
      "module_type" : "SwiftTarget",
      "name" : "Helpers",
      "path" : "Sources/Helpers",
      "product_dependencies" : [
        "ConcurrencyExtras",
        "HTTPTypes",
        "Clocks",
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "Auth",
        "Functions",
        "PostgREST",
        "Realtime",
        "Storage",
        "Supabase"
      ],
      "sources" : [
        "AnyJSON/AnyJSON+Codable.swift",
        "AnyJSON/AnyJSON.swift",
        "AsyncValueSubject.swift",
        "Codable.swift",
        "DateFormatter.swift",
        "EventEmitter.swift",
        "FoundationExtensions.swift",
        "HTTP/HTTPClient.swift",
        "HTTP/HTTPFields.swift",
        "HTTP/HTTPRequest.swift",
        "HTTP/HTTPResponse.swift",
        "HTTP/LoggerInterceptor.swift",
        "HTTP/RetryRequestInterceptor.swift",
        "JWT.swift",
        "SharedModels/HTTPError.swift",
        "SharedModels/PostgrestError.swift",
        "SupabaseLogger.swift",
        "Task+withTimeout.swift",
        "TaskLocalHelpers.swift",
        "URLSession+AsyncAwait.swift",
        "Version.swift",
        "_Clock.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FunctionsTests",
      "module_type" : "SwiftTarget",
      "name" : "FunctionsTests",
      "path" : "Tests/FunctionsTests",
      "product_dependencies" : [
        "ConcurrencyExtras",
        "InlineSnapshotTesting",
        "SnapshotTesting",
        "XCTestDynamicOverlay",
        "Mocker"
      ],
      "sources" : [
        "FunctionInvokeOptionsTests.swift",
        "FunctionsClientTests.swift",
        "FunctionsErrorTests.swift",
        "RequestTests.swift"
      ],
      "target_dependencies" : [
        "Functions",
        "TestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Functions",
      "module_type" : "SwiftTarget",
      "name" : "Functions",
      "path" : "Sources/Functions",
      "product_memberships" : [
        "Functions",
        "Supabase"
      ],
      "sources" : [
        "Exports.swift",
        "FunctionsClient.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AuthTests",
      "module_type" : "SwiftTarget",
      "name" : "AuthTests",
      "path" : "Tests/AuthTests",
      "product_dependencies" : [
        "CustomDump",
        "InlineSnapshotTesting",
        "SnapshotTesting",
        "XCTestDynamicOverlay"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/anonymous-sign-in-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/list-users-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/local-storage.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/session.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/signup-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/user.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AuthClientMultipleInstancesTests.swift",
        "AuthClientTests.swift",
        "AuthErrorTests.swift",
        "AuthResponseTests.swift",
        "ExtractParamsTests.swift",
        "MockHelpers.swift",
        "Mocks/Mocks.swift",
        "PKCETests.swift",
        "RequestsTests.swift",
        "SessionManagerTests.swift",
        "StoredSessionTests.swift"
      ],
      "target_dependencies" : [
        "Auth",
        "Helpers",
        "TestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Auth",
      "module_type" : "SwiftTarget",
      "name" : "Auth",
      "path" : "Sources/Auth",
      "product_dependencies" : [
        "ConcurrencyExtras",
        "Crypto"
      ],
      "product_memberships" : [
        "Auth",
        "Supabase"
      ],
      "sources" : [
        "AuthAdmin.swift",
        "AuthClient.swift",
        "AuthClientConfiguration.swift",
        "AuthError.swift",
        "AuthMFA.swift",
        "AuthStateChangeListener.swift",
        "Defaults.swift",
        "Deprecated.swift",
        "Exports.swift",
        "Internal/APIClient.swift",
        "Internal/CodeVerifierStorage.swift",
        "Internal/Constants.swift",
        "Internal/Dependencies.swift",
        "Internal/EventEmitter.swift",
        "Internal/FixedWidthInteger+Random.swift",
        "Internal/Helpers.swift",
        "Internal/Keychain.swift",
        "Internal/PKCE.swift",
        "Internal/SessionManager.swift",
        "Internal/SessionStorage.swift",
        "Internal/URLOpener.swift",
        "Storage/AuthLocalStorage.swift",
        "Storage/KeychainLocalStorage.swift",
        "Storage/WinCredLocalStorage.swift",
        "Types.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/861] Fetching swift-concurrency-extras
[268/5442] Fetching swift-concurrency-extras, swift-custom-dump
[438/7331] Fetching swift-concurrency-extras, swift-custom-dump, mocker
[5354/8623] Fetching swift-concurrency-extras, swift-custom-dump, mocker, swift-clocks
[7863/14081] Fetching swift-concurrency-extras, swift-custom-dump, mocker, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.61s)
[7100/22727] Fetching swift-concurrency-extras, mocker, swift-clocks, xctest-dynamic-overlay, swift-snapshot-testing
Fetching https://github.com/apple/swift-http-types.git
[6556/17269] Fetching swift-concurrency-extras, mocker, swift-clocks, swift-snapshot-testing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.19s)
Fetching https://github.com/apple/swift-crypto.git
[8144/18173] Fetching swift-concurrency-extras, mocker, swift-clocks, swift-snapshot-testing, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.73s)
[8407/17269] Fetching swift-concurrency-extras, mocker, swift-clocks, swift-snapshot-testing
[17270/32120] Fetching swift-concurrency-extras, mocker, swift-clocks, swift-snapshot-testing, swift-crypto
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (2.63s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (2.63s)
Fetched https://github.com/WeTransfer/Mocker from cache (2.63s)
[18722/28078] Fetching swift-snapshot-testing, swift-crypto
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.69s)
[6683/14851] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.66s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.67s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (1.29s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.71s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.65s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.70s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.76s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70776] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (7.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.50s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Building for debugging...
[0/392] Write sources
[29/392] Compiling _SwiftSyntaxCShims dummy.c
[30/392] Compiling fiat_p256_adx_mul.S
[31/392] Compiling fiat_curve25519_adx_mul.S
[32/392] Compiling fiat_curve25519_adx_square.S
[33/392] Compiling fiat_p256_adx_sqr.S
[34/392] Compiling md5-x86_64-linux.S
[35/392] Compiling md5-x86_64-apple.S
[36/392] Compiling md5-586-linux.S
[37/392] Compiling chacha20_poly1305_armv8-win.S
[38/392] Compiling md5-586-apple.S
[39/392] Compiling chacha20_poly1305_x86_64-linux.S
[40/392] Compiling chacha20_poly1305_armv8-linux.S
[41/392] Compiling chacha20_poly1305_x86_64-apple.S
[42/392] Compiling chacha-x86_64-linux.S
[43/392] Compiling chacha20_poly1305_armv8-apple.S
[44/392] Compiling chacha-x86-linux.S
[45/392] Compiling chacha-x86_64-apple.S
[46/392] Compiling chacha-x86-apple.S
[47/392] Compiling chacha-armv8-apple.S
[48/392] Compiling chacha-armv8-win.S
[49/392] Compiling chacha-armv8-linux.S
[50/392] Compiling x86_64-mont5-linux.S
[51/392] Compiling aes128gcmsiv-x86_64-linux.S
[52/392] Write swift-version-24593BA9C3E375BF.txt
[53/392] Compiling chacha-armv4-linux.S
[54/392] Compiling aes128gcmsiv-x86_64-apple.S
[55/392] Compiling x86_64-mont5-apple.S
[56/392] Compiling x86_64-mont-linux.S
[57/392] Compiling x86_64-mont-apple.S
[58/392] Compiling x86-mont-linux.S
[59/394] Compiling CCryptoBoringSSLShims shims.c
[61/438] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/438] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/438] Compiling err_data.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/465] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[65/469] Compiling HTTPTypes ISOLatin1String.swift
[66/469] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[67/469] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[68/469] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[69/469] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[70/470] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/470] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/470] Emitting module HTTPTypes
[73/471] Compiling IssueReporting XCTest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/471] Compiling IssueReporting IsTesting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[75/471] Compiling IssueReporting IssueReporter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/473] Compiling IssueReporting TestContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/473] Compiling IssueReporting Unimplemented.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/473] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/473] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/474] Compiling HTTPTypes HTTPResponse.swift
[81/474] Compiling HTTPTypes HTTPRequest.swift
[82/474] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/474] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/476] Compiling HTTPTypes HTTPParsedFields.swift
[85/476] Compiling HTTPTypes HTTPField.swift
[89/476] Compiling x86-mont-apple.S
[90/476] Compiling vpaes-x86_64-linux.S
[91/476] Compiling vpaes-x86_64-apple.S
[92/476] Compiling vpaes-x86-apple.S
[93/476] Compiling vpaes-x86-linux.S
[94/476] Compiling vpaes-armv8-win.S
[95/476] Compiling vpaes-armv8-linux.S
[96/483] Compiling vpaes-armv8-apple.S
[97/487] Compiling vpaes-armv7-linux.S
[98/487] Compiling sha512-x86_64-linux.S
[99/487] Compiling sha512-x86_64-apple.S
[100/487] Compiling sha512-armv8-win.S
[101/532] Compiling sha512-armv8-linux.S
[102/551] Compiling sha512-armv8-apple.S
[104/551] Compiling ConcurrencyExtras MainSerialExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/552] Compiling ConcurrencyExtras Result.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/552] Compiling sha512-armv4-linux.S
[106/552] Compiling sha512-586-linux.S
[107/552] Compiling sha512-586-apple.S
[108/552] Compiling sha256-x86_64-linux.S
[109/552] Compiling sha256-x86_64-apple.S
[110/552] Compiling sha256-armv8-win.S
[112/552] Compiling SwiftSyntax SourceLocation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[113/552] Compiling SwiftSyntax SourcePresence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/552] Emitting module ConcurrencyExtras
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/552] Compiling sha256-armv8-linux.S
[115/552] Compiling sha256-armv8-apple.S
[116/552] Compiling sha256-armv4-linux.S
[117/552] Compiling sha256-586-linux.S
[119/552] Compiling ConcurrencyExtras UncheckedSendable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/552] Compiling sha256-586-apple.S
[120/552] Compiling sha1-x86_64-linux.S
[121/552] Compiling sha1-x86_64-apple.S
[122/552] Compiling sha1-armv8-win.S
[123/552] Compiling sha1-armv8-linux.S
[125/552] Compiling HTTPTypes NIOLock.swift
[125/552] Compiling sha1-armv8-apple.S
[126/552] Compiling sha1-armv4-large-linux.S
[127/552] Compiling sha1-586-linux.S
[128/552] Compiling sha1-586-apple.S
[129/552] Compiling rsaz-avx2-linux.S
[130/552] Compiling rsaz-avx2-apple.S
[131/552] Compiling rdrand-x86_64-linux.S
[132/552] Compiling rdrand-x86_64-apple.S
[134/552] Compiling SwiftSyntax AbsolutePosition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[135/552] Compiling SwiftSyntax AbsoluteRawSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[136/552] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[137/552] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[138/552] Compiling SwiftSyntax RawSyntaxTokenView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[139/552] Emitting module IssueReporting
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[140/552] Compiling SwiftSyntax RawSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[141/552] Compiling SwiftSyntax RawSyntaxLayoutView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[142/552] Compiling Mocker MockingURLProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:35:35: error: cannot find type 'DispatchWorkItem' in scope
 33 |     }
 34 |
 35 |     private var responseWorkItem: DispatchWorkItem?
    |                                   `- error: cannot find type 'DispatchWorkItem' in scope
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:38:26: error: method does not override any method from its superclass
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
 38 |     override public func startLoading() {
    |                          `- error: method does not override any method from its superclass
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:67:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
    |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:83:26: error: method does not override any method from its superclass
 81 |
 82 |     /// Implementation does nothing, but is needed for a valid inheritance of URLProtocol.
 83 |     override public func stopLoading() {
    |                          `- error: method does not override any method from its superclass
 84 |         responseWorkItem?.cancel()
 85 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:77: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                                             `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:62: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:93:54: error: cannot find type 'URLRequest' in scope
 91 |
 92 |     /// Overrides needed to define a valid inheritance of URLProtocol.
 93 |     override public class func canInit(with request: URLRequest) -> Bool {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 94 |         return Mocker.shouldHandle(request)
 95 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:15:32: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 | /// The protocol which can be used to send Mocked data back. Use the `Mocker` to register `Mock` data
 15 | open class MockingURLProtocol: URLProtocol {
    |                                `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     enum Error: Swift.Error, LocalizedError, CustomDebugStringConvertible {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:40:41: error: cannot find 'request' in scope
 38 |     override public func startLoading() {
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
    |                                         `- error: cannot find 'request' in scope
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
 42 |             let data = mock.data(for: request)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:132:35: error: cannot find type 'URLRequest' in scope
130 |     /// - Parameter request: The request to search for a mock.
131 |     /// - Returns: A mock if found, `nil` if there's no mocked data registered for the given request.
132 |     static func mock(for request: URLRequest) -> Mock? {
    |                                   `- error: cannot find type 'URLRequest' in scope
133 |         shared.queue.sync {
134 |             /// First check for specific URLs
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:41:28: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
    |                            `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 42 |             let data = mock.data(for: request)
 43 |         else {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:42:39: error: cannot find 'request' in scope
 40 |             let mock = Mocker.mock(for: request),
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
 42 |             let data = mock.data(for: request)
    |                                       `- error: cannot find 'request' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:44:80: error: cannot find 'request' in scope
 42 |             let data = mock.data(for: request)
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
    |                                                                             `- error: cannot find 'request' in scope
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
 46 |             return
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:44:138: error: cannot find 'request' in scope
 42 |             let data = mock.data(for: request)
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
    |                                                                                                                                       `- error: cannot find 'request' in scope
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
 46 |             return
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:45:13: error: cannot find 'client' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
    |             `- error: cannot find 'client' in scope
 46 |             return
 47 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:45:105: error: cannot find 'request' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
    |                                                                                                         `- error: cannot find 'request' in scope
 46 |             return
 47 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:50:44: error: cannot find 'request' in scope
 48 |
 49 |         if let onRequestHandler = mock.onRequestHandler {
 50 |             onRequestHandler.handleRequest(request)
    |                                            `- error: cannot find 'request' in scope
 51 |         }
 52 |         mock.onRequestExpectation?.fulfill()
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:59:33: error: cannot find 'DispatchWorkItem' in scope
 57 |         }
 58 |
 59 |         self.responseWorkItem = DispatchWorkItem(block: { [weak self] in
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
 60 |             guard let self = self else { return }
 61 |             self.finishRequest(for: mock, data: data, response: response)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:64:9: error: cannot find 'DispatchQueue' in scope
 62 |         })
 63 |
 64 |         DispatchQueue.global(qos: DispatchQoS.QoSClass.userInitiated).asyncAfter(deadline: .now() + delay, execute: responseWorkItem!)
    |         `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:64:35: error: cannot find 'DispatchQoS' in scope
 62 |         })
 63 |
 64 |         DispatchQueue.global(qos: DispatchQoS.QoSClass.userInitiated).asyncAfter(deadline: .now() + delay, execute: responseWorkItem!)
    |                                   `- error: cannot find 'DispatchQoS' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:69:61: error: cannot find 'URLRequest' in scope
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
    |                                                             `- error: cannot find 'URLRequest' in scope
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:69:18: error: value of type 'MockingURLProtocol' has no member 'client'
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:71:18: error: value of type 'MockingURLProtocol' has no member 'client'
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:85:45: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 83 |
 84 |     /// Allow response cache.
 85 |     public var cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed
    |                                             `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 86 |
 87 |     /// The callback which will be executed everytime this `Mock` was completed. Can be used within unit tests for validating that a request has been executed. The callback must be set before calling `register`.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:73:18: error: value of type 'MockingURLProtocol' has no member 'client'
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 74 |             self.client?.urlProtocol(self, didLoad: data)
 75 |             self.client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:74:18: error: value of type 'MockingURLProtocol' has no member 'client'
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
 74 |             self.client?.urlProtocol(self, didLoad: data)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 75 |             self.client?.urlProtocolDidFinishLoading(self)
 76 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:75:18: error: value of type 'MockingURLProtocol' has no member 'client'
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
 74 |             self.client?.urlProtocol(self, didLoad: data)
 75 |             self.client?.urlProtocolDidFinishLoading(self)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 76 |         }
 77 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:108:48: error: cannot find type 'URLRequest' in scope
106 |     /// - Parameter url: The URL to check for.
107 |     /// - Returns: `true` if it should be mocked, `false` if the URL is registered as ignored.
108 |     public static func shouldHandle(_ request: URLRequest) -> Bool {
    |                                                `- error: cannot find type 'URLRequest' in scope
109 |         switch mode {
110 |         case .optout:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[146/552] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[147/552] Compiling Mocker OnRequestHandler.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:17:56: error: cannot find type 'URLRequest' in scope
 15 | public struct OnRequestHandler {
 16 |
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
    |                                                        `- error: cannot find type 'URLRequest' in scope
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:19:47: error: cannot find type 'URLRequest' in scope
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
    |                                               `- error: cannot find type 'URLRequest' in scope
 20 |     let legacyCallback: Mock.OnRequest?
 21 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:35:46: error: cannot find type 'URLRequest' in scope
 33 |     }
 34 |
 35 |     public typealias OnRequest = (_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void
    |                                              `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The type of the data which designates the Content-Type header.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:26:78: error: @escaping attribute only applies to function types
 24 |     ///   - httpBodyType: The decodable type to use for parsing the request body.
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
    |                                                                              `- error: @escaping attribute only applies to function types
 27 |         self.internalCallback = { request in
 28 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:42:56: error: cannot find type 'URLRequest' in scope
 40 |     /// Creates a new request handler using the given callback to call on request without parsing the body arguments.
 41 |     /// - Parameter requestCallback: The callback which will be executed just before the request executes, containing the request.
 42 |     public init(requestCallback: @escaping (_ request: URLRequest) -> Void) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
 43 |         self.internalCallback = requestCallback
 44 |         legacyCallback = nil
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:64: error: cannot find type 'URLRequest' in scope
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                                                `- error: cannot find type 'URLRequest' in scope
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:41: error: @escaping attribute only applies to function types
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                         `- error: @escaping attribute only applies to function types
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:59: error: cannot find type 'URLRequest' in scope
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                                           `- error: cannot find type 'URLRequest' in scope
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:36: error: @escaping attribute only applies to function types
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                    `- error: @escaping attribute only applies to function types
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:102:35: error: cannot find type 'URLRequest' in scope
100 |     }
101 |
102 |     func handleRequest(_ request: URLRequest) {
    |                                   `- error: cannot find type 'URLRequest' in scope
103 |         internalCallback(request)
104 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:107:19: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
108 |     /// We need to use the http body stream data as the URLRequest once launched converts the `httpBody` to this stream of data.
109 |     func httpBodyStreamData() -> Data? {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:27:35: error: cannot infer type of closure parameter 'request' without a type annotation
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
 27 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 28 |             guard
 29 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:32:35: error: 'nil' requires a contextual type
 30 |                 let decodedObject = try? JSONDecoder().decode(HTTPBody.self, from: httpBody)
 31 |             else {
 32 |                 callback(request, nil)
    |                                   `- error: 'nil' requires a contextual type
 33 |                 return
 34 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:50:35: error: cannot infer type of closure parameter '_' without a type annotation
 48 |     /// - Parameter callback: The callback which will be executed just before the request executes.
 49 |     public init(callback: @escaping () -> Void) {
 50 |         self.internalCallback = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
 51 |             callback()
 52 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:59:35: error: cannot infer type of closure parameter 'request' without a type annotation
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
 59 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 60 |             guard
 61 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:64:49: error: 'nil' requires a contextual type
 62 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [String: Any]
 63 |             else {
 64 |                 jsonDictionaryCallback(request, nil)
    |                                                 `- error: 'nil' requires a contextual type
 65 |                 return
 66 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:75:35: error: cannot infer type of closure parameter 'request' without a type annotation
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
 75 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 76 |             guard
 77 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:80:44: error: 'nil' requires a contextual type
 78 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [[String: Any]]
 79 |             else {
 80 |                 jsonArrayCallback(request, nil)
    |                                            `- error: 'nil' requires a contextual type
 81 |                 return
 82 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:89:35: error: cannot infer type of closure parameter 'request' without a type annotation
 87 |
 88 |     init(legacyCallback: Mock.OnRequest?) {
 89 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 90 |             guard
 91 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:94:42: error: 'nil' requires a contextual type
 92 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [String: Any]
 93 |             else {
 94 |                 legacyCallback?(request, nil)
    |                                          `- error: 'nil' requires a contextual type
 95 |                 return
 96 |             }
[148/552] Compiling Mocker XCTest+Mocker.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:13:62: error: cannot find type 'XCTestExpectation' in scope
11 |
12 | public extension XCTestCase {
13 |     func expectationForRequestingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
14 |         let mockExpectation = expectation(description: "\(mock) should be requested")
15 |         mock.onRequestExpectation = mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:19:62: error: cannot find type 'XCTestExpectation' in scope
17 |     }
18 |
19 |     func expectationForCompletingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
20 |         let mockExpectation = expectation(description: "\(mock) should be finishing")
21 |         mock.onCompletedExpectation = mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:14:31: error: cannot find 'expectation' in scope
12 | public extension XCTestCase {
13 |     func expectationForRequestingMock(_ mock: inout Mock) -> XCTestExpectation {
14 |         let mockExpectation = expectation(description: "\(mock) should be requested")
   |                               `- error: cannot find 'expectation' in scope
15 |         mock.onRequestExpectation = mockExpectation
16 |         return mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:105:31: error: cannot find type 'XCTestExpectation' in scope
103 |
104 |     /// Can only be set internally as it's used by the `expectationForRequestingMock(_:)` method.
105 |     var onRequestExpectation: XCTestExpectation?
    |                               `- error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:20:31: error: cannot find 'expectation' in scope
18 |
19 |     func expectationForCompletingMock(_ mock: inout Mock) -> XCTestExpectation {
20 |         let mockExpectation = expectation(description: "\(mock) should be finishing")
   |                               `- error: cannot find 'expectation' in scope
21 |         mock.onCompletedExpectation = mockExpectation
22 |         return mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
[149/552] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[150/552] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[151/552] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[152/552] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[152/552] Compiling p256_beeu-x86_64-asm-linux.S
[154/552] Compiling SwiftSyntax SyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[155/552] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[156/552] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[157/552] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[158/552] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[159/552] Compiling SwiftSyntax SyntaxIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[160/552] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[161/552] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[164/552] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[165/552] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[169/552] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[170/552] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[170/552] Compiling p256_beeu-x86_64-asm-apple.S
[172/552] Compiling ConcurrencyExtras Task.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[176/552] Compiling p256_beeu-armv8-asm-win.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[179/552] Compiling p256_beeu-armv8-asm-linux.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[184/552] Compiling SwiftSyntax Identifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[185/552] Compiling SwiftSyntax MemoryLayout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[186/552] Compiling SwiftSyntax MissingNodeInitializers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[186/553] Compiling p256_beeu-armv8-asm-apple.S
[188/553] Compiling ConcurrencyExtras LockIsolated.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[189/554] Compiling SwiftSyntax EditorPlaceholder.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[193/554] Compiling p256-x86_64-asm-linux.S
[194/554] Compiling p256-x86_64-asm-apple.S
[195/554] Compiling p256-armv8-asm-win.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[195/554] Compiling p256-armv8-asm-linux.S
[196/554] Compiling HTTPTypes HTTPFieldName.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:308:42: error: cannot find type 'URLRequest' in scope
306 |
307 |     /// Used to compare the Mock data with the given `URLRequest`.
308 |     static func == (mock: Mock, request: URLRequest) -> Bool {
    |                                          `- error: cannot find type 'URLRequest' in scope
309 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return false }
310 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:25: error: cannot find 'DispatchQueue' in scope
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                         `- error: cannot find 'DispatchQueue' in scope
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:88: error: cannot infer contextual base in reference to member 'concurrent'
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:108:48: error: cannot find type 'URLRequest' in scope
106 |     /// - Parameter url: The URL to check for.
107 |     /// - Returns: `true` if it should be mocked, `false` if the URL is registered as ignored.
108 |     public static func shouldHandle(_ request: URLRequest) -> Bool {
    |                                                `- error: cannot find type 'URLRequest' in scope
109 |         switch mode {
110 |         case .optout:
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:132:35: error: cannot find type 'URLRequest' in scope
130 |     /// - Parameter request: The request to search for a mock.
131 |     /// - Returns: A mock if found, `nil` if there's no mocked data registered for the given request.
132 |     static func mock(for request: URLRequest) -> Mock? {
    |                                   `- error: cannot find type 'URLRequest' in scope
133 |         shared.queue.sync {
134 |             /// First check for specific URLs
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:79:25: error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
 77 |     private init() {
 78 |         // Whenever someone is requesting the Mocker, we want the URL protocol to be activated.
 79 |         _ = URLProtocol.registerClass(MockingURLProtocol.self)
    |                         `- error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
 80 |     }
 81 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:86:36: error: cannot infer contextual base in reference to member 'barrier'
 84 |     /// - Parameter mock: The Mock to be registered for future requests.
 85 |     public static func register(_ mock: Mock) {
 86 |         shared.queue.async(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 87 |             /// Delete the Mock if it was already registered.
 88 |             shared.mocks.removeAll(where: { $0 == mock })
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:98:36: error: cannot infer contextual base in reference to member 'barrier'
 96 |     /// - Parameter ignoreQuery: If `true`, checking the URL will ignore the query and match only for the scheme, host and path. Defaults to `false`.
 97 |     public static func ignore(_ url: URL, ignoreQuery: Bool = false) {
 98 |         shared.queue.async(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 99 |             let rule = IgnoredRule(urlToIgnore: url, ignoreQuery: ignoreQuery)
100 |             shared.ignoredRules.append(rule)
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: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/StorageTests/__Snapshots__/StorageBucketAPITests/StorageBucketAPITests-testCreateBucket.1.txt
warning: 'spi-builder-workspace': found 32 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-upsert-ignoring-duplicates.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.containedBy-using-array.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.likeAnyOf.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-or-filter-with-referenced-table.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.query-non-default-schema.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.select-all-users-where-email-ends-with-supabase-co.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.query-with-character.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.rpc-call-with-head.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-in-filter.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-upsert-not-ignoring-duplicates.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.iLikeAllOf.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.likeAllOf.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-contains-filter-with-array.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.iLikeAnyOf.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.filter-using-Date.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.rpc-call-with-get-and-params.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-all-filters-and-count.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.test-contains-filter-with-dictionary.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.containedBy-using-range.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.select-after-bulk-upsert.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.select-after-an-insert.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.call-rpc-with-filter.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.bulk-upsert.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.call-rpc-without-parameter.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.insert-new-user.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.query-if-nil-value.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.containedBy-using-json.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.bulk-insert-users.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.filter-starting-with-non-alphanumeric.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.call-rpc.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.query-with-timestampz.txt
    /host/spi-builder-workspace/Tests/PostgRESTTests/__Snapshots__/BuildURLRequestTests/testBuildRequest.rpc-call-with-get.txt
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/FunctionsTests/__Snapshots__/RequestTests/testInvokeWithBody.1.txt
    /host/spi-builder-workspace/Tests/FunctionsTests/__Snapshots__/RequestTests/testInvokeWithCustomRegion.1.txt
    /host/spi-builder-workspace/Tests/FunctionsTests/__Snapshots__/RequestTests/testInvokeWithCustomMethod.1.txt
    /host/spi-builder-workspace/Tests/FunctionsTests/__Snapshots__/RequestTests/testInvokeWithCustomHeader.1.txt
    /host/spi-builder-workspace/Tests/FunctionsTests/__Snapshots__/RequestTests/testInvokeWithDefaultOptions.1.txt
[0/1] Planning build
Building for debugging...
[0/288] Compiling ghash-x86_64-linux.S
[1/288] Compiling ghashv8-armv8-apple.S
[1/288] Compiling ghashv8-armv8-win.S
[3/288] Compiling p256-armv8-asm-win.S
[4/288] Compiling p256-armv8-asm-linux.S
[5/288] Compiling ghashv8-armv7-linux.S
[6/288] Compiling ghashv8-armv8-linux.S
[7/288] Compiling p256-armv8-asm-apple.S
[8/288] Compiling ghash-x86_64-apple.S
[9/288] Compiling ghash-x86-linux.S
[10/288] Compiling ghash-x86-apple.S
[11/288] Compiling ghash-ssse3-x86_64-apple.S
[12/288] Compiling ghash-neon-armv8-win.S
[13/288] Compiling ghash-ssse3-x86-linux.S
[14/288] Compiling ghash-ssse3-x86_64-linux.S
[15/288] Compiling ghash-neon-armv8-apple.S
[16/288] Compiling ghash-ssse3-x86-apple.S
[17/288] Compiling ghash-neon-armv8-linux.S
[18/288] Compiling co-586-linux.S
[19/288] Compiling co-586-apple.S
[20/288] Compiling bsaes-armv7-linux.S
[21/288] Compiling ghash-armv4-linux.S
[22/288] Compiling bn-armv8-win.S
[23/288] Compiling bn-armv8-apple.S
[24/288] Compiling bn-armv8-linux.S
[25/288] Compiling armv8-mont-win.S
[26/288] Compiling bn-586-linux.S
[27/288] Compiling armv8-mont-apple.S
[28/288] Compiling aesv8-gcm-armv8-win.S
[29/288] Compiling bn-586-apple.S
[30/288] Compiling armv8-mont-linux.S
[31/288] Compiling aesv8-armv8-linux.S
[32/288] Compiling armv4-mont-linux.S
[33/288] Compiling aesv8-gcm-armv8-apple.S
[34/288] Compiling aesv8-gcm-armv8-linux.S
[35/288] Compiling aesv8-armv8-win.S
[35/288] Compiling aesni-x86_64-linux.S
[37/288] Compiling aesv8-armv8-apple.S
[38/288] Compiling aesv8-armv7-linux.S
[39/288] Write swift-version-24593BA9C3E375BF.txt
[40/288] Compiling aesni-x86-apple.S
[41/288] Compiling aesni-x86_64-apple.S
[42/288] Compiling aesni-x86-linux.S
[43/288] Compiling aesni-gcm-x86_64-linux.S
[44/288] Compiling aesni-gcm-x86_64-apple.S
[45/288] Compiling aes-gcm-avx10-x86_64-linux.S
[46/288] Compiling aes-gcm-avx10-x86_64-apple.S
[48/353] Compiling SwiftSyntax510 Empty.swift
[49/353] Emitting module SwiftSyntax601
[50/353] Emitting module SwiftSyntax510
[51/353] Compiling SwiftSyntax601 Empty.swift
[52/355] Emitting module SwiftSyntax509
[53/355] Compiling SwiftSyntax509 Empty.swift
[54/356] Compiling SwiftSyntax600 Empty.swift
[55/356] Emitting module SwiftSyntax600
[56/357] Compiling Mocker XCTest+Mocker.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:13:62: error: cannot find type 'XCTestExpectation' in scope
11 |
12 | public extension XCTestCase {
13 |     func expectationForRequestingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
14 |         let mockExpectation = expectation(description: "\(mock) should be requested")
15 |         mock.onRequestExpectation = mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:19:62: error: cannot find type 'XCTestExpectation' in scope
17 |     }
18 |
19 |     func expectationForCompletingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
20 |         let mockExpectation = expectation(description: "\(mock) should be finishing")
21 |         mock.onCompletedExpectation = mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:14:31: error: cannot find 'expectation' in scope
12 | public extension XCTestCase {
13 |     func expectationForRequestingMock(_ mock: inout Mock) -> XCTestExpectation {
14 |         let mockExpectation = expectation(description: "\(mock) should be requested")
   |                               `- error: cannot find 'expectation' in scope
15 |         mock.onRequestExpectation = mockExpectation
16 |         return mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:105:31: error: cannot find type 'XCTestExpectation' in scope
103 |
104 |     /// Can only be set internally as it's used by the `expectationForRequestingMock(_:)` method.
105 |     var onRequestExpectation: XCTestExpectation?
    |                               `- error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:20:31: error: cannot find 'expectation' in scope
18 |
19 |     func expectationForCompletingMock(_ mock: inout Mock) -> XCTestExpectation {
20 |         let mockExpectation = expectation(description: "\(mock) should be finishing")
   |                               `- error: cannot find 'expectation' in scope
21 |         mock.onCompletedExpectation = mockExpectation
22 |         return mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
[57/357] Compiling Mocker OnRequestHandler.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:17:56: error: cannot find type 'URLRequest' in scope
 15 | public struct OnRequestHandler {
 16 |
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
    |                                                        `- error: cannot find type 'URLRequest' in scope
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:19:47: error: cannot find type 'URLRequest' in scope
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
    |                                               `- error: cannot find type 'URLRequest' in scope
 20 |     let legacyCallback: Mock.OnRequest?
 21 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:35:46: error: cannot find type 'URLRequest' in scope
 33 |     }
 34 |
 35 |     public typealias OnRequest = (_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void
    |                                              `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The type of the data which designates the Content-Type header.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:26:78: error: @escaping attribute only applies to function types
 24 |     ///   - httpBodyType: The decodable type to use for parsing the request body.
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
    |                                                                              `- error: @escaping attribute only applies to function types
 27 |         self.internalCallback = { request in
 28 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:42:56: error: cannot find type 'URLRequest' in scope
 40 |     /// Creates a new request handler using the given callback to call on request without parsing the body arguments.
 41 |     /// - Parameter requestCallback: The callback which will be executed just before the request executes, containing the request.
 42 |     public init(requestCallback: @escaping (_ request: URLRequest) -> Void) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
 43 |         self.internalCallback = requestCallback
 44 |         legacyCallback = nil
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:64: error: cannot find type 'URLRequest' in scope
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                                                `- error: cannot find type 'URLRequest' in scope
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:41: error: @escaping attribute only applies to function types
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                         `- error: @escaping attribute only applies to function types
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:59: error: cannot find type 'URLRequest' in scope
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                                           `- error: cannot find type 'URLRequest' in scope
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:36: error: @escaping attribute only applies to function types
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                    `- error: @escaping attribute only applies to function types
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:102:35: error: cannot find type 'URLRequest' in scope
100 |     }
101 |
102 |     func handleRequest(_ request: URLRequest) {
    |                                   `- error: cannot find type 'URLRequest' in scope
103 |         internalCallback(request)
104 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:107:19: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
108 |     /// We need to use the http body stream data as the URLRequest once launched converts the `httpBody` to this stream of data.
109 |     func httpBodyStreamData() -> Data? {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:27:35: error: cannot infer type of closure parameter 'request' without a type annotation
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
 27 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 28 |             guard
 29 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:32:35: error: 'nil' requires a contextual type
 30 |                 let decodedObject = try? JSONDecoder().decode(HTTPBody.self, from: httpBody)
 31 |             else {
 32 |                 callback(request, nil)
    |                                   `- error: 'nil' requires a contextual type
 33 |                 return
 34 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:50:35: error: cannot infer type of closure parameter '_' without a type annotation
 48 |     /// - Parameter callback: The callback which will be executed just before the request executes.
 49 |     public init(callback: @escaping () -> Void) {
 50 |         self.internalCallback = { _ in
    |                                   `- error: cannot infer type of closure parameter '_' without a type annotation
 51 |             callback()
 52 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:59:35: error: cannot infer type of closure parameter 'request' without a type annotation
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
 59 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 60 |             guard
 61 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:64:49: error: 'nil' requires a contextual type
 62 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [String: Any]
 63 |             else {
 64 |                 jsonDictionaryCallback(request, nil)
    |                                                 `- error: 'nil' requires a contextual type
 65 |                 return
 66 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:75:35: error: cannot infer type of closure parameter 'request' without a type annotation
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
 75 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 76 |             guard
 77 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:80:44: error: 'nil' requires a contextual type
 78 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [[String: Any]]
 79 |             else {
 80 |                 jsonArrayCallback(request, nil)
    |                                            `- error: 'nil' requires a contextual type
 81 |                 return
 82 |             }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:89:35: error: cannot infer type of closure parameter 'request' without a type annotation
 87 |
 88 |     init(legacyCallback: Mock.OnRequest?) {
 89 |         self.internalCallback = { request in
    |                                   `- error: cannot infer type of closure parameter 'request' without a type annotation
 90 |             guard
 91 |                 let httpBody = request.httpBodyStreamData() ?? request.httpBody,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:94:42: error: 'nil' requires a contextual type
 92 |                 let jsonObject = try? JSONSerialization.jsonObject(with: httpBody, options: .fragmentsAllowed) as? [String: Any]
 93 |             else {
 94 |                 legacyCallback?(request, nil)
    |                                          `- error: 'nil' requires a contextual type
 95 |                 return
 96 |             }
[62/357] Compiling SnapshotTesting SpriteKit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[63/357] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[64/357] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[65/357] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[66/357] Compiling SnapshotTesting NSImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[67/357] Compiling SnapshotTesting NSView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[68/357] Compiling SnapshotTesting NSViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[69/357] Compiling SnapshotTesting SceneKit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[70/361] Compiling Mocker MockingURLProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:35:35: error: cannot find type 'DispatchWorkItem' in scope
 33 |     }
 34 |
 35 |     private var responseWorkItem: DispatchWorkItem?
    |                                   `- error: cannot find type 'DispatchWorkItem' in scope
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:38:26: error: method does not override any method from its superclass
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
 38 |     override public func startLoading() {
    |                          `- error: method does not override any method from its superclass
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:67:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
    |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:83:26: error: method does not override any method from its superclass
 81 |
 82 |     /// Implementation does nothing, but is needed for a valid inheritance of URLProtocol.
 83 |     override public func stopLoading() {
    |                          `- error: method does not override any method from its superclass
 84 |         responseWorkItem?.cancel()
 85 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:77: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                                             `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:62: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:93:54: error: cannot find type 'URLRequest' in scope
 91 |
 92 |     /// Overrides needed to define a valid inheritance of URLProtocol.
 93 |     override public class func canInit(with request: URLRequest) -> Bool {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 94 |         return Mocker.shouldHandle(request)
 95 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:15:32: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 | /// The protocol which can be used to send Mocked data back. Use the `Mocker` to register `Mock` data
 15 | open class MockingURLProtocol: URLProtocol {
    |                                `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     enum Error: Swift.Error, LocalizedError, CustomDebugStringConvertible {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:40:41: error: cannot find 'request' in scope
 38 |     override public func startLoading() {
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
    |                                         `- error: cannot find 'request' in scope
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
 42 |             let data = mock.data(for: request)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:132:35: error: cannot find type 'URLRequest' in scope
130 |     /// - Parameter request: The request to search for a mock.
131 |     /// - Returns: A mock if found, `nil` if there's no mocked data registered for the given request.
132 |     static func mock(for request: URLRequest) -> Mock? {
    |                                   `- error: cannot find type 'URLRequest' in scope
133 |         shared.queue.sync {
134 |             /// First check for specific URLs
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:41:28: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
    |                            `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 42 |             let data = mock.data(for: request)
 43 |         else {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:42:39: error: cannot find 'request' in scope
 40 |             let mock = Mocker.mock(for: request),
 41 |             let response = HTTPURLResponse(url: mock.request.url!, statusCode: mock.statusCode, httpVersion: Mocker.httpVersion.rawValue, headerFields: mock.headers),
 42 |             let data = mock.data(for: request)
    |                                       `- error: cannot find 'request' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:44:80: error: cannot find 'request' in scope
 42 |             let data = mock.data(for: request)
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
    |                                                                             `- error: cannot find 'request' in scope
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
 46 |             return
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:44:138: error: cannot find 'request' in scope
 42 |             let data = mock.data(for: request)
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
    |                                                                                                                                       `- error: cannot find 'request' in scope
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
 46 |             return
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:45:13: error: cannot find 'client' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
    |             `- error: cannot find 'client' in scope
 46 |             return
 47 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:45:105: error: cannot find 'request' in scope
 43 |         else {
 44 |             print("\n\n 🚨 No mocked data found for url \(String(describing: request.url?.absoluteString)) method \(String(describing: request.httpMethod)). Did you forget to use `register()`? 🚨 \n\n")
 45 |             client?.urlProtocol(self, didFailWithError: Error.missingMockedData(url: String(describing: request.url?.absoluteString)))
    |                                                                                                         `- error: cannot find 'request' in scope
 46 |             return
 47 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:50:44: error: cannot find 'request' in scope
 48 |
 49 |         if let onRequestHandler = mock.onRequestHandler {
 50 |             onRequestHandler.handleRequest(request)
    |                                            `- error: cannot find 'request' in scope
 51 |         }
 52 |         mock.onRequestExpectation?.fulfill()
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:59:33: error: cannot find 'DispatchWorkItem' in scope
 57 |         }
 58 |
 59 |         self.responseWorkItem = DispatchWorkItem(block: { [weak self] in
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
 60 |             guard let self = self else { return }
 61 |             self.finishRequest(for: mock, data: data, response: response)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:64:9: error: cannot find 'DispatchQueue' in scope
 62 |         })
 63 |
 64 |         DispatchQueue.global(qos: DispatchQoS.QoSClass.userInitiated).asyncAfter(deadline: .now() + delay, execute: responseWorkItem!)
    |         `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:64:35: error: cannot find 'DispatchQoS' in scope
 62 |         })
 63 |
 64 |         DispatchQueue.global(qos: DispatchQoS.QoSClass.userInitiated).asyncAfter(deadline: .now() + delay, execute: responseWorkItem!)
    |                                   `- error: cannot find 'DispatchQoS' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:69:61: error: cannot find 'URLRequest' in scope
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
    |                                                             `- error: cannot find 'URLRequest' in scope
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:69:18: error: value of type 'MockingURLProtocol' has no member 'client'
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:71:18: error: value of type 'MockingURLProtocol' has no member 'client'
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
 70 |         } else if let requestError = mock.requestError {
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:85:45: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 83 |
 84 |     /// Allow response cache.
 85 |     public var cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed
    |                                             `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 86 |
 87 |     /// The callback which will be executed everytime this `Mock` was completed. Can be used within unit tests for validating that a request has been executed. The callback must be set before calling `register`.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:73:18: error: value of type 'MockingURLProtocol' has no member 'client'
 71 |             self.client?.urlProtocol(self, didFailWithError: requestError)
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 74 |             self.client?.urlProtocol(self, didLoad: data)
 75 |             self.client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:74:18: error: value of type 'MockingURLProtocol' has no member 'client'
 72 |         } else {
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
 74 |             self.client?.urlProtocol(self, didLoad: data)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 75 |             self.client?.urlProtocolDidFinishLoading(self)
 76 |         }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:75:18: error: value of type 'MockingURLProtocol' has no member 'client'
 73 |             self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: mock.cacheStoragePolicy)
 74 |             self.client?.urlProtocol(self, didLoad: data)
 75 |             self.client?.urlProtocolDidFinishLoading(self)
    |                  `- error: value of type 'MockingURLProtocol' has no member 'client'
 76 |         }
 77 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:108:48: error: cannot find type 'URLRequest' in scope
106 |     /// - Parameter url: The URL to check for.
107 |     /// - Returns: `true` if it should be mocked, `false` if the URL is registered as ignored.
108 |     public static func shouldHandle(_ request: URLRequest) -> Bool {
    |                                                `- error: cannot find type 'URLRequest' in scope
109 |         switch mode {
110 |         case .optout:
[71/361] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[72/361] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[73/361] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[74/361] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[75/361] Compiling SnapshotTesting AssertSnapshot.swift
[76/361] Compiling SnapshotTesting Async.swift
[77/361] Compiling SnapshotTesting Internal.swift
[78/363] Compiling IssueReporting WithExpectedIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[79/363] Compiling IssueReporting WithIssueContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[80/363] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[81/363] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[82/363] Compiling Mocker Mock+DataType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/363] Emitting module Mocker
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:308:42: error: cannot find type 'URLRequest' in scope
306 |
307 |     /// Used to compare the Mock data with the given `URLRequest`.
308 |     static func == (mock: Mock, request: URLRequest) -> Bool {
    |                                          `- error: cannot find type 'URLRequest' in scope
309 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return false }
310 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:35:46: error: cannot find type 'URLRequest' in scope
 33 |     }
 34 |
 35 |     public typealias OnRequest = (_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void
    |                                              `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The type of the data which designates the Content-Type header.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:70:25: error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// The `URLRequest` to use if you did not set a specific URL.
 70 |     public let request: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 71 |
 72 |     /// If `true`, checking the URL will ignore the query and match only for the scheme, host and path.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:82:23: error: cannot find type 'DispatchTimeInterval' in scope
 80 |
 81 |     /// Add a delay to a certain mock, which makes the response returned later.
 82 |     public var delay: DispatchTimeInterval?
    |                       `- error: cannot find type 'DispatchTimeInterval' in scope
 83 |
 84 |     /// Allow response cache.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:85:45: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 83 |
 84 |     /// Allow response cache.
 85 |     public var cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed
    |                                             `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 86 |
 87 |     /// The callback which will be executed everytime this `Mock` was completed. Can be used within unit tests for validating that a request has been executed. The callback must be set before calling `register`.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:105:31: error: cannot find type 'XCTestExpectation' in scope
103 |
104 |     /// Can only be set internally as it's used by the `expectationForRequestingMock(_:)` method.
105 |     var onRequestExpectation: XCTestExpectation?
    |                               `- error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:110:91: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
108 |     var onCompletedExpectation: XCTestExpectation?
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
    |                                                                                           `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
111 |         guard data.count > 0 else {
112 |             preconditionFailure("At least one entry is required in the data dictionary")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:186:83: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
184 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
185 |     @available(*, deprecated, renamed: "init(url:ignoreQuery:cacheStoragePolicy:contentType:statusCode:data:additionalHeaders:requestError:)")
186 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                   `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
187 |         self.init(
188 |             url: url,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:211:83: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
209 |     ///   - additionalHeaders: Additional headers to be added to the response.
210 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
211 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                   `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
212 |         self.init(
213 |             url: url,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:275:26: error: cannot find type 'URLRequest' in scope
273 |     ///   - additionalHeaders: Additional headers to be added to the response.
274 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
275 |     public init(request: URLRequest, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: Data = Data(), additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                          `- error: cannot find type 'URLRequest' in scope
276 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else {
277 |             preconditionFailure("Unexpected http method")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:275:94: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
273 |     ///   - additionalHeaders: Additional headers to be added to the response.
274 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
275 |     public init(request: URLRequest, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: Data = Data(), additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                              `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
276 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else {
277 |             preconditionFailure("Unexpected http method")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:302:28: error: cannot find type 'URLRequest' in scope
300 |     /// - Parameter request: The request to match data for.
301 |     /// - Returns: The `Data` which matches the request. Will be `nil` if no data is registered for the request `HTTPMethod`.
302 |     func data(for request: URLRequest) -> Data? {
    |                            `- error: cannot find type 'URLRequest' in scope
303 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return nil }
304 |         return data[requestHTTPMethod]
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:19:47: error: cannot find type 'URLRequest' in scope
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
    |                                               `- error: cannot find type 'URLRequest' in scope
 20 |     let legacyCallback: Mock.OnRequest?
 21 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:25: error: cannot find 'DispatchQueue' in scope
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                         `- error: cannot find 'DispatchQueue' in scope
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:88: error: cannot infer contextual base in reference to member 'concurrent'
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:108:48: error: cannot find type 'URLRequest' in scope
106 |     /// - Parameter url: The URL to check for.
107 |     /// - Returns: `true` if it should be mocked, `false` if the URL is registered as ignored.
108 |     public static func shouldHandle(_ request: URLRequest) -> Bool {
    |                                                `- error: cannot find type 'URLRequest' in scope
109 |         switch mode {
110 |         case .optout:
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:132:35: error: cannot find type 'URLRequest' in scope
130 |     /// - Parameter request: The request to search for a mock.
131 |     /// - Returns: A mock if found, `nil` if there's no mocked data registered for the given request.
132 |     static func mock(for request: URLRequest) -> Mock? {
    |                                   `- error: cannot find type 'URLRequest' in scope
133 |         shared.queue.sync {
134 |             /// First check for specific URLs
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:35:35: error: cannot find type 'DispatchWorkItem' in scope
 33 |     }
 34 |
 35 |     private var responseWorkItem: DispatchWorkItem?
    |                                   `- error: cannot find type 'DispatchWorkItem' in scope
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:38:26: error: method does not override any method from its superclass
 36 |
 37 |     /// Returns Mocked data based on the mocks register in the `Mocker`. Will end up in an error when no Mock data is found for the request.
 38 |     override public func startLoading() {
    |                          `- error: method does not override any method from its superclass
 39 |         guard
 40 |             let mock = Mocker.mock(for: request),
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:67:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     private func finishRequest(for mock: Mock, data: Data, response: HTTPURLResponse) {
    |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         if let redirectLocation = data.redirectLocation {
 69 |             self.client?.urlProtocol(self, wasRedirectedTo: URLRequest(url: redirectLocation), redirectResponse: response)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:83:26: error: method does not override any method from its superclass
 81 |
 82 |     /// Implementation does nothing, but is needed for a valid inheritance of URLProtocol.
 83 |     override public func stopLoading() {
    |                          `- error: method does not override any method from its superclass
 84 |         responseWorkItem?.cancel()
 85 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:77: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                                             `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:88:62: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Simply sends back the passed request. Implementation is needed for a valid inheritance of URLProtocol.
 88 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
 89 |         return request
 90 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:93:54: error: cannot find type 'URLRequest' in scope
 91 |
 92 |     /// Overrides needed to define a valid inheritance of URLProtocol.
 93 |     override public class func canInit(with request: URLRequest) -> Bool {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 94 |         return Mocker.shouldHandle(request)
 95 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/MockingURLProtocol.swift:15:32: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 | /// The protocol which can be used to send Mocked data back. Use the `Mocker` to register `Mock` data
 15 | open class MockingURLProtocol: URLProtocol {
    |                                `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     enum Error: Swift.Error, LocalizedError, CustomDebugStringConvertible {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:17:56: error: cannot find type 'URLRequest' in scope
 15 | public struct OnRequestHandler {
 16 |
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
    |                                                        `- error: cannot find type 'URLRequest' in scope
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:26:78: error: @escaping attribute only applies to function types
 24 |     ///   - httpBodyType: The decodable type to use for parsing the request body.
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
    |                                                                              `- error: @escaping attribute only applies to function types
 27 |         self.internalCallback = { request in
 28 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:42:56: error: cannot find type 'URLRequest' in scope
 40 |     /// Creates a new request handler using the given callback to call on request without parsing the body arguments.
 41 |     /// - Parameter requestCallback: The callback which will be executed just before the request executes, containing the request.
 42 |     public init(requestCallback: @escaping (_ request: URLRequest) -> Void) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
 43 |         self.internalCallback = requestCallback
 44 |         legacyCallback = nil
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:64: error: cannot find type 'URLRequest' in scope
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                                                `- error: cannot find type 'URLRequest' in scope
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:41: error: @escaping attribute only applies to function types
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                         `- error: @escaping attribute only applies to function types
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:59: error: cannot find type 'URLRequest' in scope
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                                           `- error: cannot find type 'URLRequest' in scope
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:36: error: @escaping attribute only applies to function types
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                    `- error: @escaping attribute only applies to function types
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:102:35: error: cannot find type 'URLRequest' in scope
100 |     }
101 |
102 |     func handleRequest(_ request: URLRequest) {
    |                                   `- error: cannot find type 'URLRequest' in scope
103 |         internalCallback(request)
104 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:107:19: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
108 |     /// We need to use the http body stream data as the URLRequest once launched converts the `httpBody` to this stream of data.
109 |     func httpBodyStreamData() -> Data? {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:13:62: error: cannot find type 'XCTestExpectation' in scope
11 |
12 | public extension XCTestCase {
13 |     func expectationForRequestingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
14 |         let mockExpectation = expectation(description: "\(mock) should be requested")
15 |         mock.onRequestExpectation = mockExpectation
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/XCTest+Mocker.swift:19:62: error: cannot find type 'XCTestExpectation' in scope
17 |     }
18 |
19 |     func expectationForCompletingMock(_ mock: inout Mock) -> XCTestExpectation {
   |                                                              `- error: cannot find type 'XCTestExpectation' in scope
20 |         let mockExpectation = expectation(description: "\(mock) should be finishing")
21 |         mock.onCompletedExpectation = mockExpectation
[84/363] Compiling Mocker Mock.swift
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:308:42: error: cannot find type 'URLRequest' in scope
306 |
307 |     /// Used to compare the Mock data with the given `URLRequest`.
308 |     static func == (mock: Mock, request: URLRequest) -> Bool {
    |                                          `- error: cannot find type 'URLRequest' in scope
309 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return false }
310 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:35:46: error: cannot find type 'URLRequest' in scope
 33 |     }
 34 |
 35 |     public typealias OnRequest = (_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void
    |                                              `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The type of the data which designates the Content-Type header.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:70:25: error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// The `URLRequest` to use if you did not set a specific URL.
 70 |     public let request: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 71 |
 72 |     /// If `true`, checking the URL will ignore the query and match only for the scheme, host and path.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:82:23: error: cannot find type 'DispatchTimeInterval' in scope
 80 |
 81 |     /// Add a delay to a certain mock, which makes the response returned later.
 82 |     public var delay: DispatchTimeInterval?
    |                       `- error: cannot find type 'DispatchTimeInterval' in scope
 83 |
 84 |     /// Allow response cache.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:85:45: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 83 |
 84 |     /// Allow response cache.
 85 |     public var cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed
    |                                             `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 86 |
 87 |     /// The callback which will be executed everytime this `Mock` was completed. Can be used within unit tests for validating that a request has been executed. The callback must be set before calling `register`.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:105:31: error: cannot find type 'XCTestExpectation' in scope
103 |
104 |     /// Can only be set internally as it's used by the `expectationForRequestingMock(_:)` method.
105 |     var onRequestExpectation: XCTestExpectation?
    |                               `- error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:108:33: error: cannot find type 'XCTestExpectation' in scope
106 |
107 |     /// Can only be set internally as it's used by the `expectationForCompletingMock(_:)` method.
108 |     var onCompletedExpectation: XCTestExpectation?
    |                                 `- error: cannot find type 'XCTestExpectation' in scope
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:110:91: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
108 |     var onCompletedExpectation: XCTestExpectation?
109 |
110 |     private init(url: URL? = nil, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], requestError: Error? = nil, additionalHeaders: [String: String] = [:], fileExtensions: [String]? = nil) {
    |                                                                                           `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
111 |         guard data.count > 0 else {
112 |             preconditionFailure("At least one entry is required in the data dictionary")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:186:83: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
184 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
185 |     @available(*, deprecated, renamed: "init(url:ignoreQuery:cacheStoragePolicy:contentType:statusCode:data:additionalHeaders:requestError:)")
186 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                   `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
187 |         self.init(
188 |             url: url,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:211:83: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
209 |     ///   - additionalHeaders: Additional headers to be added to the response.
210 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
211 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                   `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
212 |         self.init(
213 |             url: url,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:275:26: error: cannot find type 'URLRequest' in scope
273 |     ///   - additionalHeaders: Additional headers to be added to the response.
274 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
275 |     public init(request: URLRequest, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: Data = Data(), additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                          `- error: cannot find type 'URLRequest' in scope
276 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else {
277 |             preconditionFailure("Unexpected http method")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:275:94: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
273 |     ///   - additionalHeaders: Additional headers to be added to the response.
274 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
275 |     public init(request: URLRequest, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: Data = Data(), additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
    |                                                                                              `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
276 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else {
277 |             preconditionFailure("Unexpected http method")
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:302:28: error: cannot find type 'URLRequest' in scope
300 |     /// - Parameter request: The request to match data for.
301 |     /// - Returns: The `Data` which matches the request. Will be `nil` if no data is registered for the request `HTTPMethod`.
302 |     func data(for request: URLRequest) -> Data? {
    |                            `- error: cannot find type 'URLRequest' in scope
303 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return nil }
304 |         return data[requestHTTPMethod]
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:19:47: error: cannot find type 'URLRequest' in scope
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
    |                                               `- error: cannot find type 'URLRequest' in scope
 20 |     let legacyCallback: Mock.OnRequest?
 21 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:17:56: error: cannot find type 'URLRequest' in scope
 15 | public struct OnRequestHandler {
 16 |
 17 |     public typealias OnRequest<HTTPBody> = (_ request: URLRequest, _ httpBody: HTTPBody?) -> Void
    |                                                        `- error: cannot find type 'URLRequest' in scope
 18 |
 19 |     private let internalCallback: (_ request: URLRequest) -> Void
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:26:78: error: @escaping attribute only applies to function types
 24 |     ///   - httpBodyType: The decodable type to use for parsing the request body.
 25 |     ///   - callback: The callback which will be called just before the request executes.
 26 |     public init<HTTPBody: Decodable>(httpBodyType: HTTPBody.Type?, callback: @escaping OnRequest<HTTPBody>) {
    |                                                                              `- error: @escaping attribute only applies to function types
 27 |         self.internalCallback = { request in
 28 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:42:56: error: cannot find type 'URLRequest' in scope
 40 |     /// Creates a new request handler using the given callback to call on request without parsing the body arguments.
 41 |     /// - Parameter requestCallback: The callback which will be executed just before the request executes, containing the request.
 42 |     public init(requestCallback: @escaping (_ request: URLRequest) -> Void) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
 43 |         self.internalCallback = requestCallback
 44 |         legacyCallback = nil
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:64: error: cannot find type 'URLRequest' in scope
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                                                `- error: cannot find type 'URLRequest' in scope
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:58:41: error: @escaping attribute only applies to function types
 56 |     /// Creates a new request handler using the given callback to call on request.
 57 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Dictionary.
 58 |     public init(jsonDictionaryCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [String: Any]?) -> Void)) {
    |                                         `- error: @escaping attribute only applies to function types
 59 |         self.internalCallback = { request in
 60 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:59: error: cannot find type 'URLRequest' in scope
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                                           `- error: cannot find type 'URLRequest' in scope
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/OnRequestHandler.swift:74:36: error: @escaping attribute only applies to function types
 72 |     /// Creates a new request handler using the given callback to call on request.
 73 |     /// - Parameter jsonDictionaryCallback: The callback that executes just before the request executes, containing the HTTP Body Arguments as a JSON Object Array.
 74 |     public init(jsonArrayCallback: @escaping ((_ request: URLRequest, _ httpBodyArguments: [[String: Any]]?) -> Void)) {
    |                                    `- error: @escaping attribute only applies to function types
 75 |         self.internalCallback = { request in
 76 |             guard
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:94:48: error: incorrect argument label in call (have 'legacyCallback:', expected 'callback:')
 92 |     public var onRequest: OnRequest? {
 93 |         set {
 94 |             onRequestHandler = OnRequestHandler(legacyCallback: newValue)
    |                                                `- error: incorrect argument label in call (have 'legacyCallback:', expected 'callback:')
 95 |         }
 96 |         get {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:118:23: error: cannot find 'URLRequest' in scope
116 |         let generatedURL = URL(string: "https://mocked.wetransfer.com/\(contentType?.name ?? "no-content")/\(statusCode)/\(data.keys.first!.rawValue)")!
117 |         self.generatedURL = generatedURL
118 |         var request = URLRequest(url: url ?? generatedURL)
    |                       `- error: cannot find 'URLRequest' in scope
119 |         request.httpMethod = data.keys.first!.rawValue
120 |         self.request = request
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:147:18: error: extra argument 'url' in call
145 |     public init(dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
146 |         self.init(
147 |             url: nil,
    |                  `- error: extra argument 'url' in call
148 |             contentType: dataType,
149 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:152:29: error: 'nil' is not compatible with expected argument type 'String'
150 |             data: data,
151 |             additionalHeaders: additionalHeaders,
152 |             fileExtensions: nil
    |                             `- error: 'nil' is not compatible with expected argument type 'String'
153 |         )
154 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:147:18: error: 'nil' requires a contextual type
145 |     public init(dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
146 |         self.init(
147 |             url: nil,
    |                  `- error: 'nil' requires a contextual type
148 |             contentType: dataType,
149 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:165:18: error: extra argument 'url' in call
163 |     public init(contentType: DataType?, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
164 |         self.init(
165 |             url: nil,
    |                  `- error: extra argument 'url' in call
166 |             contentType: contentType,
167 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:170:29: error: 'nil' is not compatible with expected argument type 'String'
168 |             data: data,
169 |             additionalHeaders: additionalHeaders,
170 |             fileExtensions: nil
    |                             `- error: 'nil' is not compatible with expected argument type 'String'
171 |         )
172 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:165:18: error: 'nil' requires a contextual type
163 |     public init(contentType: DataType?, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
164 |         self.init(
165 |             url: nil,
    |                  `- error: 'nil' requires a contextual type
166 |             contentType: contentType,
167 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:187:18: error: extra arguments at positions #1, #2, #3, #7 in call
185 |     @available(*, deprecated, renamed: "init(url:ignoreQuery:cacheStoragePolicy:contentType:statusCode:data:additionalHeaders:requestError:)")
186 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
187 |         self.init(
    |                  `- error: extra arguments at positions #1, #2, #3, #7 in call
188 |             url: url,
189 |             ignoreQuery: ignoreQuery,
    :
251 |     ///   - data: The data which will be returned as the response based on the HTTP Method.
252 |     ///   - additionalHeaders: Additional headers to be added to the response.
253 |     public init(fileExtensions: String..., contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
    |            `- note: 'init(fileExtensions:contentType:statusCode:data:additionalHeaders:)' declared here
254 |         self.init(
255 |             url: nil,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:196:29: error: 'nil' is not compatible with expected argument type 'String'
194 |             requestError: requestError,
195 |             additionalHeaders: additionalHeaders,
196 |             fileExtensions: nil
    |                             `- error: 'nil' is not compatible with expected argument type 'String'
197 |         )
198 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:212:18: error: extra arguments at positions #1, #2, #3, #7 in call
210 |     ///   - requestError: If provided, the URLSession will report the passed error rather than returning data. Defaults to `nil`.
211 |     public init(url: URL, ignoreQuery: Bool = false, cacheStoragePolicy: URLCache.StoragePolicy = .notAllowed, contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:], requestError: Error? = nil) {
212 |         self.init(
    |                  `- error: extra arguments at positions #1, #2, #3, #7 in call
213 |             url: url,
214 |             ignoreQuery: ignoreQuery,
    :
251 |     ///   - data: The data which will be returned as the response based on the HTTP Method.
252 |     ///   - additionalHeaders: Additional headers to be added to the response.
253 |     public init(fileExtensions: String..., contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
    |            `- note: 'init(fileExtensions:contentType:statusCode:data:additionalHeaders:)' declared here
254 |         self.init(
255 |             url: nil,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:221:29: error: 'nil' is not compatible with expected argument type 'String'
219 |             requestError: requestError,
220 |             additionalHeaders: additionalHeaders,
221 |             fileExtensions: nil
    |                             `- error: 'nil' is not compatible with expected argument type 'String'
222 |         )
223 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:236:18: error: extra argument 'url' in call
234 |     public init(fileExtensions: String..., dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
235 |         self.init(
236 |             url: nil,
    |                  `- error: extra argument 'url' in call
237 |             contentType: dataType,
238 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:241:29: error: cannot pass array of type 'String...' as variadic arguments of type 'String'
239 |             data: data,
240 |             additionalHeaders: additionalHeaders,
241 |             fileExtensions: fileExtensions
    |                             `- error: cannot pass array of type 'String...' as variadic arguments of type 'String'
242 |         )
243 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:236:18: error: 'nil' requires a contextual type
234 |     public init(fileExtensions: String..., dataType: DataType, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
235 |         self.init(
236 |             url: nil,
    |                  `- error: 'nil' requires a contextual type
237 |             contentType: dataType,
238 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:255:18: error: extra argument 'url' in call
253 |     public init(fileExtensions: String..., contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
254 |         self.init(
255 |             url: nil,
    |                  `- error: extra argument 'url' in call
256 |             contentType: contentType,
257 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:260:29: error: cannot pass array of type 'String...' as variadic arguments of type 'String'
258 |             data: data,
259 |             additionalHeaders: additionalHeaders,
260 |             fileExtensions: fileExtensions
    |                             `- error: cannot pass array of type 'String...' as variadic arguments of type 'String'
261 |         )
262 |     }
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:255:18: error: 'nil' requires a contextual type
253 |     public init(fileExtensions: String..., contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
254 |         self.init(
255 |             url: nil,
    |                  `- error: 'nil' requires a contextual type
256 |             contentType: contentType,
257 |             statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:280:18: error: extra arguments at positions #1, #2, #3, #7 in call
251 |     ///   - data: The data which will be returned as the response based on the HTTP Method.
252 |     ///   - additionalHeaders: Additional headers to be added to the response.
253 |     public init(fileExtensions: String..., contentType: DataType? = nil, statusCode: Int, data: [HTTPMethod: Data], additionalHeaders: [String: String] = [:]) {
    |            `- note: 'init(fileExtensions:contentType:statusCode:data:additionalHeaders:)' declared here
254 |         self.init(
255 |             url: nil,
    :
278 |         }
279 |
280 |         self.init(
    |                  `- error: extra arguments at positions #1, #2, #3, #7 in call
281 |             url: request.url,
282 |             ignoreQuery: ignoreQuery,
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:289:29: error: 'nil' is not compatible with expected argument type 'String'
287 |             requestError: requestError,
288 |             additionalHeaders: additionalHeaders,
289 |             fileExtensions: nil
    |                             `- error: 'nil' is not compatible with expected argument type 'String'
290 |         )
291 |     }
[85/382] Compiling SnapshotTesting Snapshotting.swift
[86/382] Compiling SnapshotTesting Any.swift
[87/382] Compiling ConcurrencyExtras UncheckedBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[88/382] Compiling SnapshotTesting RecordIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[89/382] Compiling SnapshotTesting SnapshotTestingConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[90/382] Compiling SnapshotTesting SnapshotsTestTrait.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[91/382] Compiling ConcurrencyExtras ActorIsolated.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[92/382] Compiling ConcurrencyExtras AnyHashableSendable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[93/382] Compiling ConcurrencyExtras AsyncStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[94/382] Compiling ConcurrencyExtras AsyncThrowingStream.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[95/382] Compiling ConcurrencyExtras Locking.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[96/382] Compiling SnapshotTesting CALayer.swift
[97/382] Compiling SnapshotTesting CGPath.swift
[98/382] Compiling SnapshotTesting PlistEncoder.swift
[99/382] Compiling SnapshotTesting String+SpecialCharacters.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[106/382] Compiling ConcurrencyExtras LockIsolated.swift
[107/383] Emitting module ConcurrencyExtras
[110/383] Compiling ConcurrencyExtras Result.swift
[111/383] Compiling ConcurrencyExtras Task.swift
[112/383] Compiling ConcurrencyExtras MainSerialExecutor.swift
[114/383] Compiling x_x509a.cc
[116/383] Compiling ConcurrencyExtras UncheckedSendable.swift
[117/384] Compiling HTTPTypes HTTPFieldName.swift
[118/384] Compiling HTTPTypes ISOLatin1String.swift
[129/385] Emitting module IssueReporting
[130/385] Emitting module HTTPTypes
[133/450] Compiling x_val.cc
[135/450] Compiling HTTPTypes NIOLock.swift
[135/450] Compiling x_x509.cc
[137/450] Compiling HTTPTypes HTTPParsedFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/450] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[139/450] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[140/450] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[141/450] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[142/450] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[143/450] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:526:10: error: no such module 'CoreServices'
524 |
525 | #if !os(Android) && !os(Linux) && !os(Windows)
526 |   import CoreServices
    |          `- error: no such module 'CoreServices'
527 |
528 |   func uniformTypeIdentifier(fromExtension pathExtension: String) -> String? {
[143/450] Compiling x_spki.cc
[143/450] Compiling x_sig.cc
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mock.swift:308:42: error: cannot find type 'URLRequest' in scope
306 |
307 |     /// Used to compare the Mock data with the given `URLRequest`.
308 |     static func == (mock: Mock, request: URLRequest) -> Bool {
    |                                          `- error: cannot find type 'URLRequest' in scope
309 |         guard let requestHTTPMethod = Mock.HTTPMethod(rawValue: request.httpMethod ?? "") else { return false }
310 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:25: error: cannot find 'DispatchQueue' in scope
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                         `- error: cannot find 'DispatchQueue' in scope
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:75:88: error: cannot infer contextual base in reference to member 'concurrent'
 73 |
 74 |     /// For Thread Safety access.
 75 |     private let queue = DispatchQueue(label: "mocker.mocks.access.queue", attributes: .concurrent)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'concurrent'
 76 |
 77 |     private init() {
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:108:48: error: cannot find type 'URLRequest' in scope
106 |     /// - Parameter url: The URL to check for.
107 |     /// - Returns: `true` if it should be mocked, `false` if the URL is registered as ignored.
108 |     public static func shouldHandle(_ request: URLRequest) -> Bool {
    |                                                `- error: cannot find type 'URLRequest' in scope
109 |         switch mode {
110 |         case .optout:
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:132:35: error: cannot find type 'URLRequest' in scope
130 |     /// - Parameter request: The request to search for a mock.
131 |     /// - Returns: A mock if found, `nil` if there's no mocked data registered for the given request.
132 |     static func mock(for request: URLRequest) -> Mock? {
    |                                   `- error: cannot find type 'URLRequest' in scope
133 |         shared.queue.sync {
134 |             /// First check for specific URLs
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:79:25: error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
 77 |     private init() {
 78 |         // Whenever someone is requesting the Mocker, we want the URL protocol to be activated.
 79 |         _ = URLProtocol.registerClass(MockingURLProtocol.self)
    |                         `- error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
 80 |     }
 81 |
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:86:36: error: cannot infer contextual base in reference to member 'barrier'
 84 |     /// - Parameter mock: The Mock to be registered for future requests.
 85 |     public static func register(_ mock: Mock) {
 86 |         shared.queue.async(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 87 |             /// Delete the Mock if it was already registered.
 88 |             shared.mocks.removeAll(where: { $0 == mock })
/host/spi-builder-workspace/.build/checkouts/Mocker/Sources/Mocker/Mocker.swift:98:36: error: cannot infer contextual base in reference to member 'barrier'
 96 |     /// - Parameter ignoreQuery: If `true`, checking the URL will ignore the query and match only for the scheme, host and path. Defaults to `false`.
 97 |     public static func ignore(_ url: URL, ignoreQuery: Bool = false) {
 98 |         shared.queue.async(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 99 |             let rule = IgnoredRule(urlToIgnore: url, ignoreQuery: ignoreQuery)
100 |             shared.ignoredRules.append(rule)
BUILD FAILURE 6.1 wasm