Build Information
Failed to build Auth, reference 0.5.2 (077bf9), with Swift 6.3 for Linux on 14 Apr 2026 04:14:44 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: 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: linux
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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/apple/swift-nio.git
[1/4878] Fetching bigint
[1026/18219] Fetching bigint, cryptoswift
Fetched https://github.com/attaswift/BigInt from cache (0.60s)
[3202/13341] Fetching cryptoswift
[3470/96480] Fetching cryptoswift, swift-nio
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.88s)
[36582/83139] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.00s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 4.0.0 (9.07s)
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.65s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[893/25357] Fetching swift-atomics, swift-collections
[1803/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.42s)
Fetched https://github.com/apple/swift-system.git from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.55s)
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-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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 4.0.0
Building for debugging...
[0/76] Compiling CNIODarwin shim.c
[1/76] Compiling CNIOLinux liburing_shims.c
[2/76] Write sources
[4/76] Compiling CNIOLLHTTP c_nio_http.c
[5/76] Write sources
[8/76] Compiling _AtomicsShims.c
[9/76] Write sources
[15/76] Compiling CNIOLLHTTP c_nio_api.c
[16/76] Write sources
[24/76] Copying PrivacyInfo.xcprivacy
[25/76] Write sources
[28/76] Write swift-version-24593BA9C3E375BF.txt
[29/76] Compiling CNIOLinux shim.c
[30/76] Compiling CNIOWindows WSAStartup.c
[31/76] Compiling CNIOWindows shim.c
[31/76] Compiling CNIOWASI CNIOWASI.c
[33/76] Compiling CNIOPosix event_loop_id.c
[34/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/103] Compiling CNIOOpenBSD shim.c
[36/103] Write sources
[39/225] Emitting module _NIOBase64
[40/225] Emitting module InternalCollectionsUtilities
[40/227] Compiling c-nioatomics.c
[41/245] Compiling c-atomics.c
[43/245] Emitting module BigInt
[44/254] Compiling Atomics ManagedAtomic.swift
[45/254] Compiling Atomics ManagedAtomicLazyReference.swift
[46/256] Compiling Atomics AtomicInteger.swift
[47/256] Compiling Atomics AtomicOptionalWrappable.swift
[48/256] Compiling Atomics AtomicReference.swift
[49/256] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[50/256] Compiling Atomics IntegerOperations.swift
[51/256] Compiling Atomics Unmanaged extensions.swift
[52/256] Compiling Atomics AtomicStorage.swift
[53/256] Compiling Atomics AtomicValue.swift
[54/256] Compiling Atomics UnsafeAtomic.swift
[57/256] Compiling Atomics OptionalRawRepresentable.swift
[58/256] Compiling Atomics RawRepresentable.swift
[59/256] Compiling Atomics AtomicBool.swift
[61/256] Compiling BigInt String Conversion.swift
[62/256] Compiling BigInt Subtraction.swift
[63/256] Compiling BigInt Words and Bits.swift
[69/256] Compiling SwiftyBase64 Alphabets.swift
[70/256] Emitting module SwiftyBase64
[71/256] Compiling SwiftyBase64 Base64.swift
[72/256] Compiling Atomics UnsafeAtomicLazyReference.swift
[73/256] Compiling Atomics IntegerConformances.swift
[74/256] Compiling Atomics AtomicMemoryOrderings.swift
[75/256] Compiling Atomics DoubleWord.swift
[77/256] Compiling Atomics PointerConformances.swift
[78/256] Compiling Atomics Primitives.native.swift
[80/258] Compiling _NIOBase64 Base64.swift
[81/259] Wrapping AST for SwiftyBase64 for debugging
[84/259] Compiling _NIODataStructures PriorityQueue.swift
[85/259] Compiling _NIODataStructures _TinyArray.swift
[85/259] Wrapping AST for InternalCollectionsUtilities for debugging
[87/259] Emitting module Atomics
[90/260] Emitting module NIOConcurrencyHelpers
[91/260] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/286] Wrapping AST for _NIOBase64 for debugging
[93/292] Emitting module ContainersPreview
[94/296] Compiling ContainersPreview RandomAccessContainer.swift
[95/296] Compiling ContainersPreview RangeExpression2.swift
[96/296] Compiling ContainersPreview RangeReplaceableContainer.swift
[97/296] Compiling ContainersPreview Drain+Map.swift
[98/296] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[99/296] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[100/296] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[101/296] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[102/296] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[103/296] Compiling ContainersPreview Producer+Map.swift
[104/296] Compiling ContainersPreview Producer+Reduce.swift
[105/296] Compiling ContainersPreview Producer.swift
[106/296] Compiling ContainersPreview Borrow.swift
[107/296] Compiling ContainersPreview Box.swift
[108/296] Compiling ContainersPreview Inout.swift
[109/296] Compiling ContainersPreview InputSpan.swift
[110/296] Compiling ContainersPreview Shared.swift
[115/296] Compiling ContainersPreview Drain.swift
[116/296] Compiling ContainersPreview Producer+Collect.swift
[119/296] Compiling ContainersPreview Drain+Reduce.swift
[121/297] Compiling ContainersPreview OutputSpan+Extras.swift
[122/297] Compiling ContainersPreview TemporaryAllocation.swift
[123/297] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[124/297] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[125/297] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[129/297] Compiling ContainersPreview Producer+Filter.swift
[130/297] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[131/297] Compiling ContainersPreview BorrowingSequence.swift
[132/297] Compiling ContainersPreview BidirectionalContainer.swift
[133/297] Compiling ContainersPreview Container+Filter.swift
[134/297] Compiling ContainersPreview Container+SpanwiseZip.swift
[135/297] Compiling ContainersPreview Container.swift
[136/297] Compiling ContainersPreview ContainerIterator.swift
[137/297] Compiling ContainersPreview DynamicContainer.swift
[138/297] Compiling ContainersPreview MutableContainer.swift
[139/297] Compiling ContainersPreview PermutableContainer.swift
[140/298] Wrapping AST for Atomics for debugging
[141/298] Wrapping AST for ContainersPreview for debugging
[143/305] Compiling NIOConcurrencyHelpers NIOLock.swift
[144/338] Compiling NIOConcurrencyHelpers lock.swift
[145/338] Compiling _NIODataStructures Heap.swift
[146/338] Emitting module _NIODataStructures
[148/339] Compiling DequeModule Deque+Codable.swift
[149/339] Compiling DequeModule Deque+Collection.swift
[150/339] Compiling DequeModule Deque+CustomReflectable.swift
[151/339] Compiling DequeModule Deque+Descriptions.swift
[152/339] Compiling DequeModule Deque+Equatable.swift
[153/339] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[154/339] Compiling DequeModule Deque+Extras.swift
[155/339] Compiling DequeModule Deque+Hashable.swift
[156/339] Compiling DequeModule Deque+Testing.swift
[156/339] Wrapping AST for _NIODataStructures for debugging
[158/339] Compiling DequeModule RigidDeque+Consumption.swift
[159/339] Compiling DequeModule RigidDeque+Container.swift
[160/339] Compiling DequeModule RigidDeque+Descriptions.swift
[161/339] Compiling DequeModule _DequeBuffer.swift
[162/339] Compiling DequeModule _DequeBufferHeader.swift
[163/339] Compiling DequeModule RigidDeque+Append.swift
[164/339] Compiling DequeModule Deque._Storage.swift
[165/339] Compiling DequeModule Deque._UnsafeHandle.swift
[166/339] Compiling DequeModule Deque.swift
[168/340] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[169/340] Compiling NIOConcurrencyHelpers atomics.swift
[171/341] Compiling DequeModule UniqueDeque+Hashable.swift
[172/341] Compiling DequeModule UniqueDeque+Initializers.swift
[173/341] Compiling DequeModule UniqueDeque+Insertions.swift
[174/341] Compiling DequeModule UniqueDeque+Prepend.swift
[175/341] Compiling DequeModule UniqueDeque+Removals.swift
[175/346] Wrapping AST for BigInt for debugging
[176/346] Wrapping AST for NIOConcurrencyHelpers for debugging
[184/346] Compiling DequeModule UniqueDeque+Consumption.swift
[185/346] Compiling DequeModule UniqueDeque+Container.swift
[186/346] Compiling DequeModule UniqueDeque+Descriptions.swift
[187/346] Compiling DequeModule UniqueDeque+Equatable.swift
[188/346] Compiling DequeModule UniqueDeque+Experimental.swift
[189/346] Compiling DequeModule RigidDeque+Equatable.swift
[190/346] Compiling DequeModule RigidDeque+Experimental.swift
[191/346] Compiling DequeModule RigidDeque+Hashable.swift
[192/346] Compiling DequeModule RigidDeque+Initializers.swift
[193/346] Compiling DequeModule RigidDeque+Insertions.swift
[194/346] Compiling DequeModule RigidDeque+Prepend.swift
[195/346] Compiling DequeModule RigidDeque+Removals.swift
[196/346] Compiling DequeModule RigidDeque+Replacements.swift
[197/346] Compiling DequeModule RigidDeque+Testing.swift
[198/346] Compiling DequeModule RigidDeque.swift
[199/346] Compiling DequeModule UniqueDeque+Append.swift
[209/346] Compiling DequeModule UniqueDeque+Replacements.swift
[210/346] Compiling DequeModule UniqueDeque.swift
[211/346] Compiling DequeModule _DequeSlot.swift
[212/346] Compiling DequeModule _UnsafeDequeHandle.swift
[213/346] Compiling DequeModule _UnsafeDequeSegments.swift
[226/360] Compiling CryptoSwift XChaCha20+Foundation.swift
[227/360] Compiling CryptoSwift Generics.swift
[228/360] Compiling CryptoSwift HKDF.swift
[229/360] Compiling CryptoSwift HMAC.swift
[230/360] Compiling CryptoSwift ISO10126Padding.swift
[231/360] Compiling CryptoSwift ISO78164Padding.swift
[232/360] Compiling CryptoSwift Int+Extension.swift
[233/360] Compiling CryptoSwift MD5.swift
[234/360] Compiling CryptoSwift NoPadding.swift
[235/360] Compiling CryptoSwift Operators.swift
[236/360] Compiling CryptoSwift DER.swift
[237/360] Compiling CryptoSwift PBKDF1.swift
[238/360] Compiling CryptoSwift PBKDF2.swift
[239/360] Compiling CryptoSwift PKCS1v15.swift
[255/360] Compiling CryptoSwift CompactMap.swift
[256/360] Compiling CryptoSwift Cryptor.swift
[257/360] Compiling CryptoSwift Cryptors.swift
[258/360] Compiling CryptoSwift Digest.swift
[259/360] Compiling CryptoSwift DigestType.swift
[260/360] Compiling CryptoSwift AES+Foundation.swift
[261/360] Compiling CryptoSwift Array+Foundation.swift
[262/360] Compiling CryptoSwift Blowfish+Foundation.swift
[263/360] Compiling CryptoSwift ChaCha20+Foundation.swift
[264/360] Compiling CryptoSwift Data+Extension.swift
[265/360] Compiling CryptoSwift HMAC+Foundation.swift
[266/360] Compiling CryptoSwift Rabbit+Foundation.swift
[267/360] Compiling CryptoSwift String+FoundationExtension.swift
[268/360] Compiling CryptoSwift Utils+Foundation.swift
[269/360] Compiling CryptoSwift PKCS5.swift
[270/360] Compiling CryptoSwift PKCS7.swift
[271/360] Compiling CryptoSwift PKCS7Padding.swift
[272/360] Compiling CryptoSwift Padding.swift
[273/360] Compiling CryptoSwift Poly1305.swift
[274/360] Compiling CryptoSwift RSA+Cipher.swift
[275/360] Compiling CryptoSwift RSA+Signature.swift
[276/360] Compiling CryptoSwift RSA.swift
[277/360] Compiling CryptoSwift Rabbit.swift
[278/360] Compiling CryptoSwift SHA1.swift
[279/360] Compiling CryptoSwift SHA2.swift
[280/360] Compiling CryptoSwift SHA3.swift
[281/360] Compiling CryptoSwift Scrypt.swift
[282/360] Compiling CryptoSwift SecureBytes.swift
[283/360] Compiling CryptoSwift IntegerConversion.swift
[284/360] Compiling CryptoSwift Multiplication.swift
[285/360] Compiling CryptoSwift PrimeTest.swift
[286/360] Compiling CryptoSwift Random.swift
[287/360] Compiling CryptoSwift Shifts.swift
[288/360] Compiling CryptoSwift SquareRoot.swift
[289/360] Compiling CryptoSwift Strideable.swift
[290/360] Compiling CryptoSwift StringConversion.swift
[291/360] Compiling CryptoSwift Subtraction.swift
[292/360] Compiling CryptoSwift WordsAndBits.swift
[293/360] Compiling CryptoSwift ChaCha20.swift
[294/360] Compiling CryptoSwift Checksum.swift
[295/360] Compiling CryptoSwift Cipher.swift
[296/360] Compiling CryptoSwift Collection+Extension.swift
[297/360] Emitting module DequeModule
[298/360] Emitting module CryptoSwift
[314/360] Compiling CryptoSwift Signature.swift
[315/360] Compiling CryptoSwift StreamDecryptor.swift
[316/360] Compiling CryptoSwift StreamEncryptor.swift
[317/360] Compiling CryptoSwift String+Extension.swift
[318/360] Compiling CryptoSwift UInt128.swift
[319/360] Compiling CryptoSwift UInt16+Extension.swift
[320/360] Compiling CryptoSwift UInt32+Extension.swift
[321/360] Compiling CryptoSwift UInt64+Extension.swift
[322/360] Compiling CryptoSwift UInt8+Extension.swift
[323/360] Compiling CryptoSwift Updatable.swift
[324/360] Compiling CryptoSwift Utils.swift
[325/360] Compiling CryptoSwift XChaCha20.swift
[326/360] Compiling CryptoSwift ZeroPadding.swift
[327/360] Compiling CryptoSwift resource_bundle_accessor.swift
[334/362] Wrapping AST for CryptoSwift for debugging
[335/362] Wrapping AST for DequeModule 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 EventLoopFuture+Deprecated.swift
[347/434] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[348/434] Compiling NIOCore EventLoopFuture.swift
[349/434] Compiling NIOCore FileDescriptor.swift
[350/434] Compiling NIOCore FileHandle.swift
[351/434] Compiling NIOCore FileRegion.swift
[352/434] Compiling NIOCore GlobalSingletons.swift
[353/434] Compiling NIOCore IO.swift
[354/434] Compiling NIOCore IOData.swift
[355/434] Compiling NIOCore IPProtocol.swift
[356/434] Compiling NIOCore IntegerBitPacking.swift
[357/434] Compiling NIOCore IntegerTypes.swift
[358/434] Compiling NIOCore Interfaces.swift
[359/434] Compiling NIOCore Linux.swift
[360/434] Compiling NIOCore MarkedCircularBuffer.swift
[361/434] Compiling NIOCore MulticastChannel.swift
[362/434] Compiling NIOCore NIOAny.swift
[363/434] Compiling NIOCore NIOCloseOnErrorHandler.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 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] Emitting module NIOCore
[382/434] Compiling NIOCore AddressedEnvelope.swift
[383/434] Compiling NIOCore AsyncAwaitSupport.swift
[384/434] Compiling NIOCore AsyncChannel.swift
[385/434] Compiling NIOCore AsyncChannelHandler.swift
[386/434] Compiling NIOCore AsyncChannelInboundStream.swift
[387/434] Compiling NIOCore AsyncChannelOutboundWriter.swift
[388/434] Compiling NIOCore NIOAsyncSequenceProducer.swift
[389/434] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[390/434] Compiling NIOCore NIOAsyncWriter.swift
[391/434] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[392/434] Compiling NIOCore BSDSocketAPI.swift
[393/434] Compiling NIOCore ByteBuffer-aux.swift
[394/434] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[395/434] Compiling NIOCore ByteBuffer-conversions.swift
[396/434] Compiling NIOCore ByteBuffer-core.swift
[397/434] Compiling NIOCore ByteBuffer-hex.swift
[398/434] Compiling NIOCore ByteBuffer-int.swift
[399/434] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[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/435] Wrapping AST for NIOCore for debugging
[411/489] Emitting module NIOEmbedded
[412/489] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[413/489] Compiling NIOEmbedded AsyncTestingChannel.swift
[414/489] Compiling NIOEmbedded Embedded.swift
[416/490] Compiling NIOPosix HappyEyeballs.swift
[417/490] Compiling NIOPosix IO.swift
[418/490] Compiling NIOPosix IntegerBitPacking.swift
[419/490] Compiling NIOPosix IntegerTypes.swift
[420/490] Compiling NIOPosix Linux.swift
[421/490] Compiling NIOPosix LinuxCPUSet.swift
[422/490] Compiling NIOPosix LinuxUring.swift
[422/496] Wrapping AST for NIOEmbedded for debugging
[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 SelectableChannel.swift
[446/496] Compiling NIOPosix SelectableEventLoop.swift
[447/496] Compiling NIOPosix SelectorEpoll.swift
[448/496] Compiling NIOPosix SelectorGeneric.swift
[449/496] Compiling NIOPosix SelectorKqueue.swift
[450/496] Compiling NIOPosix SelectorUring.swift
[451/496] Compiling NIOPosix SelectorWSAPoll.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 BaseStreamSocketChannel.swift
[460/496] Compiling NIOPosix Bootstrap.swift
[461/496] Compiling NIOPosix ControlMessage.swift
[462/496] Compiling NIOPosix DatagramVectorReadManager.swift
[463/496] Compiling NIOPosix Errors+Any.swift
[464/496] Compiling NIOPosix FileDescriptor.swift
[465/496] Compiling NIOPosix GetaddrinfoResolver.swift
[466/496] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[467/496] Compiling NIOPosix NIOPosixSendableMetatype.swift
[468/496] Compiling NIOPosix NIOThreadPool.swift
[469/496] Compiling NIOPosix NonBlockingFileIO.swift
[470/496] Compiling NIOPosix PendingDatagramWritesManager.swift
[471/496] Compiling NIOPosix PendingWritesManager.swift
[472/496] Compiling NIOPosix PipeChannel.swift
[473/497] Wrapping AST for NIOPosix for debugging
[475/499] Compiling NIO Exports.swift
[476/499] Emitting module NIO
[477/500] Wrapping AST for NIO for debugging
[479/516] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[480/516] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[481/516] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[482/516] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[483/516] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[484/516] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[485/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[486/518] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[487/518] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[488/518] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[489/518] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[490/518] Compiling NIOHTTP1 HTTPTypes.swift
[491/518] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[492/518] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[493/518] Emitting module NIOHTTP1
[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] Compiling TinyHTTPServer TinyHTTPServer.swift
[500/521] Emitting module TinyHTTPServer
[501/522] Wrapping AST for TinyHTTPServer for debugging
[503/543] Compiling OAuth1 TokenProvider.swift
[504/543] Compiling OAuth2 TokenProvider.swift
[505/544] Compiling OAuth1 encode.swift
[506/544] Compiling OAuth1 openURL.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[507/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
[508/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 | }
[509/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)
[510/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
[511/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 |
[512/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 |
[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 | }
[515/544] Compiling OAuth2 openURL.swift
[516/544] Compiling OAuth1 Token.swift
[517/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 |
[518/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 | }
BUILD FAILURE 6.3 linux