The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SurrealDB, reference main (046f7d), with Swift 6.2 for Linux on 30 Apr 2026 01:47:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/surrealdb/surrealdb.swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/surrealdb/surrealdb.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 046f7d5 docs: requirements for Surreal version to 3.x
Cloned https://github.com/surrealdb/surrealdb.swift.git
Revision (git rev-parse @):
046f7d5f2405672791acd9abf5d9e7556aa45331
SUCCESS checkout https://github.com/surrealdb/surrealdb.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/surrealdb/surrealdb.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75040] Fetching swift-syntax
[40523/188987] Fetching swift-syntax, potentcodables
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.78s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (12.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (15.71s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.49s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
[1/310] Fetching float16
[311/24120] Fetching float16, swift-collections
[550/28998] Fetching float16, swift-collections, bigint
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.33s)
[2838/28688] Fetching swift-collections, bigint
[5912/29942] Fetching swift-collections, bigint, regex
Fetched https://github.com/attaswift/BigInt.git from cache (0.64s)
[6293/25064] Fetching swift-collections, regex
Fetched https://github.com/sharplet/Regex.git from cache (1.72s)
Fetched https://github.com/apple/swift-collections.git from cache (1.75s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.72s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.41s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.77s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.34s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.66s)
Building for debugging...
[0/94] Write swift-version-24593BA9C3E375BF.txt
[1/94] Write sources
[3/94] Compiling _NumericsShims _NumericsShims.c
[4/94] Write sources
[4/94] Copying PotentCodables.docc
[20/94] Compiling fy-composer.c
[21/94] Compiling fy-docstate.c
[22/94] Compiling fy-dump.c
[23/97] Compiling fy-accel.c
[25/97] Compiling fy-atom.c
[26/97] Write sources
[36/97] Compiling fy-atom.c
[38/172] Emitting module SurrealDBMacros
[39/172] Emitting module InternalCollectionsUtilities
[40/174] Compiling InternalCollectionsUtilities String+Padding.swift
[41/174] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[42/174] Compiling InternalCollectionsUtilities _SortedCollection.swift
[43/174] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[44/174] Compiling InternalCollectionsUtilities Debugging.swift
[45/174] Compiling InternalCollectionsUtilities Descriptions.swift
[46/174] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/174] Compiling InternalCollectionsUtilities Integer rank.swift
[48/174] Emitting module RealModule
[49/174] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[50/174] Compiling InternalCollectionsUtilities UInt+reversed.swift
[51/175] Compiling RealModule RelaxedArithmetic.swift
[52/175] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[53/175] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[54/177] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[55/177] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[56/177] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[57/177] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/177] Compiling InternalCollectionsUtilities _SortedCollection.swift
[59/177] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[62/177] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[63/177] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[64/177] Compiling InternalCollectionsUtilities Span+Extras.swift
[74/178] Emitting module InternalCollectionsUtilities
[79/179] Compiling RealModule RealFunctions.swift
[90/180] Compiling RealModule Float80+Real.swift
[91/180] Compiling RealModule Float16+Real.swift
[92/180] Compiling RealModule Real.swift
[94/180] Compiling RealModule RealFunctions.swift
[95/180] Compiling RealModule Float16+Real.swift
[96/180] Compiling RealModule Float80+Real.swift
[100/181] Emitting module RealModule
[102/181] Write sources
[116/181] Compiling RealModule RelaxedArithmetic.swift
[119/432] Compiling _RopeModule Rope+_Node.swift
[120/432] Compiling _RopeModule Rope+_Storage.swift
[121/432] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[122/432] Compiling _RopeModule Rope+_UnsafeHandle.swift
[123/432] Compiling _RopeModule Rope.swift
[124/432] Compiling _RopeModule RopeElement.swift
[125/432] Compiling _RopeModule RopeMetric.swift
[126/432] Compiling _RopeModule RopeSummary.swift
[127/432] Compiling _RopeModule _RopeItem.swift
[128/432] Compiling _RopeModule _RopePath.swift
[129/432] Compiling _RopeModule BigString+UTF16View.swift
[130/432] Compiling _RopeModule BigString+UTF8View.swift
[131/432] Compiling _RopeModule BigString+UnicodeScalarView.swift
[132/432] Compiling _RopeModule BigSubstring+UTF16View.swift
[147/446] Compiling _RopeModule BigString+CustomStringConvertible.swift
[148/446] Compiling _RopeModule BigString+Equatable.swift
[149/446] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[150/446] Compiling _RopeModule BigString+Hashing.swift
[151/446] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[152/446] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[153/446] Compiling _RopeModule BigString+Sequence.swift
[154/446] Compiling _RopeModule BigString+TextOutputStream.swift
[155/446] Compiling _RopeModule BigString+Append.swift
[156/446] Compiling _RopeModule BigString+Initializers.swift
[157/446] Compiling _RopeModule BigString+Insert.swift
[158/446] Compiling _RopeModule BigString+Managing Breaks.swift
[159/446] Compiling _RopeModule BigString+RemoveSubrange.swift
[160/446] Compiling _RopeModule BigString+ReplaceSubrange.swift
[161/446] Compiling _RopeModule BigString+Split.swift
[162/446] Compiling _RopeModule Range+BigString.swift
[163/446] Compiling OrderedCollections _HashTable+Bucket.swift
[164/446] Compiling OrderedCollections _HashTable+BucketIterator.swift
[165/446] Compiling OrderedCollections _HashTable+Constants.swift
[166/446] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[167/446] Compiling OrderedCollections _HashTable+Testing.swift
[168/446] Compiling _RopeModule BigString+Invariants.swift
[169/446] Compiling _RopeModule BigString+Metrics.swift
[170/446] Compiling _RopeModule BigString+Summary.swift
[171/446] Compiling _RopeModule BigString+Chunk+Splitting.swift
[172/446] Compiling _RopeModule BigString+Chunk+UTF16.swift
[173/446] Compiling _RopeModule BigString+Chunk+UTF8.swift
[174/446] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[175/446] Compiling _RopeModule BigString+Chunk.swift
[176/446] Compiling _RopeModule BigString+BidirectionalCollection.swift
[177/446] Compiling _RopeModule BigString+Comparable.swift
[178/446] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[179/446] Compiling _RopeModule BigString.swift
[180/446] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[181/446] Compiling _RopeModule BigString+Chunk+Breaks.swift
[182/446] Compiling _RopeModule BigString+Chunk+Character.swift
[183/446] Compiling _RopeModule BigString+Chunk+Counts.swift
[184/446] Compiling _RopeModule BigString+Chunk+Description.swift
[185/446] Compiling _RopeModule BigString+Chunk+Index.swift
[186/446] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[231/464] Compiling OrderedCollections _UnsafeBitset.swift
[232/464] Compiling _RopeModule Rope+Collection.swift
[233/464] Compiling _RopeModule Rope+Index.swift
[234/464] Compiling _RopeModule Rope+Sequence.swift
[235/464] Compiling _RopeModule Rope+Append.swift
[236/464] Compiling _RopeModule Rope+Extract.swift
[237/464] Compiling _RopeModule Rope+Find.swift
[238/464] Compiling _RopeModule Rope+ForEachWhile.swift
[239/464] Compiling _RopeModule Rope+Insert.swift
[240/464] Compiling Regex String+ReplaceMatching.swift
[241/464] Compiling Regex ThreadLocal.swift
[242/464] Compiling Regex String+ReplaceMatching.swift
[243/464] Compiling Regex Foundation+Ranges.swift
[244/464] Compiling Regex Options.swift
[245/464] Compiling Regex Regex.swift
[246/464] Compiling Regex ThreadLocal.swift
[247/464] Emitting module Regex
[249/464] Compiling Regex MatchResult.swift
[250/464] Compiling Regex Foundation+Ranges.swift
[251/464] Compiling Regex MatchResult.swift
[252/464] Compiling Regex Options.swift
[253/465] Compiling Regex Regex.swift
[273/473] Compiling HeapModule Heap+Invariants.swift
[274/473] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[283/476] Compiling OrderedCollections OrderedSet+Sendable.swift
[284/476] Compiling OrderedCollections OrderedSet+SubSequence.swift
[285/476] Compiling OrderedCollections OrderedSet+Testing.swift
[286/476] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[287/476] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[288/476] Compiling OrderedCollections OrderedSet.swift
[290/480] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[301/480] Compiling HeapModule Heap+Descriptions.swift
[302/480] Emitting module OrderedCollections
[311/481] Compiling HeapModule _HeapNode.swift
[312/481] Compiling HeapModule Heap.swift
[313/481] Compiling SurrealDBMacros QueryDSL.swift
[314/481] Emitting module SurrealDBMacros
[315/481] Compiling SurrealDBMacros SurrealValue.swift
[317/482] Compiling HeapModule Heap.swift
[318/482] Compiling SurrealDBMacros QueryDSL.swift
[319/482] Compiling SurrealDBMacros SurrealValue.swift
[320/483] Compiling HeapModule Heap+Descriptions.swift
[321/483] Compiling HeapModule Heap+UnsafeHandle.swift
[322/483] Compiling HeapModule _HeapNode.swift
[334/532] Compiling HeapModule Heap+Invariants.swift
[335/532] Compiling HeapModule Heap+UnsafeHandle.swift
[336/551] Emitting module OrderedCollections
[337/562] Emitting module HeapModule
[339/563] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[340/563] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[341/563] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[342/563] Compiling HashTreeCollections _HashNode+Structural union.swift
[343/563] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[344/563] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[345/563] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[346/563] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[347/563] Compiling HashTreeCollections _HashNode.swift
[348/563] Compiling HashTreeCollections _HashNodeHeader.swift
[350/563] Emitting module HeapModule
[351/706] Wrapping AST for SurrealDBMacros for debugging
[353/706] Compiling ContainersPreview Producer+Map.swift
[354/706] Compiling ContainersPreview Producer+Reduce.swift
[355/706] Compiling ContainersPreview Producer.swift
[356/706] Compiling ContainersPreview Borrow.swift
[357/706] Compiling ContainersPreview Drain+Reduce.swift
[358/706] Compiling ContainersPreview Drain.swift
[359/706] Compiling ContainersPreview Producer+Collect.swift
[360/706] Compiling ContainersPreview Producer+Filter.swift
[361/706] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[362/706] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[363/706] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[364/706] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[365/710] Compiling ContainersPreview Container.swift
[366/710] Compiling ContainersPreview ContainerIterator.swift
[367/710] Compiling ContainersPreview DynamicContainer.swift
[368/710] Compiling ContainersPreview MutableContainer.swift
[369/710] Compiling ContainersPreview PermutableContainer.swift
[370/710] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[383/714] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[384/714] Compiling ContainersPreview BorrowingSequence.swift
[385/714] Compiling ContainersPreview BidirectionalContainer.swift
[386/714] Compiling ContainersPreview Container+Filter.swift
[387/714] Compiling ContainersPreview Container+SpanwiseZip.swift
[393/714] Compiling ContainersPreview RandomAccessContainer.swift
[394/714] Compiling ContainersPreview RangeExpression2.swift
[395/714] Compiling ContainersPreview RangeReplaceableContainer.swift
[396/714] Compiling ContainersPreview Drain+Map.swift
[407/714] Compiling ContainersPreview OutputSpan+Extras.swift
[408/714] Compiling ContainersPreview TemporaryAllocation.swift
[409/714] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[410/714] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[411/714] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[412/714] Compiling ContainersPreview Box.swift
[413/714] Compiling ContainersPreview Inout.swift
[414/714] Compiling ContainersPreview InputSpan.swift
[415/714] Compiling ContainersPreview Shared.swift
[416/714] Emitting module ContainersPreview
[437/716] Compiling xxhash.c
[440/756] Compiling HashTreeCollections TreeSet+Hashable.swift
[441/756] Compiling HashTreeCollections TreeSet+Sendable.swift
[442/756] Compiling HashTreeCollections TreeSet+Sequence.swift
[443/756] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[444/756] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[445/756] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[446/756] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[447/756] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[448/756] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[449/756] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[450/766] Compiling SurrealDBMacroPlugin SurrealDBMacroPlugin.swift
[451/766] Emitting module SurrealDBMacroPlugin
[452/767] Compiling DequeModule Deque+Codable.swift
[453/767] Compiling DequeModule Deque+Collection.swift
[454/767] Compiling DequeModule Deque+CustomReflectable.swift
[455/767] Compiling DequeModule Deque+Descriptions.swift
[456/767] Compiling DequeModule Deque+Equatable.swift
[457/767] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[458/767] Compiling DequeModule Deque+Extras.swift
[459/767] Compiling DequeModule Deque+Hashable.swift
[460/767] Compiling DequeModule Deque+Testing.swift
[461/767] Compiling DequeModule Deque._Storage.swift
[461/799] Compiling fy-utils.c
[464/807] Emitting module _RopeModule
[474/817] Compiling fy-ctype.c
[475/817] Compiling fy-utf8.c
[476/817] Wrapping AST for SurrealDBMacroPlugin for debugging
[478/817] Compiling DequeModule UniqueDeque+Consumption.swift
[479/817] Compiling DequeModule UniqueDeque+Container.swift
[480/817] Compiling DequeModule UniqueDeque+Descriptions.swift
[481/817] Compiling DequeModule UniqueDeque+Equatable.swift
[482/817] Compiling DequeModule UniqueDeque+Experimental.swift
[482/822] Compiling fy-blob.c
[482/822] Write Objects.LinkFileList
[485/822] Compiling HashTreeCollections TreeDictionary.swift
[486/822] Compiling HashTreeCollections TreeSet+Codable.swift
[487/822] Compiling HashTreeCollections TreeSet+Collection.swift
[488/822] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[489/822] Compiling HashTreeCollections TreeSet+Debugging.swift
[490/822] Compiling HashTreeCollections TreeSet+Descriptions.swift
[491/822] Compiling HashTreeCollections TreeSet+Equatable.swift
[492/822] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[493/822] Compiling HashTreeCollections TreeSet+Extras.swift
[494/822] Compiling HashTreeCollections TreeSet+Filter.swift
[495/822] Compiling HashTreeCollections _HashTreeIterator.swift
[496/822] Compiling HashTreeCollections _HashTreeStatistics.swift
[497/822] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[498/822] Compiling HashTreeCollections _RawHashNode.swift
[499/822] Compiling HashTreeCollections _UnmanagedHashNode.swift
[500/822] Compiling HashTreeCollections _UnsafePath.swift
[501/822] Compiling HashTreeCollections TreeDictionary+Codable.swift
[502/822] Compiling HashTreeCollections TreeDictionary+Collection.swift
[503/822] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[504/822] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[505/822] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[506/822] Emitting module _RopeModule
[512/822] Compiling DequeModule UniqueDeque+Hashable.swift
[513/822] Compiling DequeModule UniqueDeque+Initializers.swift
[514/822] Compiling DequeModule UniqueDeque+Insertions.swift
[515/822] Compiling DequeModule UniqueDeque+Prepend.swift
[516/822] Compiling DequeModule UniqueDeque+Removals.swift
[517/827] Compiling DequeModule _DequeBuffer.swift
[518/827] Compiling DequeModule _DequeBufferHeader.swift
[519/827] Compiling DequeModule RigidDeque+Append.swift
[520/827] Compiling DequeModule RigidDeque+Consumption.swift
[521/827] Compiling DequeModule RigidDeque+Container.swift
[522/827] Compiling DequeModule RigidDeque+Descriptions.swift
[523/827] Compiling DequeModule RigidDeque+Removals.swift
[524/827] Compiling DequeModule RigidDeque+Replacements.swift
[525/827] Compiling DequeModule RigidDeque+Testing.swift
[526/827] Compiling DequeModule RigidDeque.swift
[527/827] Compiling DequeModule UniqueDeque+Append.swift
[528/827] Compiling DequeModule RigidDeque+Equatable.swift
[544/827] Compiling DequeModule RigidDeque+Experimental.swift
[545/827] Compiling DequeModule RigidDeque+Hashable.swift
[546/827] Compiling DequeModule RigidDeque+Initializers.swift
[547/827] Compiling DequeModule RigidDeque+Insertions.swift
[548/827] Compiling DequeModule RigidDeque+Prepend.swift
[555/827] Compiling DequeModule UniqueDeque+Replacements.swift
[556/827] Compiling DequeModule UniqueDeque.swift
[557/827] Compiling DequeModule _DequeSlot.swift
[558/827] Compiling DequeModule _UnsafeDequeHandle.swift
[559/827] Compiling DequeModule _UnsafeDequeSegments.swift
[559/827] Compiling fy-types.c
[578/827] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[579/827] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[580/827] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[581/827] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[582/827] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[583/827] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[584/827] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[585/827] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[586/827] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[587/827] Compiling HashTreeCollections TreeSet.swift
[636/827] Compiling fy-walk.c
[679/829] Linking SurrealDBMacroPlugin-tool
[691/829] Compiling fy-path.c
[692/829] Compiling fy-token.c
[693/829] Compiling fy-event.c
[695/829] Compiling DequeModule Deque+Codable.swift
[696/829] Compiling DequeModule Deque+Collection.swift
[697/829] Compiling DequeModule Deque+CustomReflectable.swift
[698/829] Compiling DequeModule Deque+Descriptions.swift
[699/829] Compiling DequeModule Deque+Equatable.swift
[700/829] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[701/829] Compiling DequeModule Deque+Extras.swift
[702/829] Compiling DequeModule Deque+Hashable.swift
[703/829] Compiling DequeModule Deque+Testing.swift
[704/829] Compiling DequeModule Deque._Storage.swift
[705/829] Compiling DequeModule Deque._UnsafeHandle.swift
[706/829] Compiling DequeModule Deque.swift
[718/829] Compiling fy-input.c
[719/829] Compiling fy-docbuilder.c
[742/829] Compiling fy-emit.c
[754/829] Compiling fy-diag.c
[755/829] Compiling fy-parse.c
[756/829] Compiling xxhash.c
[757/829] Compiling fy-utils.c
[758/829] Compiling fy-utf8.c
[759/829] Compiling fy-ctype.c
[760/829] Compiling fy-blob.c
[761/829] Compiling fy-doc.c
[762/829] Compiling fy-types.c
[796/829] Compiling fy-path.c
[797/829] Compiling fy-token.c
[798/829] Compiling fy-walk.c
[799/829] Compiling fy-event.c
[800/829] Compiling fy-input.c
[801/829] Compiling fy-dump.c
[802/829] Compiling fy-parse.c
[803/829] Compiling fy-docstate.c
[804/829] Compiling fy-emit.c
[805/829] Compiling fy-docbuilder.c
[806/829] Compiling CFloat16 float16.c
[807/829] Compiling fy-composer.c
[813/829] Compiling CFloat16 float16.c
[813/829] Write sources
[818/829] Compiling fy-diag.c
[820/883] Compiling Float16 Concurrency.swift
[822/891] Emitting module HashTreeCollections
[826/902] Emitting module DequeModule
[826/915] Compiling fy-doc.c
[828/968] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[829/968] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[830/968] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[831/968] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[832/968] Compiling BitCollections BitSet+SetAlgebra union.swift
[834/990] Emitting module DequeModule
[836/991] Compiling BigInt String Conversion.swift
[837/991] Compiling BigInt Random.swift
[838/991] Compiling BigInt Shifts.swift
[839/991] Compiling BigInt Square Root.swift
[840/991] Compiling BitCollections BitArray+Testing.swift
[841/991] Compiling BitCollections BitArray._UnsafeHandle.swift
[842/991] Compiling BitCollections BitArray.swift
[843/991] Compiling BitCollections BitSet+BidirectionalCollection.swift
[849/998] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[850/998] Compiling BitCollections BitSet.Counted.swift
[851/998] Compiling BitCollections BitSet+Initializers.swift
[852/998] Compiling BitCollections BitSet+Invariants.swift
[853/998] Compiling BitCollections BitSet+Random.swift
[854/998] Compiling BitCollections BitSet+SetAlgebra basics.swift
[855/998] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[856/998] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[857/998] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[865/998] Compiling BitCollections BitSet+Codable.swift
[866/998] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[867/998] Compiling BitCollections BitSet+CustomReflectable.swift
[868/998] Compiling BitCollections BitSet+CustomStringConvertible.swift
[869/998] Compiling BitCollections BitSet+Equatable.swift
[870/998] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[871/998] Compiling BitCollections BitSet+Extras.swift
[872/998] Compiling BitCollections BitSet+Hashable.swift
[875/1007] Compiling BigInt Integer Conversion.swift
[876/1007] Compiling BigInt Multiplication.swift
[877/1007] Compiling BigInt Prime Test.swift
[878/1009] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[879/1009] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[880/1009] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[881/1009] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[882/1009] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[883/1009] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[884/1009] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[892/1009] Compiling BigInt Floating Point Conversion.swift
[893/1009] Compiling BigInt GCD.swift
[894/1009] Compiling BigInt Hashable.swift
[895/1009] Emitting module BigInt
[896/1009] Compiling BigInt Bitwise Ops.swift
[897/1009] Compiling BigInt Codable.swift
[898/1009] Compiling BigInt Comparable.swift
[906/1009] Emitting module BigInt
[913/1009] Compiling BigInt Strideable.swift
[919/1009] Emitting module BitCollections
[923/1009] Compiling BigInt Addition.swift
[924/1009] Compiling BigInt BigInt.swift
[925/1009] Compiling BigInt BigUInt.swift
[926/1009] Compiling BigInt Data Conversion.swift
[927/1009] Compiling BigInt Division.swift
[928/1009] Emitting module Float16
[935/1009] Compiling Float16 Real.swift
[936/1009] Compiling Float16 float16.swift
[938/1010] Emitting module BitCollections
[947/1010] Compiling Float16 float16.swift
[948/1010] Compiling Float16 Real.swift
[952/1011] Compiling BigInt Exponentiation.swift
[972/1011] Compiling BitCollections BitSet.Index.swift
[973/1011] Compiling BitCollections BitSet._UnsafeHandle.swift
[974/1011] Compiling BitCollections BitSet.swift
[975/1011] Compiling BitCollections Range+Utilities.swift
[976/1011] Compiling BitCollections Slice+Utilities.swift
[977/1011] Compiling BitCollections UInt+Tricks.swift
[978/1011] Compiling BitCollections _Word.swift
[1005/1018] Compiling BigInt Subtraction.swift
[1006/1018] Compiling BigInt Words and Bits.swift
[1009/1019] Emitting module Collections
[1011/1019] Compiling Collections BitCollections reexports.swift
[1012/1019] Compiling Collections HashTreeCollections reexports.swift
[1013/1019] Compiling Collections HeapModule reexports.swift
[1014/1019] Compiling Collections DequeModule reexports.swift
[1017/1019] Compiling Collections OrderedCollections reexports.swift
[1023/1028] Compiling Collections BitCollections reexports.swift
[1024/1028] Compiling Collections HashTreeCollections reexports.swift
[1025/1028] Compiling Collections DequeModule reexports.swift
[1026/1028] Emitting module Collections
[1027/1028] Compiling Collections OrderedCollections reexports.swift
[1028/1028] Compiling Collections HeapModule reexports.swift
[1030/1073] Compiling PotentCodables AnyCodingKey.swift
[1031/1073] Compiling PotentCodables AnyValue.swift
[1032/1073] Compiling PotentCodables AnyValueDecoder.swift
[1033/1075] Compiling PotentCodables AnyValueEncoder.swift
[1034/1075] Compiling PotentCodables DecoderSupport.swift
[1035/1075] Compiling PotentCodables EncoderSupport.swift
[1036/1077] Compiling PotentCodables Errors.swift
[1037/1077] Compiling PotentCodables Float16.swift
[1038/1077] Compiling PotentCodables KeyStrategy.swift
[1039/1077] Compiling PotentCodables ZonedDate.swift
[1040/1077] Compiling PotentCodables resource_bundle_accessor.swift
[1041/1077] Compiling PotentCodables KeyedNestedDecoder.swift
[1042/1077] Compiling PotentCodables KeyedNestedEncoder.swift
[1043/1077] Compiling PotentCodables Refs.swift
[1044/1077] Emitting module PotentCodables
[1057/1077] Compiling PotentCodables Regexes.swift
[1058/1077] Compiling PotentCodables TimeZone.swift
[1059/1077] Compiling PotentCodables TopLevel.swift
[1060/1077] Compiling PotentCodables TreeValueDecodingContainer.swift
[1061/1077] Compiling PotentCodables Value.swift
[1062/1077] Compiling PotentCodables ValueDecoder.swift
[1069/1077] Compiling PotentCodables ValueEncoder.swift
[1070/1077] Compiling PotentCodables ValueTransformer.swift
[1071/1077] Compiling PotentCodables ValueTransformerProviding.swift
[1080/1163] Compiling PotentYAML YAMLSchema.swift
[1081/1164] Compiling PotentCBOR CBORSerialization.swift
[1082/1164] Compiling PotentJSON JSONWriter.swift
[1083/1164] Compiling PotentCBOR CBORSerialization.swift
[1084/1164] Compiling PotentYAML YAMLSchema.swift
[1085/1165] Compiling PotentJSON JSONWriter.swift
[1086/1165] Compiling PotentJSON JSONSerialization.swift
[1087/1165] Compiling PotentYAML YAMLSchemaCore.swift
[1088/1165] Compiling PotentYAML YAMLSerialization.swift
[1089/1165] Compiling PotentASN1 AnyTime.swift
[1090/1165] Compiling PotentASN1 BigInts.swift
[1093/1169] Compiling PotentASN1 ASN1Serialization.swift
[1094/1169] Compiling PotentASN1 AnyString.swift
[1095/1169] Compiling PotentASN1 SchemaSpecified.swift
[1096/1169] Compiling PotentASN1 SchemaState.swift
[1097/1169] Compiling PotentJSON JSONSerialization.swift
[1098/1169] Compiling PotentYAML YAMLSchemaCore.swift
[1099/1169] Compiling PotentYAML YAMLSerialization.swift
[1100/1169] Compiling PotentCBOR CBORReader.swift
[1103/1169] Compiling PotentYAML YAMLReader.swift
[1104/1169] Compiling PotentCBOR CBORReader.swift
[1105/1169] Compiling PotentCBOR CBORStream.swift
[1106/1169] Compiling PotentCBOR CBORWriter.swift
[1109/1169] Compiling PotentCBOR CBORStream.swift
[1110/1169] Compiling PotentCBOR CBORWriter.swift
[1111/1169] Compiling PotentYAML YAMLReader.swift
[1112/1169] Compiling PotentASN1 Tagged.swift
[1113/1169] Compiling PotentASN1 TaggedValue.swift
[1114/1169] Compiling PotentYAML YAMLWriter.swift
[1115/1169] Emitting module PotentYAML
[1118/1169] Compiling PotentCBOR CBOR.swift
[1119/1169] Emitting module PotentCBOR
[1120/1169] Compiling PotentJSON JSONReader.swift
[1121/1169] Compiling PotentCBOR CBOR.swift
[1122/1169] Emitting module PotentCBOR
[1123/1169] Compiling PotentYAML YAMLWriter.swift
[1124/1169] Compiling PotentASN1 BitString.swift
[1125/1169] Compiling PotentASN1 Dates.swift
[1126/1169] Compiling PotentASN1 ObjectIdentifier.swift
[1127/1169] Compiling PotentASN1 Schema.swift
[1128/1169] Compiling PotentJSON JSONEncoder.swift
[1129/1169] Compiling PotentYAML YAMLEncoder.swift
[1130/1169] Compiling PotentCBOR CBOREncoder.swift
[1135/1169] Compiling PotentJSON Errors.swift
[1136/1169] Compiling PotentJSON JSONDecoder.swift
[1137/1169] Compiling PotentJSON Errors.swift
[1138/1169] Emitting module PotentJSON
[1139/1169] Compiling PotentJSON JSONReader.swift
[1140/1169] Compiling PotentJSON JSONEncoder.swift
[1141/1169] Compiling PotentJSON JSON.swift
[1142/1169] Emitting module PotentJSON
[1143/1170] Compiling PotentCBOR CBOREncoder.swift
[1145/1170] Compiling PotentYAML YAMLEncoder.swift
[1146/1170] Compiling PotentJSON JSON.swift
[1147/1170] Compiling PotentJSON JSONDecoder.swift
[1149/1171] Compiling PotentCBOR CBORDecoder.swift
[1153/1173] Compiling PotentASN1 ASN1DERReader.swift
[1154/1173] Compiling PotentASN1 ASN1DERWriter.swift
[1155/1173] Emitting module PotentASN1
[1156/1173] Compiling PotentASN1 ASN1Decoder.swift
[1157/1173] Compiling PotentASN1 ASN1Encoder.swift
[1158/1173] Compiling PotentASN1 ASN1.swift
[1165/1174] Emitting module PotentASN1
[1171/1175] Emitting module PotentYAML
[1178/1199] Compiling SurrealDB HTTPRPCEngine.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | actor HTTPRPCEngine: RPCEngine {
 4 |     private let endpoint: URL
 5 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     private let options: SurrealClientOptions
 7 |     private var isConnected = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:68: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:28:26: error: cannot find 'URLRequest' in scope
26 |         }
27 |
28 |         var urlRequest = URLRequest(url: endpoint, timeoutInterval: options.requestTimeout)
   |                          `- error: cannot find 'URLRequest' in scope
29 |         urlRequest.httpMethod = "POST"
30 |         urlRequest.setValue("application/cbor", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:45:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
43 |         urlRequest.httpBody = try CBORSurrealCodec.encode(request)
44 |
45 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
46 |
47 |         guard let httpResponse = response as? HTTPURLResponse else {
[1179/1199] Compiling SurrealDB SurrealDB.swift
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
[1180/1199] Compiling SurrealDB HTTPRPCEngine.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | actor HTTPRPCEngine: RPCEngine {
 4 |     private let endpoint: URL
 5 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     private let options: SurrealClientOptions
 7 |     private var isConnected = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:68: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:28:26: error: cannot find 'URLRequest' in scope
26 |         }
27 |
28 |         var urlRequest = URLRequest(url: endpoint, timeoutInterval: options.requestTimeout)
   |                          `- error: cannot find 'URLRequest' in scope
