The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Auth, reference 0.5.2 (077bf9), with Swift 6.3 for Android on 14 Apr 2026 04:14:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/barrault01/google-auth-library-swift.git
Reference: 0.5.2
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/barrault01/google-auth-library-swift
 * tag               0.5.2      -> FETCH_HEAD
HEAD is now at 077bf9b Bump crypto
Cloned https://github.com/barrault01/google-auth-library-swift.git
Revision (git rev-parse @):
077bf9b1f65311fbc6be34e8ba8b34ae0f8403b5
SUCCESS checkout https://github.com/barrault01/google-auth-library-swift.git at 0.5.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/barrault01/google-auth-library-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/attaswift/BigInt
[1/4878] Fetching bigint
[733/18219] Fetching bigint, cryptoswift
Fetched https://github.com/attaswift/BigInt from cache (0.58s)
[2135/13341] Fetching cryptoswift
[3470/96480] Fetching cryptoswift, swift-nio
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (7.04s)
Fetched https://github.com/apple/swift-nio.git from cache (7.13s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 4.0.0 (9.19s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.74s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/25357] Fetching swift-atomics, swift-collections
[3469/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[2590/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.56s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 4.0.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/76] Write sources
[13/76] Compiling CNIOWindows WSAStartup.c
[13/76] Write sources
[16/76] Compiling _AtomicsShims.c
[17/76] Write sources
[17/76] Copying PrivacyInfo.xcprivacy
[19/76] Write sources
[25/76] Compiling CNIOWindows shim.c
[26/76] Compiling CNIOWASI CNIOWASI.c
[27/76] Compiling CNIOLinux liburing_shims.c
[28/76] Compiling CNIOPosix event_loop_id.c
[29/76] Compiling CNIOOpenBSD shim.c
[30/76] Compiling CNIODarwin shim.c
[31/76] Compiling CNIOLLHTTP c_nio_http.c
[32/76] Write sources
[33/76] Compiling CNIOLinux shim.c
[34/76] Write sources
[35/76] Write swift-version--4F562202D5529B1.txt
[36/76] Compiling CNIOLLHTTP c_nio_api.c
[37/113] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/225] Emitting module _NIOBase64
[40/225] Emitting module InternalCollectionsUtilities
[40/227] Compiling c-nioatomics.c
[41/245] Compiling c-atomics.c
[43/252] Emitting module BigInt
[44/254] Compiling Atomics ManagedAtomic.swift
[45/254] Compiling Atomics ManagedAtomicLazyReference.swift
[46/255] Compiling Atomics IntegerOperations.swift
[47/255] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/256] Compiling Atomics AtomicInteger.swift
[49/256] Compiling Atomics AtomicOptionalWrappable.swift
[50/256] Compiling Atomics AtomicReference.swift
[51/256] Compiling Atomics OptionalRawRepresentable.swift
[52/256] Compiling Atomics RawRepresentable.swift
[53/256] Compiling Atomics AtomicBool.swift
[54/256] Compiling Atomics AtomicStorage.swift
[55/256] Compiling Atomics AtomicValue.swift
[56/256] Compiling Atomics AtomicMemoryOrderings.swift
[57/256] Compiling Atomics DoubleWord.swift
[58/256] Compiling Atomics IntegerConformances.swift
[59/256] Compiling Atomics PointerConformances.swift
[60/256] Compiling Atomics Primitives.native.swift
[67/256] Compiling Atomics UnsafeAtomic.swift
[68/256] Compiling Atomics UnsafeAtomicLazyReference.swift
[71/256] Emitting module SwiftyBase64
[83/257] Compiling SwiftyBase64 Alphabets.swift
[84/257] Compiling SwiftyBase64 Base64.swift
[85/257] Compiling NIOConcurrencyHelpers NIOLock.swift
[90/258] Compiling _NIOBase64 Base64.swift
[91/258] Compiling NIOConcurrencyHelpers lock.swift
[93/259] Emitting module _NIODataStructures
[94/259] Compiling _NIODataStructures Heap.swift
[96/259] Compiling _NIODataStructures PriorityQueue.swift
[97/259] Compiling _NIODataStructures _TinyArray.swift
[97/260] Wrapping AST for SwiftyBase64 for debugging
[99/261] Wrapping AST for _NIOBase64 for debugging
[100/293] Wrapping AST for InternalCollectionsUtilities for debugging
[101/293] Wrapping AST for _NIODataStructures for debugging
[103/293] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[104/293] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[105/293] Compiling NIOConcurrencyHelpers atomics.swift
[106/293] Compiling ContainersPreview Producer+Map.swift
[107/293] Compiling ContainersPreview Producer+Reduce.swift
[108/293] Compiling ContainersPreview Producer.swift
[109/293] Compiling ContainersPreview Borrow.swift
[110/293] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[111/293] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[112/293] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[113/293] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[114/293] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[115/293] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[116/293] Compiling ContainersPreview BorrowingSequence.swift
[117/293] Compiling ContainersPreview BidirectionalContainer.swift
[118/293] Compiling ContainersPreview Container+Filter.swift
[119/293] Compiling ContainersPreview Container+SpanwiseZip.swift
[120/297] Compiling ContainersPreview RangeReplaceableContainer.swift
[121/297] Compiling ContainersPreview Drain+Map.swift
[122/297] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[123/297] Emitting module NIOConcurrencyHelpers
[124/298] Compiling ContainersPreview Drain+Reduce.swift
[125/298] Compiling ContainersPreview Drain.swift
[126/298] Compiling ContainersPreview Producer+Collect.swift
[127/298] Compiling ContainersPreview Producer+Filter.swift
[128/298] Compiling ContainersPreview RandomAccessContainer.swift
[129/298] Compiling ContainersPreview RangeExpression2.swift
[132/298] Compiling ContainersPreview Container.swift
[133/298] Compiling ContainersPreview ContainerIterator.swift
[134/298] Compiling ContainersPreview DynamicContainer.swift
[135/298] Compiling ContainersPreview MutableContainer.swift
[136/298] Compiling ContainersPreview PermutableContainer.swift
[138/298] Compiling ContainersPreview Box.swift
[139/298] Compiling ContainersPreview Inout.swift
[140/298] Compiling ContainersPreview InputSpan.swift
[141/298] Compiling ContainersPreview Shared.swift
[142/298] Emitting module ContainersPreview
[143/298] Compiling ContainersPreview OutputSpan+Extras.swift
[144/298] Compiling ContainersPreview TemporaryAllocation.swift
[145/298] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[146/298] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[147/298] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[148/299] Wrapping AST for ContainersPreview for debugging
[149/299] Wrapping AST for NIOConcurrencyHelpers for debugging
[151/339] Compiling DequeModule RigidDeque+Hashable.swift
[152/339] Compiling DequeModule RigidDeque+Initializers.swift
[153/339] Emitting module Atomics
[154/339] Compiling DequeModule UniqueDeque+Consumption.swift
[155/339] Compiling DequeModule UniqueDeque+Container.swift
[156/339] Compiling DequeModule UniqueDeque+Descriptions.swift
[157/339] Compiling DequeModule UniqueDeque+Equatable.swift
[158/339] Compiling DequeModule UniqueDeque+Experimental.swift
[159/339] Compiling DequeModule UniqueDeque+Hashable.swift
[160/339] Compiling DequeModule UniqueDeque+Initializers.swift
[161/339] Compiling DequeModule UniqueDeque+Insertions.swift
[162/339] Compiling DequeModule UniqueDeque+Prepend.swift
[163/339] Compiling DequeModule UniqueDeque+Removals.swift
[164/344] Compiling DequeModule RigidDeque+Equatable.swift
[165/344] Compiling DequeModule RigidDeque+Experimental.swift
[168/344] Compiling DequeModule RigidDeque+Insertions.swift
[169/344] Compiling DequeModule RigidDeque+Prepend.swift
[170/344] Compiling DequeModule RigidDeque+Removals.swift
[171/344] Compiling DequeModule RigidDeque+Replacements.swift
[172/344] Compiling DequeModule RigidDeque+Testing.swift
[173/344] Compiling DequeModule RigidDeque.swift
[174/344] Compiling DequeModule UniqueDeque+Append.swift
[175/344] Compiling DequeModule _DequeBuffer.swift
[176/344] Compiling DequeModule _DequeBufferHeader.swift
[177/344] Compiling DequeModule RigidDeque+Append.swift
[178/344] Compiling DequeModule RigidDeque+Consumption.swift
[179/344] Compiling DequeModule RigidDeque+Container.swift
[180/344] Compiling DequeModule RigidDeque+Descriptions.swift
[181/344] Compiling DequeModule Deque+Codable.swift
[182/344] Compiling DequeModule Deque+Collection.swift
[183/344] Compiling DequeModule Deque+CustomReflectable.swift
[184/345] Wrapping AST for Atomics for debugging
[186/345] Compiling DequeModule Deque+Extras.swift
[187/345] Compiling DequeModule Deque+Hashable.swift
[188/345] Compiling DequeModule Deque+Testing.swift
[189/345] Compiling DequeModule Deque._Storage.swift
[190/345] Compiling DequeModule Deque._UnsafeHandle.swift
[191/345] Compiling DequeModule Deque.swift
[195/345] Compiling DequeModule Deque+Descriptions.swift
[196/345] Compiling DequeModule Deque+Equatable.swift
[197/345] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[198/345] Emitting module CryptoSwift
[211/360] Compiling CryptoSwift XChaCha20+Foundation.swift
[212/360] Compiling CryptoSwift Generics.swift
[213/360] Compiling CryptoSwift HKDF.swift
[214/360] Compiling CryptoSwift HMAC.swift
[215/360] Compiling CryptoSwift ISO10126Padding.swift
[216/360] Compiling CryptoSwift ISO78164Padding.swift
[217/360] Compiling CryptoSwift Int+Extension.swift
[218/360] Compiling CryptoSwift MD5.swift
[219/360] Compiling CryptoSwift NoPadding.swift
[220/360] Compiling CryptoSwift Operators.swift
[221/360] Compiling CryptoSwift DER.swift
[222/360] Compiling CryptoSwift PBKDF1.swift
[223/360] Compiling CryptoSwift PBKDF2.swift
[224/360] Compiling CryptoSwift PKCS1v15.swift
[225/360] Compiling CryptoSwift CompactMap.swift
[226/360] Compiling CryptoSwift Cryptor.swift
[227/360] Compiling CryptoSwift Cryptors.swift
[228/360] Compiling CryptoSwift Digest.swift
[229/360] Compiling CryptoSwift DigestType.swift
[230/360] Compiling CryptoSwift AES+Foundation.swift
[231/360] Compiling CryptoSwift Array+Foundation.swift
[232/360] Compiling CryptoSwift Blowfish+Foundation.swift
[233/360] Compiling CryptoSwift ChaCha20+Foundation.swift
[234/360] Compiling CryptoSwift Data+Extension.swift
[235/360] Compiling CryptoSwift HMAC+Foundation.swift
[236/360] Compiling CryptoSwift Rabbit+Foundation.swift
[237/360] Compiling CryptoSwift String+FoundationExtension.swift
[238/360] Compiling CryptoSwift Utils+Foundation.swift
[253/360] Wrapping AST for BigInt for debugging
[255/360] Compiling CryptoSwift IntegerConversion.swift
[256/360] Compiling CryptoSwift Multiplication.swift
[257/360] Compiling CryptoSwift PrimeTest.swift
[258/360] Compiling CryptoSwift Random.swift
[259/360] Compiling CryptoSwift Shifts.swift
[260/360] Compiling CryptoSwift SquareRoot.swift
[261/360] Compiling CryptoSwift Strideable.swift
[262/360] Compiling CryptoSwift StringConversion.swift
[263/360] Compiling CryptoSwift Subtraction.swift
[264/360] Compiling CryptoSwift WordsAndBits.swift
[265/360] Compiling CryptoSwift ChaCha20.swift
[266/360] Compiling CryptoSwift Checksum.swift
[267/360] Compiling CryptoSwift Cipher.swift
[268/360] Compiling CryptoSwift Collection+Extension.swift
[279/360] Compiling DequeModule UniqueDeque+Replacements.swift
[280/360] Compiling DequeModule UniqueDeque.swift
[281/360] Compiling DequeModule _DequeSlot.swift
[282/360] Compiling DequeModule _UnsafeDequeHandle.swift
[283/360] Compiling DequeModule _UnsafeDequeSegments.swift
[289/360] Emitting module DequeModule
[290/361] Compiling CryptoSwift PKCS5.swift
[291/361] Compiling CryptoSwift PKCS7.swift
[292/361] Compiling CryptoSwift PKCS7Padding.swift
[293/361] Compiling CryptoSwift Padding.swift
[294/361] Compiling CryptoSwift Poly1305.swift
[295/361] Compiling CryptoSwift RSA+Cipher.swift
[296/361] Compiling CryptoSwift RSA+Signature.swift
[297/361] Compiling CryptoSwift RSA.swift
[298/361] Compiling CryptoSwift Rabbit.swift
[299/361] Compiling CryptoSwift SHA1.swift
[300/361] Compiling CryptoSwift SHA2.swift
[301/361] Compiling CryptoSwift SHA3.swift
[302/361] Compiling CryptoSwift Scrypt.swift
[303/361] Compiling CryptoSwift SecureBytes.swift
[304/361] Wrapping AST for DequeModule for debugging
[306/425] Compiling NIOCore AddressedEnvelope.swift
[307/425] Compiling NIOCore AsyncAwaitSupport.swift
[308/425] Compiling NIOCore AsyncChannel.swift
[309/425] Compiling NIOCore AsyncChannelHandler.swift
[310/425] Compiling NIOCore AsyncChannelInboundStream.swift
[311/425] Compiling NIOCore AsyncChannelOutboundWriter.swift
[312/425] Compiling NIOCore NIOAsyncSequenceProducer.swift
[313/425] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[314/425] Compiling NIOCore NIOAsyncWriter.swift
[315/425] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[316/425] Compiling NIOCore BSDSocketAPI.swift
[317/425] Compiling NIOCore ByteBuffer-aux.swift
[318/425] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[319/425] Compiling NIOCore ByteBuffer-conversions.swift
[320/425] Compiling NIOCore ByteBuffer-core.swift
[321/425] Compiling CryptoSwift Signature.swift
[322/425] Compiling CryptoSwift StreamDecryptor.swift
[323/425] Compiling CryptoSwift StreamEncryptor.swift
[324/425] Compiling CryptoSwift String+Extension.swift
[325/425] Compiling CryptoSwift UInt128.swift
[326/425] Compiling CryptoSwift UInt16+Extension.swift
[327/425] Compiling CryptoSwift UInt32+Extension.swift
[328/425] Compiling CryptoSwift UInt64+Extension.swift
[329/425] Compiling CryptoSwift UInt8+Extension.swift
[330/425] Compiling CryptoSwift Updatable.swift
[331/425] Compiling CryptoSwift Utils.swift
[332/425] Compiling CryptoSwift XChaCha20.swift
[333/425] Compiling CryptoSwift ZeroPadding.swift
[334/425] Compiling CryptoSwift resource_bundle_accessor.swift
[335/426] Wrapping AST for CryptoSwift for debugging
[337/426] Compiling NIOCore EventLoopFuture+Deprecated.swift
[338/426] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[339/426] Compiling NIOCore EventLoopFuture.swift
[340/426] Compiling NIOCore FileDescriptor.swift
[341/426] Compiling NIOCore FileHandle.swift
[342/426] Compiling NIOCore FileRegion.swift
[343/426] Compiling NIOCore GlobalSingletons.swift
[344/426] Compiling NIOCore IO.swift
[345/426] Compiling NIOCore IOData.swift
[355/434] Compiling NIOCore CircularBuffer.swift
[356/434] Compiling NIOCore Codec.swift
[357/434] Compiling NIOCore ConvenienceOptionSupport.swift
[358/434] Compiling NIOCore DeadChannel.swift
[359/434] Compiling NIOCore DispatchQueue+WithFuture.swift
[360/434] Compiling NIOCore EventLoop+Deprecated.swift
[361/434] Compiling NIOCore EventLoop+SerialExecutor.swift
[362/434] Compiling NIOCore EventLoop.swift
[363/434] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[370/434] Compiling NIOCore ByteBuffer-hex.swift
[371/434] Compiling NIOCore ByteBuffer-int.swift
[372/434] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[373/434] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[374/434] Compiling NIOCore SocketAddresses.swift
[375/434] Compiling NIOCore SocketOptionProvider.swift
[376/434] Compiling NIOCore SystemCallHelpers.swift
[377/434] Compiling NIOCore TimeAmount+Duration.swift
[378/434] Compiling NIOCore TypeAssistedChannelHandler.swift
[379/434] Compiling NIOCore UniversalBootstrapSupport.swift
[380/434] Compiling NIOCore Utilities.swift
[381/434] Compiling NIOCore IPProtocol.swift
[382/434] Compiling NIOCore IntegerBitPacking.swift
[383/434] Compiling NIOCore IntegerTypes.swift
[384/434] Compiling NIOCore Interfaces.swift
[385/434] Compiling NIOCore Linux.swift
[386/434] Compiling NIOCore MarkedCircularBuffer.swift
[387/434] Compiling NIOCore MulticastChannel.swift
[388/434] Compiling NIOCore NIOAny.swift
[389/434] Compiling NIOCore NIOCloseOnErrorHandler.swift
[390/434] Compiling NIOCore NIOCoreSendableMetatype.swift
[391/434] Compiling NIOCore NIODecodedAsyncSequence.swift
[392/434] Compiling NIOCore NIOLoopBound.swift
[393/434] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[394/434] Compiling NIOCore NIOScheduledCallback.swift
[395/434] Compiling NIOCore NIOSendable.swift
[396/434] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[397/434] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[398/434] Compiling NIOCore RecvByteBufferAllocator.swift
[399/434] Compiling NIOCore ByteBuffer-multi-int.swift
[400/434] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[401/434] Compiling NIOCore ByteBuffer-views.swift
[402/434] Compiling NIOCore Channel.swift
[403/434] Compiling NIOCore ChannelHandler.swift
[404/434] Compiling NIOCore ChannelHandlers.swift
[405/434] Compiling NIOCore ChannelInvoker.swift
[406/434] Compiling NIOCore ChannelOption.swift
[407/434] Compiling NIOCore ChannelPipeline.swift
[408/434] Emitting module NIOCore
[409/438] Wrapping AST for NIOCore for debugging
[411/489] Emitting module NIOEmbedded
[412/489] Compiling NIOEmbedded AsyncTestingChannel.swift
[413/489] Compiling NIOEmbedded Embedded.swift
[414/489] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[415/490] Wrapping AST for NIOEmbedded for debugging
[417/490] Compiling NIOPosix HappyEyeballs.swift
[418/490] Compiling NIOPosix IO.swift
[419/490] Compiling NIOPosix IntegerBitPacking.swift
[420/490] Compiling NIOPosix IntegerTypes.swift
[421/490] Compiling NIOPosix Linux.swift
[422/490] Compiling NIOPosix LinuxCPUSet.swift
[423/490] Compiling NIOPosix LinuxUring.swift
[424/496] Compiling NIOPosix ThreadPosix.swift
[425/496] Compiling NIOPosix ThreadWindows.swift
[426/496] Compiling NIOPosix Utilities.swift
[427/496] Compiling NIOPosix VsockAddress.swift
[428/496] Compiling NIOPosix VsockChannelEvents.swift
[429/496] Compiling NIOPosix Windows.swift
[430/496] Emitting module NIOPosix
[431/496] Compiling NIOPosix BSDSocketAPICommon.swift
[432/496] Compiling NIOPosix BSDSocketAPIPosix.swift
[433/496] Compiling NIOPosix BSDSocketAPIWindows.swift
[434/496] Compiling NIOPosix BaseSocket.swift
[435/496] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[436/496] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[437/496] Compiling NIOPosix BaseSocketChannel.swift
[438/496] Compiling NIOPosix ServerSocket.swift
[439/496] Compiling NIOPosix Socket.swift
[440/496] Compiling NIOPosix SocketChannel.swift
[441/496] Compiling NIOPosix SocketProtocols.swift
[442/496] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[443/496] Compiling NIOPosix System.swift
[444/496] Compiling NIOPosix Thread.swift
[445/496] Compiling NIOPosix PipePair.swift
[446/496] Compiling NIOPosix Pool.swift
[447/496] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[448/496] Compiling NIOPosix PosixSingletons.swift
[449/496] Compiling NIOPosix RawSocketBootstrap.swift
[450/496] Compiling NIOPosix Resolver.swift
[451/496] Compiling NIOPosix Selectable.swift
[452/496] Compiling NIOPosix SelectableChannel.swift
[453/496] Compiling NIOPosix SelectableEventLoop.swift
[454/496] Compiling NIOPosix SelectorEpoll.swift
[455/496] Compiling NIOPosix SelectorGeneric.swift
[456/496] Compiling NIOPosix SelectorKqueue.swift
[457/496] Compiling NIOPosix SelectorUring.swift
[458/496] Compiling NIOPosix SelectorWSAPoll.swift
[459/496] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[460/496] Compiling NIOPosix NIOPosixSendableMetatype.swift
[461/496] Compiling NIOPosix NIOThreadPool.swift
[462/496] Compiling NIOPosix NonBlockingFileIO.swift
[463/496] Compiling NIOPosix PendingDatagramWritesManager.swift
[464/496] Compiling NIOPosix PendingWritesManager.swift
[465/496] Compiling NIOPosix PipeChannel.swift
[466/496] Compiling NIOPosix BaseStreamSocketChannel.swift
[467/496] Compiling NIOPosix Bootstrap.swift
[468/496] Compiling NIOPosix ControlMessage.swift
[469/496] Compiling NIOPosix DatagramVectorReadManager.swift
[470/496] Compiling NIOPosix Errors+Any.swift
[471/496] Compiling NIOPosix FileDescriptor.swift
[472/496] Compiling NIOPosix GetaddrinfoResolver.swift
[473/497] Wrapping AST for NIOPosix for debugging
[475/499] Emitting module NIO
[476/499] Compiling NIO Exports.swift
[477/500] Wrapping AST for NIO for debugging
[479/516] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[480/516] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[481/518] Emitting module NIOHTTP1
[482/518] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[483/518] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[484/518] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[485/518] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[486/518] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[487/518] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[488/518] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[489/518] Compiling NIOHTTP1 HTTPTypes.swift
[490/518] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[491/518] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[492/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[493/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[494/518] Compiling NIOHTTP1 ByteCollectionUtils.swift
[495/518] Compiling NIOHTTP1 HTTPDecoder.swift
[496/518] Compiling NIOHTTP1 HTTPEncoder.swift
[497/519] Wrapping AST for NIOHTTP1 for debugging
[499/521] Emitting module TinyHTTPServer
[500/521] Compiling TinyHTTPServer TinyHTTPServer.swift
[501/522] Wrapping AST for TinyHTTPServer for debugging
[503/543] Compiling OAuth1 openURL.swift
[504/543] Compiling OAuth1 encode.swift
[505/543] Compiling OAuth1 TokenProvider.swift
[506/543] Compiling OAuth2 TokenProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[507/543] Emitting module OAuth1
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:59:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     consumerKey : String,
 58 |     consumerSecret : String,
 59 |     callback: @escaping (Data?, URLResponse?, Error?)->()) {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     // prepare the request for signing
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:112:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |     urlString : String,
111 |     parameters : [String:String],
112 |     callback: @escaping (Data?, URLResponse?, Error?)->()) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |
114 |     try provider.withToken() {(token, consumerKey, consumerSecret, err) in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:138:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     method : String,
137 |     urlString : String,
138 |     callback: @escaping (Data?, URLResponse?, Error?)->()) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |     let parameters : [String:String] = [:]
140 |     try self.performRequest(method:method, urlString:urlString, parameters:parameters, callback:callback)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[508/543] Compiling OAuth1 Token.swift
[509/543] Compiling OAuth1 Connection.swift
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:59:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     consumerKey : String,
 58 |     consumerSecret : String,
 59 |     callback: @escaping (Data?, URLResponse?, Error?)->()) {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     // prepare the request for signing
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:112:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |     urlString : String,
111 |     parameters : [String:String],
112 |     callback: @escaping (Data?, URLResponse?, Error?)->()) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |
114 |     try provider.withToken() {(token, consumerKey, consumerSecret, err) in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:138:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     method : String,
137 |     urlString : String,
138 |     callback: @escaping (Data?, URLResponse?, Error?)->()) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |     let parameters : [String:String] = [:]
140 |     try self.performRequest(method:method, urlString:urlString, parameters:parameters, callback:callback)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:49:52: error: cannot force unwrap value of non-optional type 'String'
 47 |     // generate the signature
 48 |     let hmac = try! CryptoSwift.HMAC(key: secret, variant: .sha1).authenticate(Array(signatureBaseString.utf8))
 49 |     parameters["oauth_signature"] = hmac.toBase64()!
    |                                                    `- error: cannot force unwrap value of non-optional type 'String'
 50 |   }
 51 |
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:97:19: error: cannot find 'URLRequest' in scope
 95 |     urlComponents.queryItems = queryItems
 96 |
 97 |     var request = URLRequest(url: urlComponents.url!)
    |                   `- error: cannot find 'URLRequest' in scope
 98 |     request.setValue(authorization, forHTTPHeaderField:"Authorization")
 99 |     request.httpMethod = method
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:101:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |     request.httpMethod = method
100 |
101 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
102 |     let task: URLSessionDataTask = session.dataTask(with:request) { (data, response, error) -> Void in
103 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:101:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |     request.httpMethod = method
100 |
101 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |     let task: URLSessionDataTask = session.dataTask(with:request) { (data, response, error) -> Void in
103 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:102:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |
101 |     let session = URLSession(configuration: URLSessionConfiguration.default)
102 |     let task: URLSessionDataTask = session.dataTask(with:request) { (data, response, error) -> Void in
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |       callback(data, response, error)
104 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth1/Connection.swift:105:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
103 |       callback(data, response, error)
104 |     }
105 |     task.resume()
    |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
106 |   }
107 |
[510/543] Compiling OAuth1 BrowserTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth1/BrowserTokenProvider.swift:120:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |
119 |     var data: Data?
120 |     var response: HTTPURLResponse?
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
121 |     var error : Error?
122 |
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/Sources/OAuth1/BrowserTokenProvider.swift:131:22: warning: forced cast of 'HTTPURLResponse?' (aka 'Optional<AnyObject>') to same type has no effect
129 |       consumerSecret: credentials.consumerSecret) { d, r, e in
130 |         data = d
131 |         response = r as! HTTPURLResponse?
    |                      `- warning: forced cast of 'HTTPURLResponse?' (aka 'Optional<AnyObject>') to same type has no effect
132 |         error = e
133 |         sem2.signal()
/host/spi-builder-workspace/Sources/OAuth1/BrowserTokenProvider.swift:131:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |       consumerSecret: credentials.consumerSecret) { d, r, e in
130 |         data = d
131 |         response = r as! HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |         error = e
133 |         sem2.signal()
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/Sources/OAuth1/BrowserTokenProvider.swift:143:19: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
141 |     if let response = response,
142 |       let data = data {
143 |       if response.statusCode != 200 {
    |                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
144 |         throw AuthError.tokenRequestFailed
145 |       }
[511/544] Compiling OAuth2 ServiceAccountTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:89:22: error: cannot find 'URLRequest' in scope
 87 |     let data = try? JSONSerialization.data(withJSONObject: json)
 88 |
 89 |     var urlRequest = URLRequest(url:URL(string:credentials.TokenURI)!)
    |                      `- error: cannot find 'URLRequest' in scope
 90 |     urlRequest.httpMethod = "POST"
 91 |     urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:94:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 92 |     urlRequest.setValue("application/json", forHTTPHeaderField:"Content-Type")
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
 96 |     {(data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:94:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 92 |     urlRequest.setValue("application/json", forHTTPHeaderField:"Content-Type")
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
 96 |     {(data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:95:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |     {(data, response, error) -> Void in
 97 |       let decoder = JSONDecoder()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:105:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
103 |       }
104 |     }
105 |     task.resume()
    |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
106 |   }
107 | }
[512/544] Compiling OAuth2 Token.swift
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:89:22: error: cannot find 'URLRequest' in scope
 87 |     let data = try? JSONSerialization.data(withJSONObject: json)
 88 |
 89 |     var urlRequest = URLRequest(url:URL(string:credentials.TokenURI)!)
    |                      `- error: cannot find 'URLRequest' in scope
 90 |     urlRequest.httpMethod = "POST"
 91 |     urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:94:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 92 |     urlRequest.setValue("application/json", forHTTPHeaderField:"Content-Type")
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
 96 |     {(data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:94:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 92 |     urlRequest.setValue("application/json", forHTTPHeaderField:"Content-Type")
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
 96 |     {(data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:95:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |     let session = URLSession(configuration: URLSessionConfiguration.default)
 95 |     let task: URLSessionDataTask = session.dataTask(with:urlRequest)
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |     {(data, response, error) -> Void in
 97 |       let decoder = JSONDecoder()
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/ServiceAccountTokenProvider.swift:105:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
103 |       }
104 |     }
105 |     task.resume()
    |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
106 |   }
107 | }
[513/544] Compiling OAuth2 BrowserTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth2/BrowserTokenProvider.swift:124:30: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
122 |       body: nil,
123 |       authorization: authorization) { data, response, _ in
124 |         if let c = (response as? HTTPURLResponse)!.allHeaderFields["Content-Type"] {
    |                              `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
125 |           contentType = c as? String
126 |         }
/host/spi-builder-workspace/Sources/OAuth2/BrowserTokenProvider.swift:124:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
122 |       body: nil,
123 |       authorization: authorization) { data, response, _ in
124 |         if let c = (response as? HTTPURLResponse)!.allHeaderFields["Content-Type"] {
    |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
125 |           contentType = c as? String
126 |         }
[514/544] Compiling OAuth2 Code.swift
/host/spi-builder-workspace/Sources/OAuth2/BrowserTokenProvider.swift:124:30: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
122 |       body: nil,
123 |       authorization: authorization) { data, response, _ in
124 |         if let c = (response as? HTTPURLResponse)!.allHeaderFields["Content-Type"] {
    |                              `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
125 |           contentType = c as? String
126 |         }
/host/spi-builder-workspace/Sources/OAuth2/BrowserTokenProvider.swift:124:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
122 |       body: nil,
123 |       authorization: authorization) { data, response, _ in
124 |         if let c = (response as? HTTPURLResponse)!.allHeaderFields["Content-Type"] {
    |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
125 |           contentType = c as? String
126 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[515/544] Compiling OAuth2 ASN1.swift
[516/544] Compiling OAuth2 AuthError.swift
[517/544] Emitting module OAuth2
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:32:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |     body: Data!,
 31 |     authorization: String,
 32 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |
 34 |     var urlComponents = URLComponents(string: urlString)!
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:71:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     parameters: [String: String],
 70 |     body: Data!,
 71 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |
 73 |     try provider.withToken {token, err in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:93:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     method: String,
 92 |     urlString: String,
 93 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |
 95 |     let parameters: [String: String] = [:]
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[518/544] Compiling OAuth2 openURL.swift
[519/544] Compiling OAuth2 JWT.swift
[520/544] Compiling OAuth2 RSA.swift
[521/544] Compiling OAuth2 Connection.swift
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:32:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |     body: Data!,
 31 |     authorization: String,
 32 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |
 34 |     var urlComponents = URLComponents(string: urlString)!
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:71:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     parameters: [String: String],
 70 |     body: Data!,
 71 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |
 73 |     try provider.withToken {token, err in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:93:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     method: String,
 92 |     urlString: String,
 93 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |
 95 |     let parameters: [String: String] = [:]
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:44:19: error: cannot find 'URLRequest' in scope
 42 |     }
 43 |
 44 |     var request = URLRequest(url: urlComponents.url!)
    |                   `- error: cannot find 'URLRequest' in scope
 45 |     request.setValue(authorization, forHTTPHeaderField: "Authorization")
 46 |     request.httpMethod = method
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:59:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 57 |     }
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
 61 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:59:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 57 |     }
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
 61 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:60:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |       callback(data, response, error)
 62 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:63:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 61 |       callback(data, response, error)
 62 |     }
 63 |     task.resume()
    |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 64 |   }
 65 |
