Build Information
Failed to build Supabase, reference main (528202), with Swift 6.3 for Wasm on 2 Nov 2026 07:29:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase/supabase-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/supabase/supabase-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5282025 ci: move all runners to Blacksmith (#1683)
Cloned https://github.com/supabase/supabase-swift.git
Revision (git rev-parse @):
52820255c243939faa5ceef4a94d0fdc470c2bea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/supabase/supabase-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/supabase/supabase-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/21-DOT-DEV/swift-secp256k1.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/1002] Fetching swift-macro-testing
[2/2915] Fetching swift-macro-testing, mocker
[1233/4033] Fetching swift-macro-testing, mocker, swift-concurrency-extras
[4034/6760] Fetching swift-macro-testing, mocker, swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/WeTransfer/Mocker from cache (0.72s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/12270] Fetching swift-secp256k1
[370/17939] Fetching swift-secp256k1, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.51s)
Fetching https://github.com/pointfreeco/swift-clocks
[1228/28881] Fetching swift-secp256k1, swift-snapshot-testing
[10643/30591] Fetching swift-secp256k1, swift-snapshot-testing, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.48s)
Fetching https://github.com/apple/swift-http-types.git
[12960/28881] Fetching swift-secp256k1, swift-snapshot-testing
[28882/30842] Fetching swift-secp256k1, swift-snapshot-testing, swift-http-types
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (2.24s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.53s)
Fetched https://github.com/21-DOT-DEV/swift-secp256k1.git from cache (2.25s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (2.39s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.39s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.42s)
[1/8315] Fetching swift-log
[2/27184] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
[2076/18869] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.30s)
[1/81484] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.99s)
Computing version for https://github.com/21-DOT-DEV/swift-secp256k1.git
Computed https://github.com/21-DOT-DEV/swift-secp256k1.git at 0.24.0 (7.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.22s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.91s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.7.0 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.27s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.3 (0.15s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.15s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.15s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.67s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.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.7.3
Creating working copy for https://github.com/21-DOT-DEV/swift-secp256k1.git
Working copy of https://github.com/21-DOT-DEV/swift-secp256k1.git resolved at 0.24.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.3
Building for debugging...
[0/846] Write sources
[23/846] Copying PrivacyInfo.xcprivacy
[24/846] Write sources
[44/846] Compiling _SwiftSyntaxCShims PlatformMutex.c
[45/846] Write swift-version-24593BA9C3E375BF.txt
[46/846] Compiling CXKCPShims shims.c
[47/846] Compiling KeccakSponge.c
[48/846] Compiling KeccakHash.c
[49/846] Compiling SimpleFIPS202.c
[50/846] Compiling fiat_p256_adx_sqr.S
[51/846] Compiling fiat_p256_adx_mul.S
[52/851] Compiling fiat_curve25519_adx_square.S
[54/858] Emitting module SwiftSyntax602
[55/860] Emitting module SwiftSyntax509
[55/860] Compiling KeccakP-1600-opt64.c
[57/891] Compiling SnapshotTesting NSImage.swift
[58/891] Compiling SnapshotTesting NSView.swift
[59/891] Compiling SnapshotTesting NSViewController.swift
[60/891] Compiling SnapshotTesting SceneKit.swift
[61/895] Emitting module SwiftSyntax510
[62/895] Compiling SwiftSyntax510 Empty.swift
[63/896] Compiling SwiftSyntax509 Empty.swift
[64/897] Compiling SwiftSyntax603 Empty.swift
[65/897] Emitting module SwiftSyntax603
[66/897] Compiling SwiftSyntax600 Empty.swift
[67/897] Emitting module SwiftSyntax600
[71/899] Compiling SwiftSyntax604 Empty.swift
[72/899] Emitting module SwiftSyntax604
[74/900] Compiling SwiftSyntax602 Empty.swift
[77/903] Emitting module SwiftSyntax601
[78/904] Compiling SwiftSyntax601 Empty.swift
[80/929] Emitting module SnapshotTesting
[81/994] Compiling Logging LoggingSystem.swift
[82/995] Compiling ConcurrencyExtras AsyncStream.swift
[83/995] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[84/995] Compiling Logging Logger+Attributes.swift
[85/995] Compiling Logging Logger+With.swift
[86/995] Compiling Logging Logger.swift
[87/995] Emitting module Logging
[88/995] Compiling ConcurrencyExtras Locking.swift
[89/995] Compiling ConcurrencyExtras UncheckedBox.swift
[90/995] Compiling ConcurrencyExtras ActorIsolated.swift
[91/995] Compiling ConcurrencyExtras AnyHashableSendable.swift
[92/995] Compiling Logging MetadataProvider.swift
[94/996] Compiling Mocker XCTest+Mocker.swift
[95/996] Emitting module Mocker
[97/996] Compiling IssueReporting SwiftTesting.swift
[98/996] Compiling IssueReporting UncheckedSendable.swift
[99/996] Compiling IssueReporting Warn.swift
[100/996] Compiling IssueReporting XCTest.swift
[101/996] Compiling IssueReporting IsTesting.swift
[102/996] Compiling IssueReporting IssueReporter.swift
[103/996] Compiling IssueReporting IssueSeverity.swift
[104/996] Compiling IssueReporting ReportIssue.swift
[105/1020] Compiling Mocker OnRequestHandler.swift
[106/1030] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[107/1030] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[108/1030] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[109/1030] Compiling SnapshotTesting URLRequest.swift
[110/1032] Compiling Mocker MockingURLProtocol.swift
[111/1037] Compiling Mocker Mock+DataType.swift
[112/1044] Compiling Mocker Mocker.swift
[113/1047] Compiling Mocker Mock.swift
[114/1061] Compiling SwiftSyntax TokenSequence.swift
[115/1061] Compiling SwiftSyntax TokenSyntax.swift
[116/1061] Compiling SwiftSyntax Trivia+commentValue.swift
[117/1061] Compiling SwiftSyntax Trivia.swift
[118/1061] Compiling SwiftSyntax Identifier.swift
[119/1061] Compiling SwiftSyntax MemoryLayout.swift
[120/1061] Compiling SwiftSyntax MissingNodeInitializers.swift
[121/1061] Compiling SwiftSyntax RawSyntax.swift
[122/1061] Compiling SwiftSyntax RawSyntaxArena.swift
[123/1061] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[124/1061] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[125/1061] Compiling SwiftSyntax RawSyntaxTokenView.swift
[126/1061] Wrapping AST for SwiftSyntax604 for debugging
[127/1061] Wrapping AST for SwiftSyntax603 for debugging
[128/1061] Wrapping AST for SwiftSyntax602 for debugging
[129/1061] Wrapping AST for SwiftSyntax601 for debugging
[130/1061] Wrapping AST for SwiftSyntax600 for debugging
[131/1061] Wrapping AST for SwiftSyntax510 for debugging
[133/1061] Compiling HTTPTypes HTTPRequest.swift
[134/1061] Compiling HTTPTypes HTTPRequest+URL.swift
[135/1062] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[136/1062] Compiling SwiftSyntax Assert.swift
[137/1062] Compiling ConcurrencyExtras MainSerialExecutor.swift
[138/1063] Compiling ConcurrencyExtras LockIsolated.swift
[138/1063] Wrapping AST for SwiftSyntax509 for debugging
[139/1063] Compiling fiat_curve25519_adx_mul.S
[141/1063] Compiling SwiftSyntax BumpPtrAllocator.swift
[142/1063] Compiling SwiftSyntax CommonAncestor.swift
[143/1063] Compiling ConcurrencyExtras Result.swift
[144/1063] Compiling ConcurrencyExtras Task.swift
[144/1063] Compiling md5-x86_64-linux.S
[146/1063] Compiling SwiftSyntax Convenience.swift
[147/1063] Compiling SwiftSyntax CustomTraits.swift
[148/1063] Compiling SwiftSyntax EditorPlaceholder.swift
[149/1065] Compiling SwiftSyntax AbsolutePosition.swift
[150/1065] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[151/1065] Emitting module ConcurrencyExtras
[152/1065] Compiling HTTPTypes HTTPParsedFields.swift
[152/1065] Compiling md5-x86_64-apple.S
[154/1065] Compiling SwiftSyntax SyntaxNodeStructure.swift
[155/1065] Compiling SwiftSyntax SyntaxProtocol.swift
[156/1065] Compiling SwiftSyntax SyntaxText.swift
[159/1065] Compiling ConcurrencyExtras UncheckedSendable.swift
[159/1066] Compiling md5-586-linux.S
[161/1066] Compiling md5-586-apple.S
[163/1066] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[164/1066] Compiling SwiftSyntax TokenDiagnostic.swift
[168/1066] Compiling chacha20_poly1305_x86_64-linux.S
[174/1066] Emitting module IssueReporting
[179/1068] Compiling chacha20_poly1305_x86_64-apple.S
[180/1069] Compiling chacha20_poly1305_armv8-win.S
[183/1069] Emitting module HTTPTypes
[183/1069] Compiling chacha20_poly1305_armv8-linux.S
[185/1069] Emitting module IssueReporting
[185/1069] Compiling chacha20_poly1305_armv8-apple.S
[186/1069] Compiling err_data.cc
[187/1069] Compiling chacha-x86_64-linux.S
[188/1069] Compiling chacha-x86_64-apple.S
[190/1069] Compiling HTTPTypes HTTPFieldValue.swift
[191/1069] Compiling HTTPTypes HTTPFields.swift
[191/1069] Compiling chacha-x86-linux.S
[192/1069] Compiling chacha-armv8-win.S
[193/1069] Compiling chacha-x86-apple.S
[194/1069] Compiling chacha-armv8-linux.S
[195/1069] Compiling chacha-armv8-apple.S
[196/1069] Compiling chacha-armv4-linux.S
[197/1069] Compiling aes128gcmsiv-x86_64-apple.S
[198/1069] Compiling aes128gcmsiv-x86_64-linux.S
[199/1069] Compiling x86_64-mont5-linux.S
[201/1069] Compiling IssueReporting WithExpectedIssue.swift
[202/1069] Compiling IssueReporting WithIssueContext.swift
[202/1069] Compiling x86_64-mont5-apple.S
[204/1069] Compiling HTTPTypes HTTPResponse.swift
[204/1069] Compiling x86_64-mont-apple.S
[205/1070] Compiling x86_64-mont-linux.S
[212/1071] Compiling x86-mont-linux.S
[214/1071] Compiling x86-mont-apple.S
[215/1071] Compiling vpaes-x86_64-linux.S
[216/1071] Compiling vpaes-x86_64-apple.S
[218/1071] Compiling vpaes-x86-linux.S
[219/1071] Compiling vpaes-x86-apple.S
[220/1071] Compiling vpaes-armv8-win.S
[221/1071] Compiling vpaes-armv8-linux.S
[222/1071] Compiling vpaes-armv8-apple.S
[223/1085] Compiling sha512-x86_64-linux.S
[224/1090] Compiling vpaes-armv7-linux.S
[225/1113] Compiling sha512-x86_64-apple.S
[227/1113] Compiling Clocks Timer.swift
[227/1114] Compiling sha512-armv8-win.S
[229/1114] Compiling Clocks ImmediateClock.swift
[229/1114] Compiling sha512-armv8-linux.S
[230/1114] Compiling sha512-armv8-apple.S
[232/1114] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[233/1114] Compiling CustomDump GameKit.swift
[234/1114] Compiling CustomDump KeyPath.swift
[235/1114] Compiling CustomDump Photos.swift
[236/1114] Compiling CustomDump Speech.swift
[237/1114] Compiling CustomDump UniformTypeIdentifiers.swift
[238/1114] Compiling CustomDump UserNotifications.swift
[239/1114] Compiling CustomDump UserNotificationsUI.swift
[240/1114] Compiling CustomDump CustomDumpReflectable.swift
[240/1117] Compiling sha512-armv4-linux.S
[242/1117] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[243/1117] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[244/1117] Compiling Clocks AnyClock.swift
[244/1117] Compiling sha512-586-linux.S
[246/1117] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[247/1117] Emitting module HTTPTypesFoundation
[247/1117] Compiling sha512-586-apple.S
[249/1117] Emitting module Clocks
[249/1117] Compiling sha256-x86_64-linux.S
[251/1117] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[252/1118] Compiling sha256-x86_64-apple.S
[252/1118] Compiling sha256-armv8-win.S
[255/1118] Compiling CustomDump StoreKit.swift
[256/1118] Compiling CustomDump Swift.swift
[257/1118] Compiling CustomDump SwiftUI.swift
[258/1118] Compiling CustomDump UIKit.swift
[259/1118] Compiling CustomDump Identifiable.swift
[260/1118] Compiling CustomDump Mirror.swift
[261/1118] Compiling CustomDump String.swift
[261/1118] Compiling sha256-armv8-linux.S
[262/1118] Compiling sha256-armv4-linux.S
[262/1118] Compiling sha256-armv8-apple.S
[265/1118] Compiling Clocks Lock.swift
[265/1118] Compiling sha256-586-linux.S
[266/1118] Compiling sha256-586-apple.S
[268/1119] Compiling CustomDump CoreImage.swift
[269/1119] Compiling CustomDump CoreLocation.swift
[270/1119] Compiling CustomDump CoreMotion.swift
[271/1119] Compiling CustomDump Foundation.swift
[272/1119] Compiling CustomDump ExpectDifference.swift
[273/1119] Compiling CustomDump ExpectNoDifference.swift
[274/1119] Compiling CustomDump AnyType.swift
[275/1119] Compiling CustomDump CollectionDifference.swift
[275/1119] Compiling sha1-x86_64-linux.S
[276/1119] Compiling sha1-x86_64-apple.S
[278/1119] Compiling Clocks UnimplementedClock.swift
[279/1119] Compiling CustomDump Unordered.swift
[280/1119] Compiling CustomDump XCTAssertDifference.swift
[281/1119] Compiling CustomDump XCTAssertNoDifference.swift
[282/1119] Emitting module CustomDump
[282/1119] Compiling sha1-armv8-linux.S
[283/1119] Compiling sha1-armv8-win.S
[285/1137] Compiling Clocks _AsyncTimerSequence.swift
[286/1137] Compiling Clocks SwiftUI.swift
[287/1137] Compiling Clocks TestClock.swift
[287/1150] Compiling sha1-armv8-apple.S
[288/1150] Compiling sha1-armv4-large-linux.S
[290/1150] Compiling Helpers JWT.swift
[291/1150] Compiling Helpers HTTPFields.swift
[292/1150] Compiling Helpers LoggerInterceptor.swift
[293/1150] Compiling Helpers URLSessionTransport.swift
[294/1150] Compiling Helpers JSONValue+Codable.swift
[295/1150] Compiling Helpers JSONValue.swift
[297/1150] Compiling Helpers APIKeyFormat.swift
[298/1150] Compiling Helpers Base64URL.swift
[305/1151] Compiling Helpers RetryPolicy.swift
[306/1151] Compiling Helpers RetryRequestInterceptor.swift
[307/1151] Compiling Helpers EventEmitter.swift
[308/1151] Emitting module Helpers
/host/spi-builder-workspace/Sources/Helpers/Version.swift:48:27: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
46 | return "\(majorVersion).\(minorVersion).\(patchVersion)"
47 | #elseif os(Linux) || os(Android)
48 | if let version = try? String(contentsOfFile: "/proc/version") {
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
49 | return version.trimmingCharacters(in: .whitespacesAndNewlines)
50 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[308/1163] Compiling sha1-586-linux.S
[310/1163] Compiling Helpers AccessTokenMiddleware.swift
[311/1163] Compiling Helpers ClientTransport.swift
[311/1163] Compiling sha1-586-apple.S
[312/1163] Compiling rsaz-avx2-apple.S
[313/1163] Compiling rsaz-avx2-linux.S
[315/1163] Compiling Logging LoggingSystem.swift
[315/1163] Compiling rdrand-x86_64-linux.S
[316/1163] Compiling rdrand-x86_64-apple.S
[317/1163] Compiling p256_beeu-x86_64-asm-linux.S
[318/1163] Compiling p256_beeu-x86_64-asm-apple.S
[319/1163] Compiling p256_beeu-armv8-asm-win.S
[320/1163] Compiling p256_beeu-armv8-asm-linux.S
[321/1163] Compiling p256_beeu-armv8-asm-apple.S
[322/1163] Compiling p256-x86_64-asm-apple.S
[323/1163] Compiling p256-x86_64-asm-linux.S
[324/1163] Compiling p256-armv8-asm-win.S
[325/1163] Compiling p256-armv8-asm-linux.S
[326/1163] Compiling p256-armv8-asm-apple.S
[327/1163] Compiling ghashv8-armv8-win.S
[328/1163] Compiling ghashv8-armv8-linux.S
[329/1163] Compiling ghashv8-armv8-apple.S
[330/1163] Compiling ghashv8-armv7-linux.S
[334/1163] Compiling Helpers ClientInfoFeature.swift
[335/1163] Compiling Helpers Codable.swift
[336/1163] Compiling Helpers DateFormatter.swift
[337/1163] Compiling Helpers HTTPBody.swift
[338/1163] Compiling Helpers HTTPBodyOutputStreamBridge.swift
[339/1163] Compiling Helpers HTTPClient.swift
[340/1163] Compiling Helpers HTTPClientConfiguration.swift
[341/1163] Compiling Logging Logger+Attributes.swift
[342/1163] Compiling Logging Logger+With.swift
[343/1163] Compiling Logging Logger.swift
[343/1163] Compiling ghash-x86_64-linux.S
[344/1163] Compiling ghash-x86_64-apple.S
[345/1163] Compiling ghash-x86-linux.S
[346/1163] Compiling ghash-x86-apple.S
[348/1163] Compiling Helpers Task+withTimeout.swift
/host/spi-builder-workspace/Sources/Helpers/Version.swift:48:27: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
46 | return "\(majorVersion).\(minorVersion).\(patchVersion)"
47 | #elseif os(Linux) || os(Android)
48 | if let version = try? String(contentsOfFile: "/proc/version") {
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
49 | return version.trimmingCharacters(in: .whitespacesAndNewlines)
50 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[348/1163] Compiling ghash-ssse3-x86_64-linux.S
[350/1163] Compiling Helpers TaskStorage.swift
/host/spi-builder-workspace/Sources/Helpers/Version.swift:48:27: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
46 | return "\(majorVersion).\(minorVersion).\(patchVersion)"
47 | #elseif os(Linux) || os(Android)
48 | if let version = try? String(contentsOfFile: "/proc/version") {
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
49 | return version.trimmingCharacters(in: .whitespacesAndNewlines)
50 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[351/1163] Compiling Helpers Version.swift
/host/spi-builder-workspace/Sources/Helpers/Version.swift:48:27: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
46 | return "\(majorVersion).\(minorVersion).\(patchVersion)"
47 | #elseif os(Linux) || os(Android)
48 | if let version = try? String(contentsOfFile: "/proc/version") {
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
49 | return version.trimmingCharacters(in: .whitespacesAndNewlines)
50 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[352/1163] Compiling Helpers resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Helpers/Version.swift:48:27: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
46 | return "\(majorVersion).\(minorVersion).\(patchVersion)"
47 | #elseif os(Linux) || os(Android)
48 | if let version = try? String(contentsOfFile: "/proc/version") {
| `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
49 | return version.trimmingCharacters(in: .whitespacesAndNewlines)
50 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[352/1163] Compiling ghash-ssse3-x86_64-apple.S
[353/1163] Compiling ghash-ssse3-x86-linux.S
[359/1163] Compiling ghash-neon-armv8-win.S
[360/1163] Compiling ghash-ssse3-x86-apple.S
[361/1163] Compiling ghash-neon-armv8-linux.S
[362/1163] Compiling ghash-neon-armv8-apple.S
[363/1163] Compiling ghash-armv4-linux.S
[364/1163] Compiling co-586-linux.S
[365/1163] Compiling bsaes-armv7-linux.S
[366/1163] Compiling co-586-apple.S
[367/1163] Compiling bn-armv8-win.S
[368/1163] Compiling bn-armv8-apple.S
[368/1163] Compiling bn-armv8-linux.S
[371/1163] Emitting module Logging
[372/1163] Compiling Logging MetadataProvider.swift
[372/1163] Compiling bn-586-linux.S
/host/spi-builder-workspace/Sources/Helpers/HTTP/ClientTransport.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 | public import HTTPTypes
10 |
[375/1163] Compiling Helpers Exports.swift
/host/spi-builder-workspace/Sources/Helpers/HTTP/ClientTransport.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 | public import HTTPTypes
10 |
[376/1163] Compiling Helpers FoundationExtensions.swift
/host/spi-builder-workspace/Sources/Helpers/HTTP/ClientTransport.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 | public import HTTPTypes
10 |
/host/spi-builder-workspace/Sources/Helpers/HTTP/ClientTransport.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 | public import HTTPTypes
10 |
/host/spi-builder-workspace/Sources/Helpers/HTTP/ClientTransport.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 | public import HTTPTypes
10 |
[382/1164] Compiling bn-586-apple.S
[383/1164] Compiling armv8-mont-win.S
[384/1164] Compiling armv8-mont-linux.S
[386/1164] Compiling Helpers DefaultLogger.swift
[387/1164] Compiling Helpers OSLogHandler.swift
[388/1164] Compiling Helpers Trace.swift
[389/1164] Compiling Helpers PostgRESTFilterValue.swift
[390/1164] Compiling Helpers HTTPErrorResponse.swift
[391/1164] Compiling Helpers PostgrestError.swift
[392/1164] Compiling Helpers SupabaseError.swift
[393/1164] Compiling Helpers Task+Immediate.swift
[394/1164] Compiling armv8-mont-apple.S
[395/1164] Compiling armv4-mont-linux.S
[396/1164] Compiling aesv8-gcm-armv8-win.S
[397/1164] Compiling aesv8-gcm-armv8-linux.S
[402/1164] Compiling aesv8-armv8-linux.S
[403/1164] Compiling aesv8-armv8-win.S
[404/1165] Compiling aesv8-gcm-armv8-apple.S
[405/1165] Compiling aesv8-armv7-linux.S
[407/1165] Compiling aesv8-armv8-apple.S
[408/1165] Compiling aesni-x86_64-linux.S
[409/1165] Compiling aesni-x86_64-apple.S
[410/1165] Compiling aesni-x86-apple.S
[411/1165] Compiling aesni-gcm-x86_64-apple.S
[411/1165] Compiling aesni-x86-linux.S
/host/spi-builder-workspace/Sources/Helpers/HTTP/URLSessionTransport.swift:9:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
7 |
8 | import ConcurrencyExtras
9 | public import Foundation
| `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
10 | public import HTTPTypes
11 | import HTTPTypesFoundation
/host/spi-builder-workspace/Sources/Helpers/HTTP/URLSessionTransport.swift:9:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
7 |
8 | import ConcurrencyExtras
9 | public import Foundation
| `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
10 | public import HTTPTypes
11 | import HTTPTypesFoundation
/host/spi-builder-workspace/Sources/Helpers/HTTP/URLSessionTransport.swift:9:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
7 |
8 | import ConcurrencyExtras
9 | public import Foundation
| `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
10 | public import HTTPTypes
11 | import HTTPTypesFoundation
/host/spi-builder-workspace/Sources/Helpers/HTTP/URLSessionTransport.swift:9:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
7 |
8 | import ConcurrencyExtras
9 | public import Foundation
| `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
10 | public import HTTPTypes
11 | import HTTPTypesFoundation
[422/1165] Compiling aesni-gcm-x86_64-linux.S
[426/1165] Compiling aes-gcm-avx512-x86_64-linux.S
[428/1165] Compiling SwiftSyntax SourceLength.swift
[429/1165] Compiling SwiftSyntax SourceLocation.swift
[430/1165] Compiling SwiftSyntax SourcePresence.swift
[431/1165] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[432/1165] Compiling SwiftSyntax Syntax.swift
[433/1165] Compiling SwiftSyntax SyntaxChildren.swift
[434/1165] Compiling SwiftSyntax SyntaxCollection.swift
[435/1165] Compiling SwiftSyntax SyntaxHashable.swift
[436/1165] Compiling SwiftSyntax SyntaxIdentifier.swift
[436/1165] Compiling aes-gcm-avx2-x86_64-linux.S
[437/1165] Compiling aes-gcm-avx2-x86_64-apple.S
[438/1165] Compiling aes-gcm-avx512-x86_64-apple.S
[451/1168] Emitting module SnapshotTestingCustomDump
[457/1169] Compiling SnapshotTestingCustomDump CustomDump.swift
[458/1194] Compiling xwing.cc
[459/1226] Compiling x_x509.cc
[460/1226] Compiling x_spki.cc
[461/1236] Compiling x_sig.cc
[463/1236] Compiling PostgREST PostgrestFilter+ComparisonOperators.swift
[464/1236] Compiling PostgREST PostgrestFilter+Pattern.swift
[465/1236] Compiling PostgREST PostgrestFilter.swift
[466/1239] Compiling Functions FunctionResponse.swift
/host/spi-builder-workspace/Sources/Functions/FunctionResponse.swift:10:8: warning: public import of 'Helpers' was not used in public declarations or inlinable code
8 | public import Foundation
9 | public import HTTPTypes
10 | public import Helpers
| `- warning: public import of 'Helpers' was not used in public declarations or inlinable code
11 |
12 | /// The buffered answer to an invocation: the status, every header and the body.
[466/1240] Compiling x_x509a.cc
[468/1240] Compiling PostgREST PostgrestSource.swift
[469/1240] Compiling PostgREST PostgrestUpdate.swift
[470/1240] Compiling PostgREST PostgrestRelation.swift
[471/1240] Compiling PostgREST PostgrestSchema.swift
[472/1244] Compiling Functions FunctionsAPI.swift
[473/1244] Compiling Functions HTTPField+Functions.swift
[474/1244] Compiling Functions Exports.swift
[475/1244] Compiling Functions FunctionBody.swift
[476/1244] Emitting module Functions
[476/1244] Compiling x_req.cc
[478/1244] Compiling Functions FunctionsClient.swift
/host/spi-builder-workspace/Sources/Functions/FunctionsClient.swift:8:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
6 |
7 | #if canImport(FoundationNetworking)
8 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
9 | #endif
10 |
[479/1244] Compiling Functions FunctionsError.swift
/host/spi-builder-workspace/Sources/Functions/FunctionsError.swift:8:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
6 | //
7 |
8 | public import Foundation
| `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
9 | public import Helpers
10 |
[480/1244] Compiling Functions FunctionStreamResponse.swift
[481/1244] Compiling Functions FunctionInvokeOptions.swift
[482/1244] Compiling Functions FunctionRegion.swift
[483/1245] Compiling PostgREST PostgrestQuery.swift
[484/1245] Compiling PostgREST PostgrestRawQuery.swift
[485/1245] Compiling PostgREST PostgrestSchemaScope.swift
[486/1245] Compiling PostgREST PostgrestSource+Unavailable.swift
[487/1245] Emitting module PostgREST
[489/1245] Compiling PostgREST PostgrestFilterableRequest.swift
[490/1245] Compiling PostgREST PostgrestMutation.swift
[491/1245] Compiling PostgREST PostgrestQuery+Where.swift
[492/1245] Emitting module Realtime
[492/1245] Compiling x_name.cc
[497/1245] Compiling PostgREST PostgrestFilterOperator.swift
[498/1245] Compiling PostgREST PostgrestFilterValue.swift
[498/1245] Compiling x_pubkey.cc
[500/1245] Compiling PostgREST PostgrestDerivedExpression.swift
[501/1245] Compiling PostgREST PostgrestOrdering.swift
[502/1245] Compiling PostgREST PostgrestRelatedColumns.swift
[503/1245] Compiling PostgREST Exports.swift
[512/1245] Compiling x_exten.cc
[514/1245] Compiling Realtime URLSessionWebSocketTransport.swift
/host/spi-builder-workspace/Sources/PostgREST/Untyped/PostgrestClient.swift:7:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
5 |
6 | #if canImport(FoundationNetworking)
7 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
8 | #endif
9 |
[515/1245] Compiling Realtime WebSocketTransport.swift
/host/spi-builder-workspace/Sources/PostgREST/Untyped/PostgrestClient.swift:7:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
5 |
6 | #if canImport(FoundationNetworking)
7 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
8 | #endif
9 |
[516/1245] Compiling Realtime Types.swift
/host/spi-builder-workspace/Sources/PostgREST/Untyped/PostgrestClient.swift:7:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
5 |
6 | #if canImport(FoundationNetworking)
7 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
8 | #endif
9 |
[517/1245] Compiling PostgREST PostgrestFilterBuilder.swift
/host/spi-builder-workspace/Sources/PostgREST/Untyped/PostgrestClient.swift:7:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
5 |
6 | #if canImport(FoundationNetworking)
7 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
8 | #endif
9 |
[518/1245] Compiling PostgREST PostgrestFilter+Collection.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeJoinConfig.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 |
10 | struct RealtimeJoinPayload: Encodable {
[519/1245] Compiling PostgREST PostgrestFilter+Comparison.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeJoinConfig.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 |
10 | struct RealtimeJoinPayload: Encodable {
[520/1245] Compiling PostgREST PostgrestEmbeddedScope.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeJoinConfig.swift:8:9: warning: package import of 'Foundation' was not used in package declarations
6 | //
7 |
8 | package import Foundation
| `- warning: package import of 'Foundation' was not used in package declarations
9 |
10 | struct RealtimeJoinPayload: Encodable {
[529/1245] Compiling x_crl.cc
[530/1245] Compiling x_attrib.cc
/host/spi-builder-workspace/Sources/Realtime/Types.swift:14:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
12 |
13 | #if canImport(FoundationNetworking)
14 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Realtime/Types.swift:14:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
12 |
13 | #if canImport(FoundationNetworking)
14 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
15 | #endif
16 |
/host/spi-builder-workspace/Sources/Realtime/Types.swift:14:10: warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
12 |
13 | #if canImport(FoundationNetworking)
14 | public import FoundationNetworking
| `- warning: public import of 'FoundationNetworking' was not used in public declarations or inlinable code
15 | #endif
16 |
[535/1245] Compiling PostgREST PostgrestQueryBuilder.swift
[536/1245] Compiling PostgREST PostgrestRequestBuilder.swift
[537/1245] Compiling PostgREST PostgrestTransformBuilder.swift
[538/1245] Compiling PostgREST Types.swift
[539/1246] Compiling x_all.cc
[540/1246] Compiling x509rset.cc
[541/1246] Compiling x509spki.cc
[542/1246] Compiling x_algor.cc
/host/spi-builder-workspace/Sources/Realtime/RealtimeChannel+Streams.swift:150:38: warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
148 | event: event, schema: schema, table: table, filter: rawFilter, select: select
149 | )
150 | return AsyncStream(changes.map { TypedPostgresChange(raw: $0, decoder: decoder) })
| `- warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
151 | }
152 |
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
/host/spi-builder-workspace/Sources/Realtime/RealtimeChannel+Streams.swift:150:38: warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
148 | event: event, schema: schema, table: table, filter: rawFilter, select: select
149 | )
150 | return AsyncStream(changes.map { TypedPostgresChange(raw: $0, decoder: decoder) })
| `- warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
151 | }
152 |
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
/host/spi-builder-workspace/Sources/Realtime/RealtimeChannel+Streams.swift:150:38: warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
148 | event: event, schema: schema, table: table, filter: rawFilter, select: select
149 | )
150 | return AsyncStream(changes.map { TypedPostgresChange(raw: $0, decoder: decoder) })
| `- warning: capture of non-Sendable type 'Row.Type' in an isolated closure [#SendableMetatypes]
151 | }
152 |
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[549/1247] Compiling x509name.cc
[551/1247] Compiling x509_vpm.cc
[552/1247] Compiling x509cset.cc
[553/1247] Compiling x509_req.cc
[554/1247] Compiling x509_vfy.cc
[555/1247] Compiling x509_trs.cc
[556/1247] Compiling x509_v3.cc
[557/1247] Compiling x509_txt.cc
[558/1247] Compiling x509_obj.cc
[559/1247] Compiling x509_cmp.cc
[560/1247] Compiling x509_set.cc
[561/1247] Compiling x509_def.cc
[562/1247] Compiling x509_d2.cc
[563/1247] Compiling x509_lu.cc
[564/1247] Compiling x509_ext.cc
[565/1247] Compiling v3_purp.cc
[566/1247] Compiling x509.cc
[567/1247] Compiling x509_att.cc
[568/1247] Compiling v3_utl.cc
[569/1247] Compiling v3_skey.cc
[570/1247] Compiling v3_pcons.cc
[571/1247] Compiling v3_pmaps.cc
[572/1247] Compiling v3_prn.cc
[573/1247] Compiling v3_ocsp.cc
[574/1247] Compiling v3_lib.cc
[575/1247] Compiling v3_extku.cc
[576/1247] Compiling v3_ncons.cc
[577/1247] Compiling v3_crld.cc
[578/1247] Compiling v3_int.cc
[579/1247] Compiling v3_info.cc
[580/1247] Compiling v3_cpols.cc
[581/1247] Compiling v3_ia5.cc
[582/1247] Compiling v3_enum.cc
[583/1247] Compiling v3_genn.cc
[584/1247] Compiling v3_bcons.cc
[585/1247] Compiling v3_akeya.cc
[586/1247] Compiling v3_conf.cc
[587/1247] Compiling v3_bitst.cc
[588/1247] Compiling v3_alt.cc
[589/1247] Compiling t_x509a.cc
[590/1247] Compiling t_crl.cc
[591/1247] Compiling v3_akey.cc
[592/1247] Compiling t_req.cc
[593/1247] Compiling t_x509.cc
[594/1247] Compiling i2d_pr.cc
[596/1247] Emitting module SwiftSyntax
[596/1247] Compiling rsa_pss.cc
[597/1247] Compiling name_print.cc
[598/1247] Compiling policy.cc
[599/1247] Compiling by_file.cc
[600/1247] Compiling asn1_gen.cc
[601/1247] Compiling by_dir.cc
[602/1247] Compiling a_verify.cc
[603/1247] Compiling algorithm.cc
[604/1247] Compiling a_digest.cc
[605/1247] Compiling pmbtoken.cc
[606/1247] Compiling voprf.cc
[607/1247] Compiling a_sign.cc
[608/1247] Compiling thread_win.cc
[609/1247] Compiling thread_pthread.cc
[610/1247] Compiling thread_none.cc
[611/1247] Compiling trust_token.cc
[612/1247] Compiling slhdsa.cc
[613/1247] Compiling thread.cc
[614/1247] Compiling stack.cc
[615/1247] Compiling sha1.cc
[616/1247] Compiling sha512.cc
[617/1247] Compiling sha256.cc
[618/1247] Compiling siphash.cc
[619/1247] Compiling spake2plus.cc
[620/1247] Compiling rc4.cc
[621/1247] Compiling rsa_extra.cc
[622/1247] Compiling refcount.cc
[623/1247] Compiling rsa_print.cc
[624/1247] Compiling rand.cc
[625/1247] Compiling trusty.cc
[626/1247] Compiling rsa_crypt.cc
[627/1247] Compiling windows.cc
[628/1247] Compiling passive.cc
[629/1247] Compiling getentropy.cc
[630/1247] Compiling urandom.cc
[631/1247] Compiling ios.cc
[632/1247] Compiling rsa_asn1.cc
[633/1247] Compiling poly1305_arm_asm.S
[634/1247] Compiling deterministic.cc
[635/1247] Compiling forkunsafe.cc
[636/1247] Compiling fork_detect.cc
[637/1247] Compiling poly1305.cc
[638/1247] Compiling pool.cc
[639/1247] Compiling poly1305_arm.cc
[640/1247] Compiling poly1305_vec.cc
[641/1247] Compiling pkcs8.cc
[642/1247] Compiling p5_pbev2.cc
[643/1247] Compiling pkcs7.cc
[644/1247] Compiling pem_x509.cc
[645/1247] Compiling pkcs8_x509.cc
[646/1247] Compiling pkcs7_x509.cc
[647/1247] Compiling pem_pkey.cc
[648/1247] Compiling pem_pk8.cc
[649/1247] Compiling pem_xaux.cc
[650/1247] Compiling pem_oth.cc
[651/1247] Compiling obj_xref.cc
[652/1247] Compiling pem_lib.cc
[653/1247] Compiling mlkem.cc
[654/1247] Compiling mldsa.cc
[655/1247] Compiling pem_all.cc
[656/1247] Compiling pem_info.cc
[657/1247] Compiling mem.cc
[658/1247] Compiling md4.cc
[659/1247] Compiling md5.cc
[660/1247] Compiling poly_rq_mul.S
[661/1247] Compiling fips_shared_support.cc
[662/1247] Compiling lhash.cc
[663/1247] Compiling kyber.cc
[664/1247] Compiling obj.cc
[665/1247] Compiling hpke.cc
[666/1247] Compiling fuzzer_mode.cc
[666/1247] Compiling hrss.cc
[668/1247] Compiling sign.cc
[669/1247] Compiling ex_data.cc
[670/1247] Compiling scrypt.cc
[671/1247] Compiling print.cc
[672/1247] Compiling pbkdf.cc
[673/1247] Compiling p_x25519.cc
[674/1247] Compiling p_rsa_asn1.cc
[675/1247] Compiling p_x25519_asn1.cc
[676/1247] Compiling p_hkdf.cc
[677/1247] Compiling p_rsa.cc
[678/1247] Compiling p_ed25519.cc
[679/1247] Compiling p_ec_asn1.cc
[680/1247] Compiling p_ed25519_asn1.cc
[681/1247] Compiling p_dsa_asn1.cc
[682/1247] Compiling p_dh.cc
[683/1247] Compiling evp_ctx.cc
[684/1247] Compiling p_ec.cc
[685/1247] Compiling p_dh_asn1.cc
[686/1247] Compiling evp.cc
[687/1247] Compiling err.cc
[688/1247] Compiling engine.cc
[689/1247] Compiling evp_asn1.cc
[690/1247] Compiling ecdh.cc
[691/1247] Compiling ecdsa_asn1.cc
[692/1247] Compiling ecdsa_p1363.cc
[693/1247] Compiling dsa.cc
[694/1247] Compiling dsa_asn1.cc
[695/1247] Compiling ec_derive.cc
[696/1247] Compiling hash_to_curve.cc
[697/1247] Compiling ec_asn1.cc
[698/1247] Compiling digest_extra.cc
[699/1247] Compiling des.cc
[700/1247] Compiling x25519-asm-arm.S
[701/1247] Compiling params.cc
[702/1247] Compiling dh_asn1.cc
[704/1247] Compiling SwiftSyntax SyntaxKind.swift
[705/1247] Compiling SwiftSyntax SyntaxRewriter.swift
[706/1247] Compiling SwiftSyntax SyntaxTraits.swift
[707/1247] Compiling SwiftSyntax SyntaxVisitor.swift
[708/1247] Compiling SwiftSyntax TokenKind.swift
[709/1247] Compiling SwiftSyntax Tokens.swift
[710/1247] Compiling SwiftSyntax TriviaPieces.swift
[711/1247] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[712/1247] Compiling SwiftSyntax RawSyntaxNodesC.swift
[712/1247] Compiling spake25519.cc
[713/1247] Compiling crypto.cc
[714/1247] Compiling cpu_arm_linux.cc
[715/1247] Compiling cpu_intel.cc
[716/1247] Compiling cpu_arm_freebsd.cc
[717/1247] Compiling curve25519.cc
[718/1247] Compiling curve25519_64_adx.cc
[719/1247] Compiling cpu_aarch64_openbsd.cc
[720/1247] Compiling cpu_aarch64_sysreg.cc
[721/1247] Compiling cpu_aarch64_win.cc
[722/1247] Compiling cpu_aarch64_linux.cc
[723/1247] Compiling cpu_aarch64_fuchsia.cc
[724/1247] Compiling cpu_aarch64_apple.cc
[725/1247] Compiling tls_cbc.cc
[726/1247] Compiling conf.cc
[727/1247] Compiling get_cipher.cc
[728/1247] Compiling e_rc4.cc
[729/1247] Compiling e_tls.cc
[730/1247] Compiling cms.cc
[731/1247] Compiling e_rc2.cc
[732/1247] Compiling e_des.cc
[733/1247] Compiling e_chacha20poly1305.cc
[734/1247] Compiling e_null.cc
[735/1247] Compiling e_aesgcmsiv.cc
[736/1247] Compiling e_aesctrhmac.cc
[737/1247] Compiling derive_key.cc
[738/1247] Compiling chacha.cc
[739/1247] Compiling e_aeseax.cc
[740/1247] Compiling cbb.cc
[741/1247] Compiling cbs.cc
[742/1247] Compiling asn1_compat.cc
[743/1247] Compiling buf.cc
[744/1247] Compiling ber.cc
[745/1247] Compiling unicode.cc
[746/1247] Compiling sqrt.cc
[747/1247] Compiling exponentiation.cc
[748/1247] Compiling div.cc
[749/1247] Compiling printf.cc
[750/1247] Compiling bn_asn1.cc
[751/1247] Compiling hexdump.cc
[752/1247] Compiling pair.cc
[753/1247] Compiling file.cc
[754/1247] Compiling convert.cc
[755/1247] Compiling blake2.cc
[756/1247] Compiling fd.cc
[757/1247] Compiling bio_mem.cc
[758/1247] Compiling bio.cc
[759/1247] Compiling errno.cc
[760/1247] Compiling base64.cc
[761/1247] Compiling tasn_fre.cc
[762/1247] Compiling tasn_utl.cc
[763/1247] Compiling tasn_new.cc
[764/1247] Compiling tasn_typ.cc
[765/1247] Compiling tasn_enc.cc
[766/1247] Compiling f_int.cc
[767/1247] Compiling f_string.cc
[768/1247] Compiling posix_time.cc
[769/1247] Compiling tasn_dec.cc
[770/1247] Compiling asn_pack.cc
[771/1247] Compiling asn1_par.cc
[772/1247] Compiling asn1_lib.cc
[774/1247] Compiling SwiftSyntax RawSyntaxNodesD.swift
[775/1247] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[776/1247] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[777/1247] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[778/1247] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[779/1247] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[780/1247] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[781/1247] Compiling SwiftSyntax RawSyntaxValidation.swift
[782/1247] Compiling SwiftSyntax SyntaxNodesAB.swift
[782/1247] Compiling a_time.cc
[783/1247] Compiling a_utctm.cc
[784/1247] Compiling a_type.cc
[785/1247] Compiling a_octet.cc
[786/1247] Compiling a_strex.cc
[786/1247] Compiling a_strnid.cc
[788/1247] Compiling a_i2d_fp.cc
[789/1247] Compiling a_object.cc
[790/1247] Compiling a_int.cc
[791/1247] Compiling a_mbstr.cc
[792/1247] Compiling a_gentm.cc
[793/1247] Compiling a_dup.cc
[794/1247] Write sources
[798/1247] Compiling _SwiftSyntaxCShims PlatformMutex.c
[799/1247] Write sources
[800/1247] Compiling a_d2i_fp.cc
[801/1249] Write sources
[803/1251] Emitting module SwiftSyntax604
[804/1251] Compiling SwiftSyntax604 Empty.swift
[805/1252] Emitting module SwiftSyntax603
[806/1252] Compiling SwiftSyntax603 Empty.swift
[807/1255] Compiling aes.cc
[809/1255] Compiling a_bool.cc
[810/1255] Write sources
[816/1255] Emitting module SwiftSyntax602
[817/1255] Compiling SwiftSyntax602 Empty.swift
[817/1262] Compiling a_bitstr.cc
[819/1262] Write sources
[822/1264] Emitting module SwiftSyntax509
[822/1264] Write sources
[822/1264] Copying PrivacyInfo.xcprivacy
[825/1264] Emitting module SwiftSyntax601
[826/1264] Compiling SwiftSyntax601 Empty.swift
[826/1264] Write sources
[833/1265] Compiling SwiftSyntax509 Empty.swift
[834/1265] Emitting module SwiftSyntax600
[835/1265] Compiling SwiftSyntax600 Empty.swift
[835/1265] Write sources
[841/1267] Compiling SwiftSyntax510 Empty.swift
[842/1267] Emitting module SwiftSyntax510
[844/1268] Write sources
[854/1419] Compiling ConcurrencyExtras LockIsolated.swift
[855/1420] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[856/1420] Compiling SwiftSyntax Syntax.swift
[857/1420] Compiling SwiftSyntax SyntaxChildren.swift
[858/1420] Compiling SwiftSyntax SyntaxCollection.swift
[859/1423] Compiling SwiftSyntax AbsolutePosition.swift
[860/1423] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[861/1423] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[862/1423] Compiling SwiftSyntax Assert.swift
[863/1423] Compiling SwiftSyntax BumpPtrAllocator.swift
[864/1423] Compiling SwiftSyntax CommonAncestor.swift
[865/1423] Compiling SwiftSyntax Convenience.swift
[866/1423] Compiling SwiftSyntax CustomTraits.swift
[867/1423] Compiling HTTPTypes HTTPRequest+URL.swift
[868/1423] Emitting module ConcurrencyExtras
[875/1424] Compiling ConcurrencyExtras Task.swift
[876/1424] Compiling ConcurrencyExtras Result.swift
[877/1424] Compiling ConcurrencyExtras MainSerialExecutor.swift
[878/1424] Compiling ConcurrencyExtras UncheckedSendable.swift
[879/1425] Compiling SwiftSyntax EditorPlaceholder.swift
[880/1425] Compiling SwiftSyntax SourceLength.swift
[881/1425] Compiling SwiftSyntax SourceLocation.swift
[882/1425] Compiling SwiftSyntax SourcePresence.swift
[884/1425] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[885/1425] Compiling SwiftSyntax RawSyntaxTokenView.swift
[886/1425] Compiling SwiftSyntax SourceEdit.swift
[887/1425] Compiling HTTPTypes HTTPParsedFields.swift
[887/1425] Write sources
[888/1425] Compiling CXKCPShims shims.c
[890/1425] Compiling SwiftSyntax SyntaxHashable.swift
[891/1425] Compiling SwiftSyntax SyntaxIdentifier.swift
[892/1425] Compiling SwiftSyntax Identifier.swift
[893/1425] Compiling SwiftSyntax MemoryLayout.swift
[894/1433] Compiling Clocks SwiftUI.swift
[895/1434] Compiling CustomDump Unordered.swift
[896/1434] Compiling CustomDump XCTAssertDifference.swift
[897/1434] Compiling CustomDump XCTAssertNoDifference.swift
[898/1434] Emitting module CustomDump
[899/1434] Compiling HTTPTypes HTTPRequest.swift
[900/1434] Compiling Clocks AnyClock.swift
[901/1434] Emitting module Clocks
[902/1434] Compiling Clocks ImmediateClock.swift
[903/1434] Compiling Clocks _AsyncTimerSequence.swift
[904/1434] Compiling Clocks Lock.swift
[907/1434] Emitting module HTTPTypes
[908/1434] Compiling HTTPTypes HTTPFields.swift
[909/1434] Compiling HTTPTypes HTTPFieldValue.swift
[912/1434] Compiling Clocks UnimplementedClock.swift
[913/1434] Compiling Clocks Timer.swift
[914/1434] Compiling Clocks TestClock.swift
[915/1435] Compiling SimpleFIPS202.c
[916/1435] Compiling KeccakSponge.c
[918/1435] Compiling HTTPTypes HTTPResponse.swift
[919/1436] Compiling KeccakHash.c
[921/1436] 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) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[922/1442] Compiling SwiftSyntax MissingNodeInitializers.swift
[923/1442] Compiling SwiftSyntax RawSyntax.swift
[924/1442] Compiling SwiftSyntax RawSyntaxArena.swift
[925/1442] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[926/1442] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
49 | @available(HTTPTypes 1.0, *)
50 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
52 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[927/1443] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[929/1443] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
49 | @available(HTTPTypes 1.0, *)
50 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
52 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:58:19: error: cannot find type 'URLSessionTaskDelegate' in scope
56 | public func data(
57 | for request: HTTPRequest,
58 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
59 | ) async throws -> (Data, HTTPResponse) {
60 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:79:19: error: cannot find type 'URLSessionTaskDelegate' in scope
77 | for request: HTTPRequest,
78 | fromFile fileURL: URL,
79 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
80 | ) async throws -> (Data, HTTPResponse) {
81 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:100:19: error: cannot find type 'URLSessionTaskDelegate' in scope
98 | for request: HTTPRequest,
99 | from bodyData: Data,
100 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
101 | ) async throws -> (Data, HTTPResponse) {
102 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:119:19: error: cannot find type 'URLSessionTaskDelegate' in scope
117 | public func download(
118 | for request: HTTPRequest,
119 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
120 | ) async throws -> (URL, HTTPResponse) {
121 | guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[930/1443] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[931/1443] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[932/1443] 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' 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' 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' 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' 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' 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' 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
[933/1443] 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:
[934/1443] Compiling Mocker Mock+DataType.swift
[935/1443] 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' 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' 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' 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' 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' 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' 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 | }
[935/1443] Compiling fiat_p256_adx_sqr.S
[936/1443] Compiling fiat_p256_adx_mul.S
[938/1443] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[938/1443] Compiling fiat_curve25519_adx_square.S
[939/1443] Compiling fiat_curve25519_adx_mul.S
[939/1443] Compiling KeccakP-1600-opt64.c
/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)
[939/1443] Compiling bcm.cc
BUILD FAILURE 6.3 wasm