29 |         urlRequest.httpMethod = "POST"
30 |         urlRequest.setValue("application/cbor", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:45:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
43 |         urlRequest.httpBody = try CBORSurrealCodec.encode(request)
44 |
45 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
46 |
47 |         guard let httpResponse = response as? HTTPURLResponse else {
[1181/1199] Compiling SurrealDB SurrealDB.swift
[1182/1201] Compiling SurrealDB Clients.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
[1183/1201] Compiling SurrealDB Errors.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
[1184/1201] Compiling SurrealDB WebSocketRPCEngine.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  3 | actor WebSocketRPCEngine: LiveRPCEngine {
  4 |     private let endpoint: URL
  5 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     private let clientOptions: SurrealClientOptions
  7 |     private let wsOptions: SurrealWebSocketOptions
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:9:23: error: cannot find type 'URLSessionWebSocketTask' in scope
  7 |     private let wsOptions: SurrealWebSocketOptions
  8 |
  9 |     private var task: URLSessionWebSocketTask?
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private var receiveTask: Task<Void, Never>?
 11 |     private var pingTask: Task<Void, Never>?
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:48:29: error: cannot infer contextual base in reference to member 'normalClosure'
 46 |         pingTask = nil
 47 |
 48 |         task?.cancel(with: .normalClosure, reason: nil)
    |                             `- error: cannot infer contextual base in reference to member 'normalClosure'
 49 |         task = nil
 50 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:48:52: error: 'nil' requires a contextual type
 46 |         pingTask = nil
 47 |
 48 |         task?.cancel(with: .normalClosure, reason: nil)
    |                                                    `- error: 'nil' requires a contextual type
 49 |         task = nil
 50 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:93:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 91 |
 92 |     private func establishSocket() async throws {
 93 |         let socket = urlSession.webSocketTask(with: endpoint, protocols: ["cbor"])
    |                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 94 |         task = socket
 95 |         socket.resume()
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:110:34: error: cannot infer contextual base in reference to member 'data'
108 |
109 |         do {
110 |             try await task.send(.data(data))
    |                                  `- error: cannot infer contextual base in reference to member 'data'
111 |         } catch {
112 |             failPending(requestID: requestID, with: error)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:213:29: error: cannot infer contextual base in reference to member 'goingAway'
211 |         pingTask = nil
212 |
213 |         task?.cancel(with: .goingAway, reason: nil)
    |                             `- error: cannot infer contextual base in reference to member 'goingAway'
214 |         task = nil
215 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:213:48: error: 'nil' requires a contextual type
211 |         pingTask = nil
212 |
213 |         task?.cancel(with: .goingAway, reason: nil)
    |                                                `- error: 'nil' requires a contextual type
214 |         task = nil
215 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  3 | actor WebSocketRPCEngine: LiveRPCEngine {
  4 |     private let endpoint: URL
  5 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     private let clientOptions: SurrealClientOptions
  7 |     private let wsOptions: SurrealWebSocketOptions
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:9:23: error: cannot find type 'URLSessionWebSocketTask' in scope
  7 |     private let wsOptions: SurrealWebSocketOptions
  8 |
  9 |     private var task: URLSessionWebSocketTask?
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private var receiveTask: Task<Void, Never>?
 11 |     private var pingTask: Task<Void, Never>?
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:48:29: error: cannot infer contextual base in reference to member 'normalClosure'
 46 |         pingTask = nil
 47 |
 48 |         task?.cancel(with: .normalClosure, reason: nil)
    |                             `- error: cannot infer contextual base in reference to member 'normalClosure'
 49 |         task = nil
 50 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:48:52: error: 'nil' requires a contextual type
 46 |         pingTask = nil
 47 |
 48 |         task?.cancel(with: .normalClosure, reason: nil)
    |                                                    `- error: 'nil' requires a contextual type
 49 |         task = nil
 50 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:93:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 91 |
 92 |     private func establishSocket() async throws {
 93 |         let socket = urlSession.webSocketTask(with: endpoint, protocols: ["cbor"])
    |                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 94 |         task = socket
 95 |         socket.resume()
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:110:34: error: cannot infer contextual base in reference to member 'data'
108 |
109 |         do {
110 |             try await task.send(.data(data))
    |                                  `- error: cannot infer contextual base in reference to member 'data'
111 |         } catch {
112 |             failPending(requestID: requestID, with: error)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:213:29: error: cannot infer contextual base in reference to member 'goingAway'
211 |         pingTask = nil
212 |
213 |         task?.cancel(with: .goingAway, reason: nil)
    |                             `- error: cannot infer contextual base in reference to member 'goingAway'
214 |         task = nil
215 |
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:213:48: error: 'nil' requires a contextual type
211 |         pingTask = nil
212 |
213 |         task?.cancel(with: .goingAway, reason: nil)
    |                                                `- error: 'nil' requires a contextual type
214 |         task = nil
215 |
[1186/1201] Compiling SurrealDB Protocols.swift
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
[1189/1201] Compiling SurrealDB PublicTypes.swift
[1191/1201] Compiling SurrealDB Protocols.swift
[1192/1201] Compiling SurrealDB Endpoint.swift
[1193/1201] Compiling SurrealDB RPCWire.swift
[1194/1201] Compiling SurrealDB TransportProtocols.swift
[1195/1201] Compiling SurrealDB ClientCore.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1198/1201] Emitting module SurrealDB
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | actor HTTPRPCEngine: RPCEngine {
 4 |     private let endpoint: URL
 5 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     private let options: SurrealClientOptions
 7 |     private var isConnected = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:68: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  3 | actor WebSocketRPCEngine: LiveRPCEngine {
  4 |     private let endpoint: URL
  5 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     private let clientOptions: SurrealClientOptions
  7 |     private let wsOptions: SurrealWebSocketOptions
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:9:23: error: cannot find type 'URLSessionWebSocketTask' in scope
  7 |     private let wsOptions: SurrealWebSocketOptions
  8 |
  9 |     private var task: URLSessionWebSocketTask?
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private var receiveTask: Task<Void, Never>?
 11 |     private var pingTask: Task<Void, Never>?
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:82: error: value of type '_' expected to be instance of class or class-constrained type
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:35: error: value of type '_' expected to be instance of class or class-constrained type
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | actor HTTPRPCEngine: RPCEngine {
 4 |     private let endpoint: URL
 5 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     private let options: SurrealClientOptions
 7 |     private var isConnected = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/HTTPRPCEngine.swift:9:68: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     private var isConnected = false
 8 |
 9 |     init(endpoint: URL, options: SurrealClientOptions, urlSession: URLSession = .shared) {
   |                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |         self.endpoint = Endpoint.asHTTP(endpoint)
11 |         self.options = options
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:5:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  3 | actor WebSocketRPCEngine: LiveRPCEngine {
  4 |     private let endpoint: URL
  5 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     private let clientOptions: SurrealClientOptions
  7 |     private let wsOptions: SurrealWebSocketOptions
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:9:23: error: cannot find type 'URLSessionWebSocketTask' in scope
  7 |     private let wsOptions: SurrealWebSocketOptions
  8 |
  9 |     private var task: URLSessionWebSocketTask?
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private var receiveTask: Task<Void, Never>?
 11 |     private var pingTask: Task<Void, Never>?
/host/spi-builder-workspace/Sources/SurrealDB/Transport/WebSocketRPCEngine.swift:24:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         clientOptions: SurrealClientOptions,
 23 |         wsOptions: SurrealWebSocketOptions,
 24 |         urlSession: URLSession = .shared
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     ) {
 26 |         self.endpoint = Endpoint.asWebSocket(endpoint)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
Internal Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Corrupted JSON", underlyingError: Optional(unexpected end of file)))
BUILD FAILURE 6.2 linux