[522/544] Compiling OAuth2 DefaultTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:32:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |     body: Data!,
 31 |     authorization: String,
 32 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |
 34 |     var urlComponents = URLComponents(string: urlString)!
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:71:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     parameters: [String: String],
 70 |     body: Data!,
 71 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |
 73 |     try provider.withToken {token, err in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:93:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     method: String,
 92 |     urlString: String,
 93 |     callback: @escaping (Data?, URLResponse?, Error?) -> Void) throws {
    |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |
 95 |     let parameters: [String: String] = [:]
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:44:19: error: cannot find 'URLRequest' in scope
 42 |     }
 43 |
 44 |     var request = URLRequest(url: urlComponents.url!)
    |                   `- error: cannot find 'URLRequest' in scope
 45 |     request.setValue(authorization, forHTTPHeaderField: "Authorization")
 46 |     request.httpMethod = method
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:59:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 57 |     }
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
 61 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:59:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 57 |     }
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
 61 |       callback(data, response, error)
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:60:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     let session = URLSession(configuration: URLSessionConfiguration.default)
 60 |     let task: URLSessionDataTask = session.dataTask(with: request) { (data, response, error) -> Void in
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |       callback(data, response, error)
 62 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/Connection.swift:63:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 61 |       callback(data, response, error)
 62 |     }
 63 |     task.resume()
    |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 64 |   }
 65 |
[523/544] Compiling OAuth2 GoogleCloudMetadataTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:36:19: error: cannot find 'URLRequest' in scope
34 |     let urlString = "http://metadata/computeMetadata/v1/instance/service-accounts/default/token"
35 |     let urlComponents = URLComponents(string:urlString)!
36 |     var request = URLRequest(url: urlComponents.url!)
   |                   `- error: cannot find 'URLRequest' in scope
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:39:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
41 |       (data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:39:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
   |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
41 |       (data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:40:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
   |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |       (data, response, error) -> Void in
42 |       if let data = data {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:48:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
46 |       sem.signal()
47 |     }
48 |     task.resume()
   |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
49 |     _ = sem.wait(timeout: DispatchTime.distantFuture)
50 |   }
[524/544] Compiling OAuth2 GoogleRefreshTokenProvider.swift
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:36:19: error: cannot find 'URLRequest' in scope
34 |     let urlString = "http://metadata/computeMetadata/v1/instance/service-accounts/default/token"
35 |     let urlComponents = URLComponents(string:urlString)!
36 |     var request = URLRequest(url: urlComponents.url!)
   |                   `- error: cannot find 'URLRequest' in scope
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:39:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
41 |       (data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:39:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
37 |     request.setValue("Google", forHTTPHeaderField:"Metadata-Flavor")
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
   |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
41 |       (data, response, error) -> Void in
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:40:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     request.httpMethod = "GET"
39 |     let session = URLSession(configuration: URLSessionConfiguration.default)
40 |     let task: URLSessionDataTask = session.dataTask(with:request) {
   |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |       (data, response, error) -> Void in
42 |       if let data = data {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/OAuth2/GoogleCloudMetadataTokenProvider.swift:48:10: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
46 |       sem.signal()
47 |     }
48 |     task.resume()
   |          `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
49 |     _ = sem.wait(timeout: DispatchTime.distantFuture)
50 |   }
BUILD FAILURE 6.3 android