Build Information
Failed to build Auth, reference master (077bf9), with Swift 6.3 for Android on 21 Apr 2026 14:13:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/barrault01/google-auth-library-swift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images: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/attaswift/BigInt
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/13341] Fetching cryptoswift
[1602/18219] Fetching cryptoswift, bigint
[8348/101404] Fetching cryptoswift, bigint, swift-nio
Fetched https://github.com/attaswift/BigInt from cache (5.96s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (5.99s)
Fetched https://github.com/apple/swift-nio.git from cache (6.07s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 4.0.0 (8.45s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.29s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/25403] Fetching swift-atomics, swift-collections
[603/31004] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
[3707/25403] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.07s)
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/76] Write sources
[16/76] Copying PrivacyInfo.xcprivacy
[16/76] Write sources
[20/76] Compiling CNIODarwin shim.c
[21/76] Write sources
[24/76] Compiling _AtomicsShims.c
[25/76] Compiling CNIOWindows shim.c
[26/76] Compiling CNIOWindows WSAStartup.c
[27/76] Compiling CNIOPosix event_loop_id.c
[28/76] Compiling CNIOWASI CNIOWASI.c
[28/76] Write swift-version--4F562202D5529B1.txt
[28/76] Compiling CNIOLLHTTP c_nio_api.c
[28/76] Compiling CNIOOpenBSD shim.c
[32/76] Write sources
[34/76] Compiling CNIOLinux liburing_shims.c
[35/76] Compiling CNIOLLHTTP c_nio_http.c
[36/80] Compiling CNIOLinux shim.c
[37/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/202] Emitting module SwiftyBase64
[40/225] Emitting module InternalCollectionsUtilities
[40/227] Compiling c-nioatomics.c
[41/245] Compiling c-atomics.c
[43/252] Compiling Atomics UnsafeAtomic.swift
[44/252] Compiling Atomics UnsafeAtomicLazyReference.swift
[45/252] Compiling Atomics AtomicStorage.swift
[46/252] Compiling Atomics AtomicValue.swift
[49/252] Compiling Atomics AtomicMemoryOrderings.swift
[50/252] Compiling Atomics DoubleWord.swift
[51/252] Compiling Atomics ManagedAtomic.swift
[52/252] Compiling Atomics ManagedAtomicLazyReference.swift
[53/254] Compiling Atomics IntegerOperations.swift
[54/254] Compiling Atomics Unmanaged extensions.swift
[55/254] Compiling Atomics OptionalRawRepresentable.swift
[56/254] Compiling Atomics RawRepresentable.swift
[57/254] Compiling Atomics AtomicBool.swift
[61/254] Compiling Atomics AtomicInteger.swift
[62/254] Compiling Atomics AtomicOptionalWrappable.swift
[63/254] Compiling Atomics AtomicReference.swift
[68/254] Emitting module Atomics
[69/254] Compiling Atomics Primitives.native.swift
[75/254] Compiling Atomics IntegerConformances.swift
[76/254] Compiling Atomics PointerConformances.swift
[77/255] Emitting module _NIOBase64
[78/255] Compiling _NIOBase64 Base64.swift
[79/255] Compiling SwiftyBase64 Alphabets.swift
[80/256] Compiling SwiftyBase64 Base64.swift
[81/257] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[82/257] Compiling _NIODataStructures Heap.swift
[86/257] Compiling NIOConcurrencyHelpers lock.swift
[87/257] Emitting module BigInt
[89/259] Wrapping AST for _NIOBase64 for debugging
[91/259] Compiling _NIODataStructures PriorityQueue.swift
[92/259] Emitting module _NIODataStructures
[93/259] Compiling _NIODataStructures _TinyArray.swift
[96/260] Wrapping AST for SwiftyBase64 for debugging
[97/261] Wrapping AST for InternalCollectionsUtilities for debugging
[99/261] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[100/261] Compiling NIOConcurrencyHelpers atomics.swift
[102/261] Compiling NIOConcurrencyHelpers NIOLock.swift
[103/261] Emitting module NIOConcurrencyHelpers
[104/261] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[106/289] Compiling ContainersPreview Container+SpanwiseZip.swift
[107/289] Compiling ContainersPreview Producer+Map.swift
[107/294] Wrapping AST for _NIODataStructures for debugging
[108/294] Wrapping AST for NIOConcurrencyHelpers for debugging
[110/294] Compiling ContainersPreview OutputSpan+Extras.swift
[111/294] Compiling ContainersPreview TemporaryAllocation.swift
[112/294] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[113/295] Emitting module ContainersPreview
[114/295] Compiling ContainersPreview Drain+Reduce.swift
[115/295] Compiling ContainersPreview Drain.swift
[116/295] Compiling ContainersPreview Producer+Collect.swift
[117/295] Compiling ContainersPreview Producer+Filter.swift
[122/295] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[123/295] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[124/295] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[125/295] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[126/295] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[127/295] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[128/295] Compiling ContainersPreview BorrowingSequence.swift
[129/295] Compiling ContainersPreview BidirectionalContainer.swift
[130/295] Compiling ContainersPreview Container+Filter.swift
[133/295] Compiling ContainersPreview Producer+Reduce.swift
[134/295] Compiling ContainersPreview Producer.swift
[135/295] Compiling ContainersPreview Borrow.swift
[136/295] Compiling ContainersPreview RandomAccessContainer.swift
[137/295] Compiling ContainersPreview RangeExpression2.swift
[138/295] Compiling ContainersPreview RangeReplaceableContainer.swift
[139/295] Compiling ContainersPreview Drain+Map.swift
[140/299] Compiling ContainersPreview Container.swift
[141/299] Compiling ContainersPreview ContainerIterator.swift
[142/299] Compiling ContainersPreview DynamicContainer.swift
[143/299] Compiling ContainersPreview MutableContainer.swift
[144/299] Compiling ContainersPreview PermutableContainer.swift
[148/299] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[149/299] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[150/299] Compiling ContainersPreview Box.swift
[151/299] Compiling ContainersPreview Inout.swift
[152/299] Compiling ContainersPreview InputSpan.swift
[153/299] Compiling ContainersPreview Shared.swift
[153/299] Wrapping AST for Atomics for debugging
[157/300] Wrapping AST for ContainersPreview for debugging
[159/340] Compiling DequeModule UniqueDeque+Consumption.swift
[160/340] Compiling DequeModule UniqueDeque+Container.swift
[161/340] Compiling DequeModule UniqueDeque+Descriptions.swift
[162/340] Compiling DequeModule UniqueDeque+Equatable.swift
[163/340] Compiling DequeModule UniqueDeque+Experimental.swift
[164/345] Compiling DequeModule _DequeBuffer.swift
[165/345] Compiling DequeModule _DequeBufferHeader.swift
[166/345] Compiling DequeModule RigidDeque+Append.swift
[167/345] Compiling DequeModule RigidDeque+Consumption.swift
[168/345] Compiling DequeModule RigidDeque+Container.swift
[169/345] Compiling DequeModule RigidDeque+Descriptions.swift
[170/345] Compiling DequeModule UniqueDeque+Hashable.swift
[171/345] Compiling DequeModule UniqueDeque+Initializers.swift
[172/345] Compiling DequeModule UniqueDeque+Insertions.swift
[173/345] Compiling DequeModule UniqueDeque+Prepend.swift
[174/345] Compiling DequeModule UniqueDeque+Removals.swift
[175/345] Compiling DequeModule RigidDeque+Removals.swift
[176/345] Compiling DequeModule RigidDeque+Replacements.swift
[177/345] Compiling DequeModule RigidDeque+Testing.swift
[178/345] Compiling DequeModule RigidDeque.swift
[179/345] Compiling DequeModule UniqueDeque+Append.swift
[180/345] Compiling DequeModule RigidDeque+Equatable.swift
[181/345] Compiling DequeModule RigidDeque+Experimental.swift
[182/345] Compiling DequeModule RigidDeque+Hashable.swift
[183/345] Compiling DequeModule RigidDeque+Initializers.swift
[184/345] Compiling DequeModule RigidDeque+Insertions.swift
[185/345] Compiling DequeModule RigidDeque+Prepend.swift
[186/345] Compiling DequeModule Deque+Codable.swift
[187/345] Compiling DequeModule Deque+Collection.swift
[188/345] Compiling DequeModule Deque+CustomReflectable.swift
[189/345] Compiling DequeModule Deque+Descriptions.swift
[190/345] Compiling DequeModule Deque+Equatable.swift
[191/345] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[192/345] Emitting module CryptoSwift
[193/345] Compiling DequeModule Deque+Extras.swift
[194/345] Compiling DequeModule Deque+Hashable.swift
[195/345] Compiling DequeModule Deque+Testing.swift
[196/345] Compiling DequeModule Deque._Storage.swift
[197/345] Compiling DequeModule Deque._UnsafeHandle.swift
[198/345] Compiling DequeModule Deque.swift
[212/360] Compiling CryptoSwift CompactMap.swift
[213/360] Compiling CryptoSwift Cryptor.swift
[214/360] Compiling CryptoSwift Cryptors.swift
[215/360] Compiling CryptoSwift Digest.swift
[216/360] Compiling CryptoSwift DigestType.swift
[217/360] Compiling CryptoSwift AES+Foundation.swift
[218/360] Compiling CryptoSwift Array+Foundation.swift
[219/360] Compiling CryptoSwift Blowfish+Foundation.swift
[220/360] Compiling CryptoSwift ChaCha20+Foundation.swift
[221/360] Compiling CryptoSwift Data+Extension.swift
[222/360] Compiling CryptoSwift HMAC+Foundation.swift
[223/360] Compiling CryptoSwift Rabbit+Foundation.swift
[224/360] Compiling CryptoSwift String+FoundationExtension.swift
[225/360] Compiling CryptoSwift Utils+Foundation.swift
[236/360] Compiling DequeModule UniqueDeque+Replacements.swift
[237/360] Compiling DequeModule UniqueDeque.swift
[238/360] Compiling DequeModule _DequeSlot.swift
[239/360] Compiling DequeModule _UnsafeDequeHandle.swift
[240/360] Compiling DequeModule _UnsafeDequeSegments.swift
[241/360] Compiling CryptoSwift XChaCha20+Foundation.swift
[242/360] Compiling CryptoSwift Generics.swift
[243/360] Compiling CryptoSwift HKDF.swift
[244/360] Compiling CryptoSwift HMAC.swift
[245/360] Compiling CryptoSwift ISO10126Padding.swift
[246/360] Compiling CryptoSwift ISO78164Padding.swift
[247/360] Compiling CryptoSwift Int+Extension.swift
[248/360] Compiling CryptoSwift MD5.swift
[249/360] Compiling CryptoSwift NoPadding.swift
[250/360] Compiling CryptoSwift Operators.swift
[251/360] Compiling CryptoSwift DER.swift
[252/360] Compiling CryptoSwift PBKDF1.swift
[253/360] Compiling CryptoSwift PBKDF2.swift
[254/360] Compiling CryptoSwift PKCS1v15.swift
[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
[268/360] Wrapping AST for BigInt for debugging
[284/360] Compiling CryptoSwift PKCS5.swift
[285/360] Compiling CryptoSwift PKCS7.swift
[286/360] Compiling CryptoSwift PKCS7Padding.swift
[287/360] Compiling CryptoSwift Padding.swift
[288/360] Compiling CryptoSwift Poly1305.swift
[289/360] Compiling CryptoSwift RSA+Cipher.swift
[290/360] Compiling CryptoSwift RSA+Signature.swift
[291/360] Compiling CryptoSwift RSA.swift
[292/360] Compiling CryptoSwift Rabbit.swift
[293/360] Compiling CryptoSwift SHA1.swift
[294/360] Compiling CryptoSwift SHA2.swift
[295/360] Compiling CryptoSwift SHA3.swift
[296/360] Compiling CryptoSwift Scrypt.swift
[297/360] Compiling CryptoSwift SecureBytes.swift
[318/360] Emitting module DequeModule
[319/361] Wrapping AST for DequeModule for debugging
[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 NIOCoreSendableMetatype.swift
[338/426] Compiling NIOCore NIODecodedAsyncSequence.swift
[339/426] Compiling NIOCore NIOLoopBound.swift
[340/426] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[341/426] Compiling NIOCore NIOScheduledCallback.swift
[342/426] Compiling NIOCore NIOSendable.swift
[343/426] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[344/426] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[345/426] Compiling NIOCore RecvByteBufferAllocator.swift
[346/434] Compiling NIOCore IPProtocol.swift
[347/434] Compiling NIOCore IntegerBitPacking.swift
[348/434] Compiling NIOCore IntegerTypes.swift
[349/434] Compiling NIOCore Interfaces.swift
[350/434] Compiling NIOCore Linux.swift
[351/434] Compiling NIOCore MarkedCircularBuffer.swift
[352/434] Compiling NIOCore MulticastChannel.swift
[353/434] Compiling NIOCore NIOAny.swift
[354/434] Compiling NIOCore NIOCloseOnErrorHandler.swift
[355/434] Compiling NIOCore EventLoopFuture+Deprecated.swift
[356/434] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[357/434] Compiling NIOCore EventLoopFuture.swift
[358/434] Compiling NIOCore FileDescriptor.swift
[359/434] Compiling NIOCore FileHandle.swift
[360/434] Compiling NIOCore FileRegion.swift
[361/434] Compiling NIOCore GlobalSingletons.swift
[362/434] Compiling NIOCore IO.swift
[363/434] Compiling NIOCore IOData.swift
[364/434] Compiling NIOCore CircularBuffer.swift
[365/434] Compiling NIOCore Codec.swift
[366/434] Compiling NIOCore ConvenienceOptionSupport.swift
[367/434] Compiling NIOCore DeadChannel.swift
[368/434] Compiling NIOCore DispatchQueue+WithFuture.swift
[369/434] Compiling NIOCore EventLoop+Deprecated.swift
[370/434] Compiling NIOCore EventLoop+SerialExecutor.swift
[371/434] Compiling NIOCore EventLoop.swift
[372/434] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[373/434] Compiling NIOCore AddressedEnvelope.swift
[374/434] Compiling NIOCore AsyncAwaitSupport.swift
[375/434] Compiling NIOCore AsyncChannel.swift
[376/434] Compiling NIOCore AsyncChannelHandler.swift
[377/434] Compiling NIOCore AsyncChannelInboundStream.swift
[378/434] Compiling NIOCore AsyncChannelOutboundWriter.swift
[379/434] Compiling NIOCore NIOAsyncSequenceProducer.swift
[380/434] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[381/434] Compiling NIOCore NIOAsyncWriter.swift
[382/434] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[383/434] Compiling NIOCore SocketAddresses.swift
[384/434] Compiling NIOCore SocketOptionProvider.swift
[385/434] Compiling NIOCore SystemCallHelpers.swift
[386/434] Compiling NIOCore TimeAmount+Duration.swift
[387/434] Compiling NIOCore TypeAssistedChannelHandler.swift
[388/434] Compiling NIOCore UniversalBootstrapSupport.swift
[389/434] Compiling NIOCore Utilities.swift
[390/434] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[391/434] Compiling NIOCore BSDSocketAPI.swift
[392/434] Compiling NIOCore ByteBuffer-aux.swift
[393/434] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[394/434] Compiling NIOCore ByteBuffer-conversions.swift
[395/434] Compiling NIOCore ByteBuffer-core.swift
[396/434] Compiling NIOCore ByteBuffer-hex.swift
[397/434] Compiling NIOCore ByteBuffer-int.swift
[398/434] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[399/434] Emitting module NIOCore
[400/434] Compiling NIOCore ByteBuffer-multi-int.swift
[401/434] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[402/434] Compiling NIOCore ByteBuffer-views.swift
[403/434] Compiling NIOCore Channel.swift
[404/434] Compiling NIOCore ChannelHandler.swift
[405/434] Compiling NIOCore ChannelHandlers.swift
[406/434] Compiling NIOCore ChannelInvoker.swift
[407/434] Compiling NIOCore ChannelOption.swift
[408/434] Compiling NIOCore ChannelPipeline.swift
[409/440] Wrapping AST for NIOCore for debugging
[411/489] Compiling NIOEmbedded AsyncTestingChannel.swift
[412/489] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[413/489] Compiling NIOEmbedded Embedded.swift
[414/489] Emitting module NIOEmbedded
[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 BSDSocketAPICommon.swift
[425/496] Compiling NIOPosix BSDSocketAPIPosix.swift
[426/496] Compiling NIOPosix BSDSocketAPIWindows.swift
[427/496] Compiling NIOPosix BaseSocket.swift
[428/496] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[429/496] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[430/496] Compiling NIOPosix BaseSocketChannel.swift
[431/496] Emitting module NIOPosix
[432/496] Compiling NIOPosix ThreadPosix.swift
[433/496] Compiling NIOPosix ThreadWindows.swift
[434/496] Compiling NIOPosix Utilities.swift
[435/496] Compiling NIOPosix VsockAddress.swift
[436/496] Compiling NIOPosix VsockChannelEvents.swift
[437/496] Compiling NIOPosix Windows.swift
[438/496] Compiling NIOPosix SelectableChannel.swift
[439/496] Compiling NIOPosix SelectableEventLoop.swift
[440/496] Compiling NIOPosix SelectorEpoll.swift
[441/496] Compiling NIOPosix SelectorGeneric.swift
[442/496] Compiling NIOPosix SelectorKqueue.swift
[443/496] Compiling NIOPosix SelectorUring.swift
[444/496] Compiling NIOPosix SelectorWSAPoll.swift
[445/496] Compiling NIOPosix ServerSocket.swift
[446/496] Compiling NIOPosix Socket.swift
[447/496] Compiling NIOPosix SocketChannel.swift
[448/496] Compiling NIOPosix SocketProtocols.swift
[449/496] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[450/496] Compiling NIOPosix System.swift
[451/496] Compiling NIOPosix Thread.swift
[452/496] Compiling NIOPosix PipePair.swift
[453/496] Compiling NIOPosix Pool.swift
[454/496] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[455/496] Compiling NIOPosix PosixSingletons.swift
[456/496] Compiling NIOPosix RawSocketBootstrap.swift
[457/496] Compiling NIOPosix Resolver.swift
[458/496] Compiling NIOPosix Selectable.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/499] 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 HTTPHeaderValidator.swift
[480/516] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[481/518] Emitting module NIOHTTP1
[482/518] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[483/518] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[484/518] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[485/518] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[486/518] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[487/518] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[488/518] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[489/518] Compiling NIOHTTP1 HTTPTypes.swift
[490/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[491/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[492/518] Compiling NIOHTTP1 ByteCollectionUtils.swift
[493/518] Compiling NIOHTTP1 HTTPDecoder.swift
[494/518] Compiling NIOHTTP1 HTTPEncoder.swift
[495/518] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[496/518] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.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 OAuth2 TokenProvider.swift
[504/544] Compiling OAuth1 openURL.swift
[505/544] Compiling OAuth1 TokenProvider.swift
[506/544] Compiling OAuth1 encode.swift
[507/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 | }
[508/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[509/544] 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
[510/544] 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 |
[511/544] 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 | }
[512/544] Compiling OAuth1 Token.swift
[513/544] Compiling OAuth2 openURL.swift
[514/544] Compiling OAuth2 JWT.swift
[515/544] Compiling OAuth2 RSA.swift
[516/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 | }
[517/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 | }
[518/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 | }
[519/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 | }
[520/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 |
[521/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[522/544] Compiling OAuth2 ASN1.swift
[523/544] Compiling OAuth2 AuthError.swift
[524/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
BUILD FAILURE 6.3 android