The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DiscordKit with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftcordApp/DiscordKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SwiftcordApp/DiscordKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 02efce5 patch(logout): remove token after logout call
Cloned https://github.com/SwiftcordApp/DiscordKit.git
Revision (git rev-parse @):
02efce5d2ddda37b6f9bc81501fe189868f3a6ac
SUCCESS checkout https://github.com/SwiftcordApp/DiscordKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/SwiftcordApp/DiscordKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/tsolomko/BitByteData
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/tsolomko/SWCompression.git
[1/2984] Fetching bitbytedata
[2985/19826] Fetching bitbytedata, swcompression
Fetched https://github.com/tsolomko/BitByteData (0.26s)
Fetching https://github.com/tesseract-one/WebSocket.swift.git
[337/16842] Fetching swcompression
[9096/29050] Fetching swcompression, swift-nio-ssl
[11265/29333] Fetching swcompression, swift-nio-ssl, websocket.swift
Fetched https://github.com/tesseract-one/WebSocket.swift.git (0.22s)
Fetching https://github.com/apple/swift-log.git
[13819/29050] Fetching swcompression, swift-nio-ssl
[25511/32223] Fetching swcompression, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git (0.47s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-nio-ssl.git (1.32s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/tsolomko/SWCompression.git (1.35s)
Fetching https://github.com/ashleymills/Reachability.swift
Fetched https://github.com/apple/swift-docc-plugin (0.49s)
Fetching https://github.com/apple/swift-protobuf.git
[1/1867] Fetching reachability.swift
Fetched https://github.com/ashleymills/Reachability.swift (0.25s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/65189] Fetching swift-nio
[3913/73457] Fetching swift-nio, opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.57s)
[28684/65189] Fetching swift-nio
[43026/99159] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git (4.58s)
Fetched https://github.com/apple/swift-protobuf.git (5.33s)
Computing version for https://github.com/tesseract-one/WebSocket.swift.git
Computed https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0 (0.31s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.5 (0.31s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.32s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.2 (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.31s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.1.0 (0.92s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.39s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.2 (0.32s)
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.1.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.5
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/tesseract-one/WebSocket.swift.git
Working copy of https://github.com/tesseract-one/WebSocket.swift.git resolved at 0.2.0
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin SwiftProtobufPlugin...
Building for debugging...
[0/444] Compiling CNIOSHA1 c_nio_sha1.c
[1/444] Compiling CNIOWindows shim.c
[1/444] Compiling CNIOWindows WSAStartup.c
[3/475] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[4/477] Compiling CNIOLinux shim.c
[5/477] Compiling CNIOLinux liburing_shims.c
[5/477] Compiling CNIOHTTPParser c_nio_http_parser.c
[5/477] Compiling CNIODarwin shim.c
[9/629] Emitting module BitByteData
[9/630] Compiling CNIOBoringSSLShims shims.c
[9/630] Compiling tls_record.cc
[12/630] Compiling BitByteData SignedNumberRepresentation.swift
[13/630] Compiling Logging Locks.swift
[14/630] Emitting module Logging
[15/630] Compiling _NIODataStructures PriorityQueue.swift
[16/630] Emitting module _NIODataStructures
[17/630] Compiling _NIODataStructures Heap.swift
[19/632] Compiling tls_method.cc
[21/632] Compiling BitByteData MsbBitWriter.swift
[22/632] Compiling BitByteData MsbBitReader.swift
[23/632] Compiling BitByteData LsbBitWriter.swift
[24/632] Compiling OpenCombine AnyCancellable.swift
[25/632] Compiling OpenCombine AnyPublisher.swift
[26/632] Compiling OpenCombine Codable.swift
[27/632] Compiling OpenCombine CombineIdentifier.swift
[28/632] Compiling OpenCombine AnySubscriber.swift
[29/632] Compiling OpenCombine Cancellable.swift
[30/632] Compiling BitByteData LsbBitReader.swift
[31/633] Compiling OpenCombine Publishers.MakeConnectable.swift
[32/633] Compiling OpenCombine Publishers.Map.swift
[33/633] Compiling OpenCombine Publishers.MapError.swift
[34/633] Compiling OpenCombine Publishers.MeasureInterval.swift
[35/633] Compiling OpenCombine Publishers.Multicast.swift
[36/633] Compiling OpenCombine Publishers.Output.swift
[37/633] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[38/633] Compiling OpenCombine Publishers.PrefixWhile.swift
[39/633] Compiling OpenCombine Publishers.Print.swift
[40/633] Compiling OpenCombine Publishers.ReceiveOn.swift
[43/644] Compiling Logging LogHandler.swift
[44/644] Compiling Logging Logging.swift
[53/646] Compiling OpenCombine ConcurrencyHelpers.swift
[54/646] Compiling OpenCombine Future+Concurrency.swift
[55/646] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[56/646] Compiling OpenCombine CurrentValueSubject.swift
[57/646] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[58/646] Compiling OpenCombine Future.swift
[59/646] Compiling OpenCombine GENERATED-RootProtocols.swift
[60/658] Emitting module OpenCombine
[60/658] Compiling tls13_enc.cc
[62/658] Emitting module SwiftProtobuf
[63/722] Compiling SWCompression 7zProperty.swift
[64/722] Compiling SWCompression 7zStreamInfo.swift
[65/722] Compiling SWCompression CodeLength.swift
[66/722] Compiling SWCompression DecodingTree.swift
[67/722] Compiling SWCompression EncodingTree.swift
[68/722] Compiling SWCompression CompressionAlgorithm.swift
[69/722] Compiling SWCompression CompressionMethod.swift
[70/722] Compiling SWCompression Container.swift
[71/722] Compiling SWCompression ContainerEntry.swift
[72/722] Compiling SWCompression ContainerEntryInfo.swift
[73/722] Compiling SWCompression ContainerEntryType.swift
[73/744] Compiling tls13_server.cc
[84/748] Compiling SWCompression DosAttributes.swift
[85/748] Compiling SWCompression Permissions.swift
[86/748] Compiling SWCompression DataError.swift
[87/748] Compiling SWCompression DecompressionAlgorithm.swift
[88/748] Compiling OpenCombine Result.swift
[89/748] Compiling OpenCombine Scheduler.swift
[90/748] Compiling OpenCombine Subject+Void.swift
[91/748] Compiling OpenCombine Subscriber+Void.swift
[92/748] Compiling OpenCombine Subscribers.Assign.swift
[93/748] Compiling OpenCombine Subscribers.Completion.swift
[94/748] Compiling OpenCombine Subscribers.Demand.swift
[95/748] Compiling OpenCombine Subscribers.Sink.swift
[96/748] Compiling OpenCombine Subscribers.swift
[97/748] Compiling OpenCombine Subscription.swift
[98/748] Compiling OpenCombine Subscriptions.swift
[99/748] Compiling OpenCombine _Introspection.swift
[99/748] Compiling tls13_client.cc
[101/748] Compiling SWCompression LZ4+Compress.swift
[102/748] Compiling SWCompression LZ4.swift
[103/748] Compiling SWCompression XxHash32.swift
[104/748] Compiling SWCompression LZMA.swift
[105/748] Compiling SWCompression LZMABitTreeDecoder.swift
[106/748] Compiling SWCompression LZMAConstants.swift
[107/748] Compiling SWCompression LZMADecoder.swift
[108/748] Compiling SWCompression LZMAError.swift
[109/748] Compiling SWCompression LZMALenDecoder.swift
[110/748] Compiling SWCompression LZMAProperties.swift
[111/748] Compiling SWCompression LZMARangeDecoder.swift
[112/748] Compiling SWCompression LZMA2.swift
[113/748] Compiling SWCompression LZMA2Decoder.swift
[113/748] Compiling tls13_both.cc
[114/748] Compiling t1_enc.cc
[116/748] Compiling SWCompression 7zSubstreamInfo.swift
[117/748] Compiling SWCompression CompressionMethod+7z.swift
[118/748] Compiling SWCompression MsbBitReader+7z.swift
[119/748] Compiling SWCompression BZip2+BlockSize.swift
[120/748] Compiling SWCompression BZip2+Compress.swift
[121/748] Compiling SWCompression BZip2+Lengths.swift
[122/748] Compiling SWCompression BZip2.swift
[123/748] Compiling SWCompression BZip2Error.swift
[124/748] Compiling SWCompression BurrowsWheeler.swift
[125/748] Compiling SWCompression SuffixArray.swift
[126/748] Compiling SWCompression Archive.swift
[127/748] Compiling SWCompression CheckSums.swift
[128/748] Compiling SWCompression Code.swift
[129/748] Compiling SWCompression DeltaFilter.swift
[130/748] Compiling SWCompression Extensions.swift
[131/748] Compiling SWCompression FileSystemType.swift
[132/748] Compiling SWCompression Deflate+Compress.swift
[133/748] Compiling SWCompression Deflate+Constants.swift
[134/748] Compiling SWCompression Deflate+Lengths.swift
[135/748] Compiling SWCompression Deflate.swift
[136/748] Compiling SWCompression DeflateError.swift
[137/748] Compiling SWCompression FileSystemType+Gzip.swift
[138/748] Compiling SWCompression GzipArchive.swift
[139/748] Compiling SWCompression GzipError.swift
[140/748] Compiling SWCompression GzipHeader+ExtraField.swift
[141/748] Compiling SWCompression GzipHeader.swift
[141/748] Compiling ssl_versions.cc
[163/748] Compiling SWCompression 7zCoder+Equatable.swift
[164/748] Compiling SWCompression 7zCoder.swift
[165/748] Compiling SWCompression 7zCoderInfo.swift
[166/748] Compiling SWCompression 7zContainer.swift
[167/748] Compiling SWCompression 7zEntry.swift
[168/748] Compiling SWCompression 7zEntryInfo.swift
[169/748] Compiling SWCompression 7zError.swift
[170/748] Compiling SWCompression 7zFileInfo.swift
[171/748] Compiling SWCompression 7zFolder.swift
[172/748] Compiling SWCompression 7zHeader.swift
[173/748] Compiling SWCompression 7zPackInfo.swift
[176/760] Compiling SWCompression TarWriter.swift
[177/760] Compiling SWCompression ByteReader+XZ.swift
[178/760] Compiling SWCompression Sha256.swift
[179/760] Compiling SWCompression XZArchive.swift
[180/760] Compiling SWCompression XZBlock.swift
[181/760] Compiling SWCompression XZError.swift
[182/760] Compiling SWCompression XZStreamHeader.swift
[183/760] Compiling SWCompression BuiltinExtraFields.swift
[184/760] Compiling SWCompression CompressionMethod+Zip.swift
[185/760] Compiling SWCompression FileSystemType+Zip.swift
[186/760] Compiling SWCompression LittleEndianByteReader+Zip.swift
[187/760] Compiling SWCompression ZipCentralDirectoryEntry.swift
[188/760] Compiling SWCompression ZipContainer.swift
[189/760] Compiling SWCompression LZMA2Error.swift
[190/760] Compiling SWCompression ContainerEntryType+Tar.swift
[191/760] Compiling SWCompression Data+Tar.swift
[192/760] Compiling SWCompression LittleEndianByteReader+Tar.swift
[193/760] Compiling SWCompression TarContainer.swift
[194/760] Compiling SWCompression TarCreateError.swift
[195/760] Compiling SWCompression TarEntry.swift
[196/760] Compiling SWCompression TarEntryInfo.swift
[197/760] Compiling SWCompression TarError.swift
[198/760] Compiling SWCompression TarExtendedHeader.swift
[199/760] Compiling SWCompression TarHeader.swift
[200/760] Compiling SWCompression TarParser.swift
[201/760] Compiling SWCompression TarReader.swift
[226/762] Emitting module SWCompression
[226/762] Compiling ssl_x509.cc
[227/773] Compiling ssl_transcript.cc
[255/773] Compiling OpenCombineFoundation Locking.swift
[256/773] Compiling OpenCombineFoundation Portability.swift
[257/773] Compiling OpenCombineFoundation Utils.swift
[258/773] Compiling OpenCombineFoundation Violations.swift
[259/773] Compiling OpenCombineFoundation JSONEncoder.swift
[260/773] Compiling OpenCombineFoundation NotificationCenter.swift
[270/774] Emitting module OpenCombineFoundation
[271/774] Compiling OpenCombineFoundation Timer+Publisher.swift
[274/774] Compiling SWCompression ZipEndOfCentralDirectory.swift
[275/774] Compiling SWCompression ZipEntry.swift
[276/774] Compiling SWCompression ZipEntryInfo.swift
[277/774] Compiling SWCompression ZipEntryInfoHelper.swift
[278/774] Compiling SWCompression ZipError.swift
[279/774] Compiling SWCompression ZipExtraField.swift
[280/774] Compiling SWCompression ZipLocalHeader.swift
[281/774] Compiling SWCompression ZlibArchive.swift
[282/774] Compiling SWCompression ZlibError.swift
[283/774] Compiling SWCompression ZlibHeader.swift
[283/774] Compiling ssl_stat.cc
[285/774] Compiling OpenCombineFoundation PropertyListEncoder.swift
[286/774] Compiling OpenCombineFoundation RunLoop+Scheduler.swift
[287/774] Compiling OpenCombineFoundation URLSession.swift
[311/774] Compiling ssl_privkey.cc
[315/774] Compiling OpenCombineFoundation OperationQueue+Scheduler.swift
[317/776] Compiling ssl_session.cc
[318/776] Compiling ssl_lib.cc
[319/776] Compiling ssl_file.cc
[320/776] Compiling ssl_key_share.cc
[321/776] Compiling ssl_cipher.cc
[322/776] Compiling ssl_buffer.cc
[323/776] Compiling ssl_cert.cc
[352/778] Compiling s3_pkt.cc
[353/778] Compiling ssl_aead_ctx.cc
[354/778] Compiling ssl_asn1.cc
[355/778] Compiling s3_both.cc
[356/778] Compiling s3_lib.cc
[357/778] Compiling handshake_server.cc
[358/778] Compiling handshake_client.cc
[359/778] Compiling handshake.cc
[360/778] Compiling handoff.cc
[372/780] Compiling dtls_record.cc
[374/780] Compiling extensions.cc
[375/780] Compiling encrypted_client_hello.cc
[376/780] Compiling v3_skey.c
[377/780] Compiling v3_utl.c
[378/780] Compiling dtls_method.cc
[379/780] Compiling v3_prn.c
[380/780] Compiling v3_pmaps.c
[381/780] Compiling v3_purp.c
[382/780] Compiling d1_pkt.cc
[383/780] Compiling bio_ssl.cc
[384/780] Compiling d1_srtp.cc
[385/780] Compiling v3_pcons.c
[386/780] Compiling d1_lib.cc
[387/780] Compiling v3_pci.c
[388/780] Compiling v3_ocsp.c
[389/780] Compiling v3_pcia.c
[390/780] Compiling v3_int.c
[391/780] Compiling v3_ncons.c
[392/780] Compiling v3_ia5.c
[393/780] Compiling v3_lib.c
[394/780] Compiling d1_both.cc
[395/780] Compiling v3_enum.c
[396/780] Compiling v3_info.c
[397/780] Compiling v3_genn.c
[398/780] Compiling v3_extku.c
[399/780] Compiling v3_crld.c
[400/780] Compiling v3_bitst.c
[401/780] Compiling v3_conf.c
[402/780] Compiling v3_cpols.c
[403/780] Compiling v3_bcons.c
[404/780] Compiling v3_akeya.c
[405/780] Compiling v3_alt.c
[406/780] Compiling v3_akey.c
[407/780] Compiling pcy_tree.c
[408/780] Compiling pcy_node.c
[409/780] Compiling pcy_map.c
[410/780] Compiling x_x509a.c
[410/780] Compiling pcy_data.c
[412/780] Compiling pcy_lib.c
[413/780] Compiling pcy_cache.c
[414/780] Compiling x_val.c
[415/780] Compiling x_x509.c
[416/780] Compiling x_req.c
[417/780] Compiling x_spki.c
[418/780] Compiling x_pubkey.c
[419/780] Compiling x_sig.c
[420/780] Compiling x_pkey.c
[421/780] Compiling x_name.c
[422/780] Compiling x_exten.c
[423/780] Compiling x_info.c
[424/780] Compiling x_algor.c
[425/780] Compiling x_attrib.c
[426/780] Compiling x_all.c
[427/780] Compiling x509spki.c
[427/780] Compiling x_crl.c
[429/780] Compiling x509rset.c
[430/780] Compiling x509cset.c
[431/780] Compiling x509name.c
[432/780] Compiling x509_txt.c
[433/780] Compiling x509_v3.c
[434/780] Compiling x509_vpm.c
[435/780] Compiling x509_vfy.c
[436/780] Compiling x509_set.c
[437/780] Compiling x509_req.c
[438/780] Compiling x509_trs.c
[439/780] Compiling x509_def.c
[440/780] Compiling x509_obj.c
[441/780] Compiling x509_lu.c
[442/780] Compiling x509_d2.c
[443/780] Compiling x509_ext.c
[444/780] Compiling x509.c
[445/780] Compiling x509_att.c
[446/780] Compiling t_x509a.c
[447/780] Compiling t_x509.c
[448/780] Compiling x509_cmp.c
[449/780] Compiling i2d_pr.c
[450/780] Compiling t_crl.c
[451/780] Compiling name_print.c
[452/780] Compiling t_req.c
[453/780] Compiling rsa_pss.c
[454/780] Compiling by_file.c
[455/780] Compiling by_dir.c
[456/780] Compiling a_sign.c
[456/780] Compiling a_verify.c
[458/780] Compiling algorithm.c
[459/780] Compiling asn1_gen.c
[460/780] Compiling trust_token.c
[461/780] Compiling voprf.c
[462/780] Compiling a_digest.c
[463/780] Compiling thread_pthread.c
[464/780] Compiling thread_none.c
[465/780] Compiling thread_win.c
[466/780] Compiling thread.c
[467/780] Compiling stack.c
[468/780] Compiling rsa_print.c
[469/780] Compiling pmbtoken.c
[470/780] Compiling siphash.c
[471/780] Compiling refcount_c11.c
[472/780] Compiling rc4.c
[473/780] Compiling refcount_lock.c
[474/780] Compiling rsa_asn1.c
[475/780] Compiling windows.c
[476/780] Compiling rand_extra.c
[477/780] Compiling fuchsia.c
[478/780] Compiling deterministic.c
[479/780] Compiling passive.c
[480/780] Compiling forkunsafe.c
[481/780] Compiling poly1305_arm.c
[482/780] Compiling poly1305.c
[483/780] Compiling pool.c
[484/780] Compiling poly1305_arm_asm.S
[485/780] Compiling pkcs7.c
[486/780] Compiling pkcs8.c
[487/780] Compiling p5_pbev2.c
[488/780] Compiling pem_xaux.c
[489/780] Compiling pkcs7_x509.c
[490/780] Compiling pkcs8_x509.c
[491/780] Compiling pem_x509.c
[492/780] Compiling pem_pkey.c
[493/780] Compiling pem_pk8.c
[494/780] Compiling pem_lib.c
[495/780] Compiling obj_xref.c
[496/780] Compiling pem_info.c
[497/780] Compiling pem_all.c
[498/780] Compiling pem_oth.c
[499/780] Compiling mem.c
[500/780] Compiling lhash.c
[501/780] Compiling obj.c
[502/780] Compiling hkdf.c
[503/780] Compiling hpke.c
[504/780] Compiling poly1305_vec.c
[505/780] Compiling poly_rq_mul.S
[506/780] Compiling x86_64-mont5.mac.x86_64.S
[507/780] Compiling x86_64-mont.mac.x86_64.S
[508/780] Compiling x86_64-mont5.linux.x86_64.S
[509/780] Compiling x86_64-mont.linux.x86_64.S
[510/780] Compiling x86-mont.linux.x86.S
[511/780] Compiling hrss.c
[512/780] Compiling vpaes-x86_64.mac.x86_64.S
[513/780] Compiling vpaes-x86.linux.x86.S
[514/780] Compiling vpaes-armv8.linux.aarch64.S
[515/780] Compiling vpaes-armv8.ios.aarch64.S
[516/780] Compiling vpaes-x86_64.linux.x86_64.S
[517/780] Compiling vpaes-armv7.ios.arm.S
[518/780] Compiling vpaes-armv7.linux.arm.S
[519/780] Compiling kdf.c
[520/780] Compiling sha512-x86_64.mac.x86_64.S
[521/780] Compiling sha512-armv8.linux.aarch64.S
[522/780] Compiling sha512-armv4.linux.arm.S
[523/780] Compiling sha512-x86_64.linux.x86_64.S
[524/780] Compiling sha512-armv8.ios.aarch64.S
[525/780] Compiling sha512-586.linux.x86.S
[526/780] Compiling sha512-armv4.ios.arm.S
[527/780] Compiling sha256-x86_64.mac.x86_64.S
[528/780] Compiling sha256-armv8.linux.aarch64.S
[529/780] Compiling sha256-armv8.ios.aarch64.S
[530/780] Compiling sha256-x86_64.linux.x86_64.S
[531/780] Compiling sha256-armv4.linux.arm.S
[532/780] Compiling sha1-x86_64.mac.x86_64.S
[532/780] Compiling sha256-armv4.ios.arm.S
[534/780] Compiling sha256-586.linux.x86.S
[535/780] Compiling sha1-x86_64.linux.x86_64.S
[536/780] Compiling sha1-armv8.linux.aarch64.S
[537/780] Compiling sha1-armv4-large.linux.arm.S
[538/780] Compiling sha1-armv8.ios.aarch64.S
[539/780] Compiling sha1-armv4-large.ios.arm.S
[540/780] Compiling sha1-586.linux.x86.S
[541/780] Compiling sha512.c
[542/780] Compiling sha256.c
[543/780] Compiling sha1-altivec.c
[544/780] Compiling sha1.c
[545/780] Compiling fips.c
[546/780] Compiling rsaz-avx2.mac.x86_64.S
[547/780] Compiling self_check.c
[548/780] Compiling rsaz-avx2.linux.x86_64.S
[549/780] Compiling rsa_impl.c
[550/780] Compiling padding.c
[551/780] Compiling rsa.c
[552/780] Compiling rdrand-x86_64.mac.x86_64.S
[553/780] Compiling blinding.c
[554/780] Compiling rdrand-x86_64.linux.x86_64.S
[555/780] Compiling urandom.c
[556/780] Compiling fork_detect.c
[557/780] Compiling ctrdrbg.c
[558/780] Compiling rand.c
[559/780] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[559/780] Compiling p256_beeu-armv8-asm.linux.aarch64.S
[561/780] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[562/780] Compiling p256_beeu-armv8-asm.ios.aarch64.S
[563/780] Compiling p256-x86_64-asm.mac.x86_64.S
[564/780] Compiling p256-armv8-asm.linux.aarch64.S
[565/780] Compiling p256-x86_64-asm.linux.x86_64.S
[566/780] Compiling polyval.c
[567/780] Compiling ofb.c
[568/780] Compiling gcm_nohw.c
[569/780] Compiling p256-armv8-asm.ios.aarch64.S
[570/780] Compiling ctr.c
[571/780] Compiling cfb.c
[572/780] Compiling gcm.c
[573/780] Compiling cbc.c
[574/780] Compiling md5.c
[575/780] Compiling md5-x86_64.mac.x86_64.S
[576/780] Compiling md5-x86_64.linux.x86_64.S
[577/780] Compiling md5-586.linux.x86.S
[578/780] Compiling hmac.c
[579/780] Compiling ghashv8-armx64.linux.aarch64.S
[580/780] Compiling md4.c
[581/780] Compiling ghashv8-armx64.ios.aarch64.S
[582/780] Compiling ghashv8-armx32.linux.arm.S
[583/780] Compiling ghashv8-armx32.ios.arm.S
[584/780] Compiling ghash-x86_64.mac.x86_64.S
[585/780] Compiling ghash-x86_64.linux.x86_64.S
[586/780] Compiling ghash-x86.linux.x86.S
[587/780] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[588/780] Compiling fips_shared_support.c
[589/780] Compiling ghash-ssse3-x86.linux.x86.S
[590/780] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[591/780] Compiling ghash-neon-armv8.linux.aarch64.S
[592/780] Compiling ghash-neon-armv8.ios.aarch64.S
[593/780] Compiling ghash-armv4.linux.arm.S
[594/780] Compiling ghash-armv4.ios.arm.S
[595/780] Compiling ecdsa.c
[596/780] Compiling ecdh.c
[596/780] Compiling wnaf.c
[598/780] Compiling util.c
[599/780] Compiling simple_mul.c
[600/780] Compiling simple.c
[601/780] Compiling scalar.c
[602/780] Compiling felem.c
[603/780] Compiling oct.c
[604/780] Compiling ec_montgomery.c
[605/780] Compiling p256.c
[606/780] Compiling p224-64.c
[607/780] Compiling ec_key.c
[608/780] Compiling ec.c
[609/780] Compiling check.c
[610/780] Compiling digest.c
[611/780] Compiling digests.c
[612/780] Compiling dh.c
[613/780] Compiling co-586.linux.x86.S
[614/780] Compiling bsaes-armv7.ios.arm.S
[615/780] Compiling aead.c
[616/780] Compiling cipher.c
[617/780] Compiling e_aes.c
[618/780] Compiling bsaes-armv7.linux.arm.S
[619/780] Compiling shift.c
[620/780] Compiling rsaz_exp.c
[620/780] Compiling sqrt.c
[622/780] Compiling p256-nistz.c
[623/780] Compiling random.c
[624/780] Compiling mul.c
[625/780] Compiling montgomery_inv.c
[626/780] Compiling prime.c
[627/780] Compiling jacobi.c
[628/780] Compiling gcd_extra.c
[629/780] Compiling generic.c
[630/780] Compiling montgomery.c
[631/780] Compiling gcd.c
[632/780] Compiling div_extra.c
[633/780] Compiling div.c
[634/780] Compiling ctx.c
[635/780] Compiling cmp.c
[636/780] Compiling bytes.c
[637/780] Compiling exponentiation.c
[638/780] Compiling add.c
[639/780] Compiling bn.c
[640/780] Compiling bn-586.linux.x86.S
[641/780] Compiling armv8-mont.linux.aarch64.S
[642/780] Compiling armv4-mont.ios.arm.S
[643/780] Compiling armv8-mont.ios.aarch64.S
[644/780] Compiling armv4-mont.linux.arm.S
[645/780] Compiling aesv8-armx64.linux.aarch64.S
[646/780] Compiling x86_64-gcc.c
[647/780] Compiling aesv8-armx64.ios.aarch64.S
[648/780] Compiling aesv8-armx32.linux.arm.S
[649/780] Compiling aesv8-armx32.ios.arm.S
[650/780] Compiling aesni-x86_64.mac.x86_64.S
[651/780] Compiling aesni-x86.linux.x86.S
[652/780] Compiling aesni-gcm-x86_64.mac.x86_64.S
[653/780] Compiling aesni-x86_64.linux.x86_64.S
[654/780] Compiling aesni-gcm-x86_64.linux.x86_64.S
[655/780] Compiling mode_wrappers.c
[656/780] Compiling aes.c
[657/780] Compiling key_wrap.c
[658/780] Compiling sign.c
[659/780] Compiling ex_data.c
[660/780] Compiling scrypt.c
[661/780] Compiling aes_nohw.c
[662/780] Compiling pbkdf.c
[663/780] Compiling p_x25519.c
[664/780] Compiling p_x25519_asn1.c
[664/780] Compiling print.c
[666/780] Compiling p_rsa_asn1.c
[667/780] Compiling p_rsa.c
[668/780] Compiling p_ed25519_asn1.c
[669/780] Compiling p_ec_asn1.c
[670/780] Compiling p_ed25519.c
[671/780] Compiling p_ec.c
[672/780] Compiling p_dsa_asn1.c
[673/780] Compiling evp_asn1.c
[673/780] Compiling err_data.c
[675/780] Compiling evp_ctx.c
[676/780] Compiling digestsign.c
[677/780] Compiling evp.c
[678/780] Compiling engine.c
[679/780] Compiling err.c
[680/780] Compiling ecdsa_asn1.c
[681/780] Compiling ecdh_extra.c
[682/780] Compiling ec_derive.c
[683/780] Compiling dsa_asn1.c
[684/780] Compiling ec_asn1.c
[684/780] Compiling hash_to_curve.c
[686/780] Compiling params.c
[687/780] Compiling dh_asn1.c
[688/780] Compiling digest_extra.c
[689/780] Compiling dsa.c
[690/780] Compiling cpu_ppc64le.c
[691/780] Compiling spake25519.c
[692/780] Compiling crypto.c
[693/780] Compiling cpu_intel.c
[694/780] Compiling des.c
[695/780] Compiling x25519-asm-arm.S
[696/780] Compiling cpu_arm_linux.c
[697/780] Compiling cpu_arm.c
[698/780] Compiling cpu_aarch64_win.c
[699/780] Compiling cpu_aarch64_linux.c
[700/780] Compiling cpu_aarch64_fuchsia.c
[701/780] Compiling cpu_aarch64_apple.c
[702/780] Compiling tls_cbc.c
[703/780] Compiling curve25519.c
[704/780] Compiling e_rc4.c
[704/780] Compiling conf.c
[706/780] Compiling cmac.c
[707/780] Compiling e_tls.c
[708/780] Compiling e_null.c
[709/780] Compiling e_rc2.c
[710/780] Compiling e_des.c
[711/780] Compiling e_chacha20poly1305.c
[712/780] Compiling e_aesctrhmac.c
[713/780] Compiling derive_key.c
[714/780] Compiling cipher_extra.c
[715/780] Compiling e_aesgcmsiv.c
[716/780] Compiling e_aesccm.c
[717/780] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[718/780] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[719/780] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[720/780] Compiling chacha.c
[721/780] Compiling chacha-x86.linux.x86.S
[722/780] Compiling chacha-x86_64.linux.x86_64.S
[723/780] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[724/780] Compiling chacha-x86_64.mac.x86_64.S
[725/780] Compiling chacha-armv8.linux.aarch64.S
[726/780] Compiling chacha-armv8.ios.aarch64.S
[727/780] Compiling chacha-armv4.linux.arm.S
[728/780] Compiling unicode.c
[729/780] Compiling chacha-armv4.ios.arm.S
[730/780] Compiling asn1_compat.c
[731/780] Compiling ber.c
[732/780] Compiling cbb.c
[733/780] Compiling cbs.c
[734/780] Compiling bn_asn1.c
[735/780] Compiling buf.c
[736/780] Compiling blake2.c
[737/780] Compiling convert.c
[738/780] Compiling socket.c
[739/780] Compiling socket_helper.c
[740/780] Compiling printf.c
[741/780] Compiling hexdump.c
[742/780] Compiling pair.c
[743/780] Compiling file.c
[744/780] Compiling bio_mem.c
[744/780] Compiling tasn_new.c
[746/780] Compiling fd.c
[747/780] Compiling base64.c
[748/780] Compiling connect.c
[749/780] Compiling time_support.c
[750/780] Compiling bio.c
[751/780] Compiling tasn_utl.c
[752/780] Compiling tasn_typ.c
[753/780] Compiling tasn_fre.c
[754/780] Compiling tasn_enc.c
[755/780] Compiling f_string.c
[756/780] Compiling tasn_dec.c
[757/780] Compiling asn1_par.c
[758/780] Compiling asn_pack.c
[758/780] Compiling f_int.c
[760/780] Compiling asn1_lib.c
[761/780] Compiling a_utf8.c
[762/780] Compiling a_utctm.c
[763/780] Compiling a_time.c
[764/780] Compiling a_type.c
[765/780] Compiling a_print.c
[765/780] Compiling a_gentm.c
[767/780] Compiling a_strnid.c
[768/780] Compiling a_strex.c
[769/780] Compiling a_octet.c
[770/780] Compiling a_bitstr.c
[771/780] Compiling c-nioatomics.c
[772/780] Compiling a_mbstr.c
[773/780] Compiling a_object.c
[774/780] Compiling a_dup.c
[775/780] Compiling a_i2d_fp.c
[776/780] Compiling a_d2i_fp.c
[777/780] Compiling a_bool.c
[778/780] Compiling a_int.c
[779/780] Compiling c-atomics.c
[781/784] Compiling NIOConcurrencyHelpers lock.swift
[782/784] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[783/784] Compiling NIOConcurrencyHelpers atomics.swift
[784/784] Emitting module NIOConcurrencyHelpers
[787/830] Compiling NIOCore MulticastChannel.swift
[788/830] Compiling NIOCore NIOAny.swift
[789/830] Compiling NIOCore NIOCloseOnErrorHandler.swift
[790/830] Compiling NIOCore PointerHelpers.swift
[791/830] Compiling NIOCore RecvByteBufferAllocator.swift
[792/830] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[793/836] Compiling NIOCore IOData.swift
[794/836] Compiling NIOCore IntegerBitPacking.swift
[795/836] Compiling NIOCore IntegerTypes.swift
[796/836] Compiling NIOCore Interfaces.swift
[797/836] Compiling NIOCore Linux.swift
[798/836] Compiling NIOCore MarkedCircularBuffer.swift
[799/836] Compiling NIOCore ConvenienceOptionSupport.swift
[800/836] Compiling NIOCore DeadChannel.swift
[801/836] Compiling NIOCore DispatchQueue+WithFuture.swift
[802/836] Compiling NIOCore EventLoop+Deprecated.swift
[803/836] Compiling NIOCore EventLoop.swift
[804/836] Compiling NIOCore EventLoopFuture+Deprecated.swift
[805/836] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[806/836] Compiling NIOCore EventLoopFuture.swift
[807/836] Compiling NIOCore FileDescriptor.swift
[808/836] Compiling NIOCore FileHandle.swift
[809/836] Compiling NIOCore FileRegion.swift
[810/836] Compiling NIOCore IO.swift
[811/836] Compiling NIOCore SocketAddresses.swift
[812/836] Compiling NIOCore SocketOptionProvider.swift
[813/836] Compiling NIOCore SystemCallHelpers.swift
[814/836] Compiling NIOCore TypeAssistedChannelHandler.swift
[815/836] Compiling NIOCore UniversalBootstrapSupport.swift
[816/836] Compiling NIOCore Utilities.swift
[817/836] Compiling NIOCore ChannelHandlers.swift
[818/836] Compiling NIOCore ChannelInvoker.swift
[819/836] Compiling NIOCore ChannelOption.swift
[820/836] Compiling NIOCore ChannelPipeline.swift
[821/836] Compiling NIOCore CircularBuffer.swift
[822/836] Compiling NIOCore Codec.swift
[823/836] Emitting module NIOCore
[824/836] Compiling NIOCore AddressedEnvelope.swift
[825/836] Compiling NIOCore AsyncAwaitSupport+OldXcodes.swift
[826/836] Compiling NIOCore AsyncAwaitSupport.swift
[827/836] Compiling NIOCore BSDSocketAPI.swift
[828/836] Compiling NIOCore ByteBuffer-aux.swift
[829/836] Compiling NIOCore ByteBuffer-conversions.swift
[830/836] Compiling NIOCore ByteBuffer-core.swift
[831/836] Compiling NIOCore ByteBuffer-int.swift
[832/836] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[833/836] Compiling NIOCore ByteBuffer-multi-int.swift
[834/836] Compiling NIOCore ByteBuffer-views.swift
[835/836] Compiling NIOCore Channel.swift
[836/836] Compiling NIOCore ChannelHandler.swift
[839/880] Emitting module NIOEmbedded
[840/880] Compiling NIOEmbedded Embedded.swift
[843/882] Compiling NIOPosix HappyEyeballs.swift
[844/882] Compiling NIOPosix IO.swift
[845/882] Compiling NIOPosix IntegerBitPacking.swift
[846/882] Compiling NIOPosix IntegerTypes.swift
[847/882] Compiling NIOPosix Linux.swift
[848/882] Compiling NIOPosix LinuxCPUSet.swift
[849/887] Compiling NIOPosix SelectorUring.swift
[850/887] Compiling NIOPosix ServerSocket.swift
[851/887] Compiling NIOPosix Socket.swift
[852/887] Compiling NIOPosix SocketChannel.swift
[853/887] Compiling NIOPosix SocketProtocols.swift
[854/887] Emitting module NIOPosix
[855/887] Compiling NIOPosix BSDSocketAPICommon.swift
[856/887] Compiling NIOPosix BSDSocketAPIPosix.swift
[857/887] Compiling NIOPosix BSDSocketAPIWindows.swift
[858/887] Compiling NIOPosix BaseSocket.swift
[859/887] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[860/887] Compiling NIOPosix BaseSocketChannel.swift
[861/887] Compiling NIOPosix SelectableChannel.swift
[862/887] Compiling NIOPosix SelectableEventLoop.swift
[863/887] Compiling NIOPosix SelectorEpoll.swift
[864/887] Compiling NIOPosix SelectorGeneric.swift
[865/887] Compiling NIOPosix SelectorKqueue.swift
[866/887] Compiling NIOPosix PipeChannel.swift
[867/887] Compiling NIOPosix PipePair.swift
[868/887] Compiling NIOPosix PointerHelpers.swift
[869/887] Compiling NIOPosix Resolver.swift
[870/887] Compiling NIOPosix Selectable.swift
[871/887] Compiling NIOPosix System.swift
[872/887] Compiling NIOPosix Thread.swift
[873/887] Compiling NIOPosix ThreadPosix.swift
[874/887] Compiling NIOPosix ThreadWindows.swift
[875/887] Compiling NIOPosix Utilities.swift
[876/887] Compiling NIOPosix LinuxUring.swift
[877/887] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[878/887] Compiling NIOPosix NIOThreadPool.swift
[879/887] Compiling NIOPosix NonBlockingFileIO.swift
[880/887] Compiling NIOPosix PendingDatagramWritesManager.swift
[881/887] Compiling NIOPosix PendingWritesManager.swift
[882/887] Compiling NIOPosix BaseStreamSocketChannel.swift
[883/887] Compiling NIOPosix Bootstrap.swift
[884/887] Compiling NIOPosix ControlMessage.swift
[885/887] Compiling NIOPosix DatagramVectorReadManager.swift
[886/887] Compiling NIOPosix FileDescriptor.swift
[887/887] Compiling NIOPosix GetaddrinfoResolver.swift
[890/891] Emitting module NIO
[891/891] Compiling NIO Exports.swift
[894/911] Compiling NIOTLS TLSEvents.swift
[895/911] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[896/911] Emitting module NIOTLS
[897/911] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[898/911] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[899/912] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[900/912] Emitting module NIOFoundationCompat
[901/912] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[903/914] Compiling NIOTLS SNIHandler.swift
[904/915] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[906/915] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[909/916] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[910/916] Compiling NIOHTTP1 HTTPEncoder.swift
[911/916] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[912/938] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[913/938] Compiling NIOHTTP1 HTTPTypes.swift
[914/938] Emitting module NIOHTTP1
[915/938] Compiling NIOSSL ByteBufferBIO.swift
[916/938] Compiling NIOSSL CustomPrivateKey.swift
[919/951] Compiling NIOWebSocket WebSocketOpcode.swift
[920/952] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[921/952] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[922/952] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[923/952] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[924/952] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[925/952] Compiling NIOWebSocket Base64.swift
[926/952] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[927/952] Compiling NIOWebSocket SHA1.swift
[928/952] Compiling NIOWebSocket WebSocketErrorCodes.swift
[929/952] Emitting module NIOWebSocket
[930/952] Compiling NIOWebSocket WebSocketFrame.swift
[933/954] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[934/954] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[935/954] Compiling NIOSSL SubjectAlternativeName.swift
[942/956] Emitting module NIOSSL
[943/956] Compiling NIOSSL SSLPKCS12Bundle.swift
[944/956] Compiling NIOSSL SSLPrivateKey.swift
[945/956] Compiling NIOSSL SSLPublicKey.swift
[946/956] Compiling NIOSSL SSLCallbacks.swift
[947/956] Compiling NIOSSL SSLCertificate.swift
[948/956] Compiling NIOSSL SSLConnection.swift
[949/956] Compiling NIOSSL NIOSSLServerHandler.swift
[950/956] Compiling NIOSSL ObjectIdentifier.swift
[951/956] Compiling NIOSSL PosixPort.swift
[952/956] Compiling NIOSSL SSLContext.swift
[953/956] Compiling NIOSSL SSLErrors.swift
[954/956] Compiling NIOSSL SSLInit.swift
[955/956] Compiling NIOSSL TLSConfiguration.swift
[956/956] Compiling NIOSSL UniversalBootstrapSupport.swift
[959/967] Compiling WebSocket Data.swift
[960/967] Compiling WebSocket Error.swift
[961/968] Compiling WebSocket EventLoopGroup.swift
[962/968] Compiling WebSocket State.swift
[963/968] Compiling WebSocket ReExport.swift
[964/968] Compiling WebSocket Handler.swift
[965/968] Compiling WebSocket InitialRequestHandler.swift
[966/968] Compiling WebSocket FrameBuffer.swift
[967/968] Emitting module WebSocket
[968/968] Compiling WebSocket WebSocket.swift
[971/1060] Compiling DiscordKitCore APIUtils.swift
[972/1060] Compiling DiscordKitCore DiscordKitConfig.swift
[973/1060] Compiling DiscordKitCore DiscordREST.swift
[974/1060] Compiling DiscordKitCore Collection+Identifiable.swift
[975/1060] Compiling DiscordKitCore Int+decodeFlags.swift
[976/1060] Compiling DiscordKitCore Logger+.swift
[977/1060] Compiling DiscordKitCore Message+.swift
[978/1060] Compiling DiscordKitCore User+.swift
[979/1060] Compiling DiscordKitCore Snowflake+decode.swift
[980/1060] Compiling DiscordKitCore String+random.swift
[981/1060] Compiling DiscordKitCore URL+.swift
[982/1060] Compiling DiscordKitCore URLSession+.swift
[983/1060] Compiling DiscordKitCore DecompressionEngine.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[984/1072] Emitting module DiscordKitCore
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
[985/1072] Compiling DiscordKitCore GuildMiscUpdate.swift
[986/1072] Compiling DiscordKitCore GuildRoleEvt.swift
[987/1072] Compiling DiscordKitCore GuildSchEvtUserEvt.swift
[988/1072] Compiling DiscordKitCore MessageACKEvt.swift
[989/1072] Compiling DiscordKitCore MessageDelete.swift
[990/1072] Compiling DiscordKitCore ReadyEvt.swift
[991/1072] Compiling DiscordKitCore ReadySuppEvt.swift
[992/1072] Compiling DiscordKitCore ThreadListSync.swift
[993/1072] Compiling DiscordKitCore ThreadMembersUpdate.swift
[994/1072] Compiling DiscordKitCore TypingStart.swift
[995/1072] Compiling DiscordKitCore TypingStartEvt.swift
[996/1072] Compiling DiscordKitCore Gateway.swift
[997/1072] Compiling DiscordKitCore GatewayIO.swift
[998/1072] Compiling DiscordKitCore APICurrentUser.swift
[999/1072] Compiling DiscordKitCore APIEmoji.swift
[1000/1072] Compiling DiscordKitCore APIGateway.swift
[1001/1072] Compiling DiscordKitCore APIGuild.swift
[1002/1072] Compiling DiscordKitCore APIGuildScheduledEvent.swift
[1003/1072] Compiling DiscordKitCore APIGuildTemplate.swift
[1004/1072] Compiling DiscordKitCore APIInvite.swift
[1005/1072] Compiling DiscordKitCore APILobbies.swift
[1006/1072] Compiling DiscordKitCore APIMultipartFormBody.swift
[1007/1072] Compiling DiscordKitCore APIOAuth2.swift
[1008/1072] Compiling DiscordKitCore APIReceivingandResponding.swift
[1009/1072] Compiling DiscordKitCore APIRequest.swift
[1010/1072] Compiling DiscordKitCore ReadState.swift
[1011/1072] Compiling DiscordKitCore UserSettings.swift
[1012/1072] Compiling DiscordKitCore LogOut.swift
[1013/1072] Compiling DiscordKitCore MessageReadAck.swift
[1014/1072] Compiling DiscordKitCore NewMessage.swift
[1015/1072] Compiling DiscordKitCore ResolvedInvite.swift
[1016/1072] Compiling DiscordKitCore APIAchievements.swift
[1017/1072] Compiling DiscordKitCore APIApplicationCommands.swift
[1018/1072] Compiling DiscordKitCore APIApplicationRoleConnectionMetadata.swift
[1019/1072] Compiling DiscordKitCore APIAuditLog.swift
[1020/1072] Compiling DiscordKitCore APIAutoModeration.swift
[1021/1072] Compiling DiscordKitCore APIChannel.swift
[1022/1072] Compiling DiscordKitCore APIStageInstance.swift
[1023/1072] Compiling DiscordKitCore APISticker.swift
[1024/1072] Compiling DiscordKitCore APIStore.swift
[1025/1072] Compiling DiscordKitCore APIUser.swift
[1026/1072] Compiling DiscordKitCore APIVoice.swift
[1027/1072] Compiling DiscordKitCore APIWebhook.swift
[1028/1072] Compiling DiscordKitCore DecodeThrowable.swift
[1029/1072] Compiling DiscordKitCore DiscordRange.swift
[1030/1072] Compiling DiscordKitCore EventDispatch.swift
[1031/1072] Compiling DiscordKitCore HashedAsset.swift
[1032/1072] Compiling DiscordKitCore HybridSnowflake.swift
[1033/1072] Compiling DiscordKitCore NullEncodable.swift
[1034/1072] Compiling DiscordKitCore User+Flags.swift
[1035/1072] Compiling DiscordKitCore User+PremiumType.swift
[1036/1072] Compiling DiscordKitCore User.swift
[1037/1072] Compiling DiscordKitCore Voice.swift
[1038/1072] Compiling DiscordKitCore ApplicationObj.swift
[1039/1072] Compiling DiscordKitCore DataStructs.swift
[1040/1072] Compiling DiscordKitCore ChUnreadUpdate.swift
[1041/1072] Compiling DiscordKitCore ChannelPinsUpdate.swift
[1042/1072] Compiling DiscordKitCore GatewayEvent.swift
[1043/1072] Compiling DiscordKitCore GatewaySettingsProtoUpdate.swift
[1044/1072] Compiling DiscordKitCore GuildBan.swift
[1045/1072] Compiling DiscordKitCore GuildMemberEvt.swift
[1046/1072] Compiling DiscordKitCore GuildMembersChunk.swift
[1047/1072] Compiling DiscordKitCore Interaction.swift
[1048/1072] Compiling DiscordKitCore Levels.swift
[1049/1072] Compiling DiscordKitCore Locale.swift
[1050/1072] Compiling DiscordKitCore Member.swift
[1051/1072] Compiling DiscordKitCore Mention.swift
[1052/1072] Compiling DiscordKitCore Message.swift
[1053/1072] Compiling DiscordKitCore Permission.swift
[1054/1072] Compiling DiscordKitCore Presence.swift
[1055/1072] Compiling DiscordKitCore Reaction.swift
[1056/1072] Compiling DiscordKitCore Snowflake.swift
[1057/1072] Compiling DiscordKitCore Stage.swift
[1058/1072] Compiling DiscordKitCore Sticker.swift
[1059/1072] Compiling DiscordKitCore Team.swift
[1060/1072] Compiling DiscordKitCore GatewayIdentify.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1061/1072] Compiling DiscordKitCore Intents.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1062/1072] Compiling DiscordKitCore RobustWebSocket.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1063/1072] Compiling DiscordKitCore Activity.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1064/1072] Compiling DiscordKitCore AppCommand.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1065/1072] Compiling DiscordKitCore Application.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1066/1072] Compiling DiscordKitCore Attachment.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1067/1072] Compiling DiscordKitCore Channel.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1068/1072] Compiling DiscordKitCore Connection.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1069/1072] Compiling DiscordKitCore Embed.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1070/1072] Compiling DiscordKitCore Emoji.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1071/1072] Compiling DiscordKitCore Guild.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[1072/1072] Compiling DiscordKitCore Integration.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[0/1] Planning build
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Compiling plugin SwiftProtobufPlugin...
Building for debugging...
[1/13] Compiling DiscordKitCore AppCommand.swift
[2/13] Compiling DiscordKitCore Application.swift
[3/14] Compiling DiscordKitCore Attachment.swift
[4/14] Compiling DiscordKitCore Channel.swift
[5/15] Compiling DiscordKitCore Connection.swift
[6/15] Compiling DiscordKitCore Embed.swift
[7/16] Compiling DiscordKitCore Message+.swift
[8/17] Compiling DiscordKitCore Integration.swift
[9/18] Compiling DiscordKitCore Emoji.swift
[10/19] Compiling DiscordKitCore Guild.swift
[11/26] Compiling DiscordKitCore Interaction.swift
[12/33] Compiling DiscordKitCore APIChannel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[13/33] Compiling DiscordKitCore RobustWebSocket.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[14/33] Compiling DiscordKitCore Activity.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:174:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:274:13: warning: no calls to throwing functions occur within 'try' expression
            try socket.connect(url: connectionURL, headers: HTTPHeaders(dictionaryLiteral: ("User-Agent", DiscordKitConfig.default.userAgent)))
            ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:275:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch {
          ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:350:30: error: cannot infer contextual base in reference to member 'normalClosure'
                close(code: .normalClosure)
                            ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:367:26: error: cannot infer contextual base in reference to member 'normalClosure'
            close(code: .normalClosure)
                        ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: error: argument type 'RobustWebSocket' does not conform to expected type 'URLSessionDelegate'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:437:65: note: add missing conformance to 'URLSessionDelegate' to class 'RobustWebSocket'
        session = URLSession(configuration: .default, delegate: self, delegateQueue: queue)
                                                                ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:443:22: error: cannot infer contextual base in reference to member 'normalClosure'
        close(code: .normalClosure)
                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:466:25: error: 'nil' requires a contextual type
        reconnect(code: nil)
                        ^
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:24: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: use 'String(describing:)' to silence this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                       String(describing:                           )
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:643:56: note: provide a default value to avoid this warning
            "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
                                                                     ?? <#default value#>
[15/33] Compiling DiscordKitCore GatewayIdentify.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
[16/33] Compiling DiscordKitCore Intents.swift
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
[17/33] Emitting module DiscordKitCore
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:447:43: error: cannot find type 'URLSessionWebSocketTask' in scope
public typealias ReconnectDelayClosure = (URLSessionWebSocketTask.CloseCode?, Int) -> TimeInterval?
                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:157:34: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func reconnect(code: URLSessionWebSocketTask.CloseCode?) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:450:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension RobustWebSocket: URLSessionWebSocketDelegate {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:451:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:455:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:555:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        code: URLSessionWebSocketTask.CloseCode = .abnormalClosure,
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DiscordKitCore/Gateway/RobustWebSocket.swift:583:28: error: cannot find type 'URLSessionWebSocketTask' in scope
    final func close(code: URLSessionWebSocketTask.CloseCode) {
                           ^~~~~~~~~~~~~~~~~~~~~~~
[18/60] Compiling DiscordKitCore GatewayIO.swift
[19/66] Compiling DiscordKitCore DiscordKitConfig.swift
[20/66] Compiling DiscordKitCore Collection+Identifiable.swift
[21/66] Compiling DiscordKitCore Int+decodeFlags.swift
[22/66] Compiling DiscordKitCore User+.swift
[23/66] Compiling DiscordKitCore URLSession+.swift
[24/66] Compiling DiscordKitCore DecompressionEngine.swift
[25/66] Compiling DiscordKitCore Levels.swift
[26/72] Compiling DiscordKitCore Message.swift
[27/72] Compiling DiscordKitCore GuildMembersChunk.swift
[28/72] Compiling DiscordKitCore GuildMiscUpdate.swift
[29/72] Compiling DiscordKitCore GuildRoleEvt.swift
[30/72] Compiling DiscordKitCore GuildSchEvtUserEvt.swift
[31/72] Compiling DiscordKitCore MessageACKEvt.swift
[32/72] Compiling DiscordKitCore MessageDelete.swift
[33/72] Compiling DiscordKitCore ReadyEvt.swift
[34/72] Compiling DiscordKitCore Locale.swift
[35/72] Compiling DiscordKitCore Member.swift
[36/72] Compiling DiscordKitCore Mention.swift
[37/72] Compiling DiscordKitCore Permission.swift
[38/72] Compiling DiscordKitCore Presence.swift
[39/72] Compiling DiscordKitCore Reaction.swift
[40/72] Compiling DiscordKitCore Stage.swift
[41/72] Compiling DiscordKitCore ReadySuppEvt.swift
[42/72] Compiling DiscordKitCore ThreadListSync.swift
[43/72] Compiling DiscordKitCore ThreadMembersUpdate.swift
[44/72] Compiling DiscordKitCore TypingStart.swift
[45/72] Compiling DiscordKitCore Gateway.swift
[46/72] Compiling DiscordKitCore ReadState.swift
[47/72] Compiling DiscordKitCore UserSettings.swift
[48/72] Compiling DiscordKitCore LogOut.swift
[49/72] Compiling DiscordKitCore MessageReadAck.swift
[50/72] Compiling DiscordKitCore NewMessage.swift
[51/72] Compiling DiscordKitCore ResolvedInvite.swift
[52/72] Compiling DiscordKitCore APICurrentUser.swift
[53/72] Compiling DiscordKitCore Sticker.swift
[54/72] Compiling DiscordKitCore Team.swift
[55/72] Compiling DiscordKitCore User+Flags.swift
[56/72] Compiling DiscordKitCore User+PremiumType.swift
[57/72] Compiling DiscordKitCore User.swift
[58/72] Compiling DiscordKitCore Voice.swift
[59/72] Compiling DiscordKitCore ApplicationObj.swift
[60/72] Compiling DiscordKitCore APIGuild.swift
[61/72] Compiling DiscordKitCore APIInvite.swift
[62/72] Compiling DiscordKitCore APIRequest.swift
[63/72] Compiling DiscordKitCore APISticker.swift
[64/72] Compiling DiscordKitCore APIUser.swift
[65/72] Compiling DiscordKitCore HashedAsset.swift
[66/72] Compiling DiscordKitCore DataStructs.swift
[67/72] Compiling DiscordKitCore ChUnreadUpdate.swift
[68/72] Compiling DiscordKitCore ChannelPinsUpdate.swift
[69/72] Compiling DiscordKitCore GatewayEvent.swift
[70/72] Compiling DiscordKitCore GatewaySettingsProtoUpdate.swift
[71/72] Compiling DiscordKitCore GuildBan.swift
[72/72] Compiling DiscordKitCore GuildMemberEvt.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1