Build Information
Failed to build Cachly, reference 0.1.0-beta.1 (e71a22), with Swift 6.0 for Linux on 22 Apr 2026 12:21:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cachly-dev/cachly-swift.git
Reference: 0.1.0-beta.1
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/cachly-dev/cachly-swift
* tag 0.1.0-beta.1 -> FETCH_HEAD
HEAD is now at e71a22a feat: initial release v0.1.0-beta.1
Cloned https://github.com/cachly-dev/cachly-swift.git
Revision (git rev-parse @):
e71a22a1dcfaf240fd363c33dadf7c4682fe0e0a
SUCCESS checkout https://github.com/cachly-dev/cachly-swift.git at 0.1.0-beta.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/cachly-dev/cachly-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/swift-server/RediStack.git
[1/4803] Fetching redistack
Fetched https://github.com/swift-server/RediStack.git from cache (0.46s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (1.13s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/3188] Fetching swift-metrics
[352/5008] Fetching swift-metrics, swift-atomics
[4991/11644] Fetching swift-metrics, swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[1/15432] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
[1699/98638] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (2.41s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.44s)
[47428/83206] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.80s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.42s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
[170/29221] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.92s)
Fetched https://github.com/apple/swift-collections.git from cache (1.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.17s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (2.25s)
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.36.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/swift-server/RediStack.git
Working copy of https://github.com/swift-server/RediStack.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/430] Write sources
[14/430] Compiling CNIOWASI CNIOWASI.c
[15/430] Compiling CNIOWindows shim.c
[15/430] Compiling CNIOWindows WSAStartup.c
[16/430] Write sources
[21/430] Compiling CNIOPosix event_loop_id.c
[22/430] Compiling CNIOOpenBSD shim.c
[22/430] Compiling CNIOLinux liburing_shims.c
[24/430] Compiling _AtomicsShims.c
[25/430] Compiling CNIODarwin shim.c
[26/430] Compiling fiat_p256_adx_sqr.S
[27/430] Compiling CNIOLinux shim.c
[28/430] Compiling fiat_p256_adx_mul.S
[29/430] Compiling fiat_curve25519_adx_square.S
[30/430] Compiling fiat_curve25519_adx_mul.S
[31/430] Compiling CNIOBoringSSLShims shims.c
[32/430] Write swift-version-24593BA9C3E375BF.txt
[33/430] Compiling tls_method.cc
[34/434] Compiling t1_enc.cc
[35/434] Compiling tls_record.cc
[36/434] Compiling tls13_server.cc
[37/434] Compiling tls13_client.cc
[38/445] Compiling tls13_both.cc
[39/463] Compiling tls13_enc.cc
[40/464] Compiling ssl_x509.cc
[42/481] Emitting module CoreMetrics
[42/481] Compiling ssl_versions.cc
[43/481] Compiling ssl_transcript.cc
[45/481] Emitting module Atomics
[46/483] Emitting module InternalCollectionsUtilities
[47/485] Compiling InternalCollectionsUtilities _SortedCollection.swift
[48/485] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[51/485] Compiling Atomics AtomicMemoryOrderings.swift
[52/485] Compiling Atomics DoubleWord.swift
[53/485] Compiling Atomics IntegerConformances.swift
[54/485] Compiling Atomics PointerConformances.swift
[55/485] Compiling Atomics Primitives.native.swift
[56/485] Compiling Atomics ManagedAtomic.swift
[57/485] Compiling Atomics ManagedAtomicLazyReference.swift
[58/485] Compiling Atomics UnsafeAtomic.swift
[59/485] Compiling Atomics UnsafeAtomicLazyReference.swift
[62/485] Compiling Atomics AtomicInteger.swift
[63/485] Compiling Atomics AtomicOptionalWrappable.swift
[64/485] Compiling Atomics AtomicReference.swift
[65/485] Compiling Atomics OptionalRawRepresentable.swift
[66/485] Compiling Atomics RawRepresentable.swift
[67/485] Compiling Atomics AtomicBool.swift
[68/485] Compiling Atomics AtomicStorage.swift
[69/485] Compiling Atomics AtomicValue.swift
[79/486] Compiling _NIODataStructures _TinyArray.swift
[80/486] Compiling _NIODataStructures PriorityQueue.swift
[81/486] Compiling _NIOBase64 Base64.swift
[82/486] Emitting module _NIOBase64
[91/488] Compiling ssl_stat.cc
[93/488] Compiling CoreMetrics Metrics.swift
[93/521] Compiling ssl_session.cc
[95/521] Compiling ContainersPreview Drain+Reduce.swift
[96/521] Compiling ContainersPreview Drain.swift
[97/521] Compiling ContainersPreview Producer+Collect.swift
[98/521] Compiling ContainersPreview Producer+Filter.swift
[99/525] Compiling ContainersPreview RandomAccessContainer.swift
[100/525] Compiling ContainersPreview RangeExpression2.swift
[101/525] Compiling ContainersPreview RangeReplaceableContainer.swift
[102/525] Compiling ContainersPreview Drain+Map.swift
[103/525] Compiling ContainersPreview Container.swift
[104/525] Compiling ContainersPreview ContainerIterator.swift
[105/525] Compiling ContainersPreview DynamicContainer.swift
[106/525] Compiling ContainersPreview MutableContainer.swift
[107/525] Compiling ContainersPreview PermutableContainer.swift
[108/525] Compiling ContainersPreview Producer+Map.swift
[109/525] Compiling ContainersPreview Producer+Reduce.swift
[110/525] Compiling ContainersPreview Producer.swift
[111/525] Compiling ContainersPreview Borrow.swift
[112/525] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[113/525] Compiling ContainersPreview BorrowingSequence.swift
[114/525] Compiling ContainersPreview BidirectionalContainer.swift
[115/525] Compiling ContainersPreview Container+Filter.swift
[116/525] Compiling ContainersPreview Container+SpanwiseZip.swift
[117/525] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[118/525] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[119/525] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[120/525] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[121/525] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[122/525] Compiling ContainersPreview OutputSpan+Extras.swift
[123/525] Compiling ContainersPreview TemporaryAllocation.swift
[124/525] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[125/525] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[126/525] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[127/525] Emitting module ContainersPreview
[128/525] Compiling Logging MetadataProvider.swift
[129/525] Emitting module Logging
[130/525] Compiling Logging Locks.swift
[131/525] Compiling ContainersPreview Box.swift
[132/525] Compiling ContainersPreview Inout.swift
[133/525] Compiling ContainersPreview InputSpan.swift
[134/525] Compiling ContainersPreview Shared.swift
[135/525] Compiling CoreMetrics Locks.swift
[136/527] Compiling _NIODataStructures Heap.swift
[137/527] Emitting module _NIODataStructures
[141/570] Compiling Logging LogHandler.swift
[142/570] Compiling Logging LogEvent.swift
[143/570] Compiling Logging Logging.swift
[144/571] Compiling DequeModule RigidDeque+Equatable.swift
[145/571] Compiling DequeModule RigidDeque+Experimental.swift
[146/571] Compiling DequeModule RigidDeque+Hashable.swift
[147/571] Compiling DequeModule RigidDeque+Initializers.swift
[148/571] Compiling DequeModule RigidDeque+Insertions.swift
[149/571] Compiling DequeModule RigidDeque+Prepend.swift
[150/576] Compiling DequeModule UniqueDeque+Hashable.swift
[151/576] Compiling DequeModule UniqueDeque+Initializers.swift
[152/576] Compiling DequeModule UniqueDeque+Insertions.swift
[153/576] Compiling DequeModule UniqueDeque+Prepend.swift
[154/576] Compiling DequeModule UniqueDeque+Removals.swift
[155/576] Compiling DequeModule UniqueDeque+Consumption.swift
[156/576] Compiling DequeModule UniqueDeque+Container.swift
[157/576] Compiling DequeModule UniqueDeque+Descriptions.swift
[158/576] Compiling DequeModule UniqueDeque+Equatable.swift
[159/576] Compiling DequeModule UniqueDeque+Experimental.swift
[160/576] Compiling DequeModule RigidDeque+Removals.swift
[161/576] Compiling DequeModule RigidDeque+Replacements.swift
[162/576] Compiling DequeModule RigidDeque+Testing.swift
[163/576] Compiling DequeModule RigidDeque.swift
[164/576] Compiling DequeModule UniqueDeque+Append.swift
[166/576] Compiling DequeModule _DequeBuffer.swift
[167/576] Compiling DequeModule _DequeBufferHeader.swift
[168/576] Compiling DequeModule RigidDeque+Append.swift
[169/576] Compiling DequeModule RigidDeque+Consumption.swift
[170/576] Compiling DequeModule RigidDeque+Container.swift
[171/576] Compiling DequeModule RigidDeque+Descriptions.swift
[171/576] Compiling ssl_privkey.cc
[172/576] Compiling ssl_key_share.cc
[173/576] Compiling ssl_file.cc
[174/576] Compiling ssl_lib.cc
[175/576] Compiling ssl_credential.cc
[177/576] Compiling DequeModule Deque+Codable.swift
[178/576] Compiling DequeModule Deque+Collection.swift
[179/576] Compiling DequeModule Deque+CustomReflectable.swift
[180/576] Compiling DequeModule Deque+Descriptions.swift
[181/576] Compiling DequeModule Deque+Equatable.swift
[182/576] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[183/576] Compiling DequeModule Deque+Extras.swift
[184/576] Compiling DequeModule Deque+Hashable.swift
[185/576] Compiling DequeModule Deque+Testing.swift
[186/576] Compiling DequeModule Deque._Storage.swift
[187/576] Compiling DequeModule Deque._UnsafeHandle.swift
[188/576] Compiling DequeModule Deque.swift
[188/576] Compiling ssl_cipher.cc
[189/576] Compiling ssl_cert.cc
[191/576] Compiling DequeModule UniqueDeque+Replacements.swift
[192/576] Compiling DequeModule UniqueDeque.swift
[193/576] Compiling DequeModule _DequeSlot.swift
[194/576] Compiling DequeModule _UnsafeDequeHandle.swift
[195/576] Compiling DequeModule _UnsafeDequeSegments.swift
[196/576] Emitting module DequeModule
[196/577] Compiling ssl_buffer.cc
[198/577] Compiling ssl_asn1.cc
[199/577] Compiling ssl_aead_ctx.cc
[200/577] Compiling s3_pkt.cc
[202/577] Emitting module Metrics
[203/577] Compiling Metrics Metrics.swift
[204/578] Compiling s3_lib.cc
[205/578] Compiling s3_both.cc
[206/578] Compiling handshake_server.cc
[207/578] Compiling handshake_client.cc
[208/578] Compiling handshake.cc
[209/578] Compiling handoff.cc
[210/578] Compiling encrypted_client_hello.cc
[211/578] Compiling dtls_method.cc
[212/578] Compiling dtls_record.cc
[213/578] Compiling extensions.cc
[214/578] Compiling md5-x86_64-apple.S
[215/578] Compiling md5-586-linux.S
[216/578] Compiling md5-x86_64-linux.S
[217/578] Compiling md5-586-apple.S
[218/578] Compiling chacha20_poly1305_x86_64-apple.S
[219/578] Compiling chacha20_poly1305_x86_64-linux.S
[220/578] Compiling chacha20_poly1305_armv8-win.S
[221/578] Compiling chacha20_poly1305_armv8-linux.S
[222/578] Compiling chacha20_poly1305_armv8-apple.S
[223/578] Compiling chacha-x86_64-linux.S
[224/578] Compiling chacha-x86_64-apple.S
[225/578] Compiling chacha-x86-linux.S
[226/578] Compiling err_data.cc
[227/578] Compiling chacha-x86-apple.S
[228/578] Compiling chacha-armv8-win.S
[229/578] Compiling chacha-armv8-linux.S
[230/578] Compiling chacha-armv8-apple.S
[231/578] Compiling chacha-armv4-linux.S
[232/578] Compiling aes128gcmsiv-x86_64-apple.S
[233/578] Compiling aes128gcmsiv-x86_64-linux.S
[234/578] Compiling x86_64-mont5-linux.S
[235/578] Compiling x86_64-mont5-apple.S
[236/578] Compiling x86_64-mont-linux.S
[237/578] Compiling x86_64-mont-apple.S
[238/578] Compiling x86-mont-linux.S
[239/578] Compiling x86-mont-apple.S
[240/578] Compiling d1_srtp.cc
[241/578] Compiling vpaes-x86_64-linux.S
[242/578] Compiling vpaes-x86-linux.S
[243/578] Compiling vpaes-x86_64-apple.S
[244/578] Compiling vpaes-x86-apple.S
[245/578] Compiling vpaes-armv8-win.S
[246/578] Compiling vpaes-armv8-linux.S
[247/578] Compiling vpaes-armv8-apple.S
[248/578] Compiling vpaes-armv7-linux.S
[249/578] Compiling sha512-x86_64-linux.S
[250/578] Compiling sha512-x86_64-apple.S
[251/578] Compiling sha512-armv8-win.S
[252/578] Compiling sha512-armv8-linux.S
[253/578] Compiling sha512-armv8-apple.S
[254/578] Compiling sha512-armv4-linux.S
[255/578] Compiling bio_ssl.cc
[256/578] Compiling sha512-586-linux.S
[257/578] Compiling sha512-586-apple.S
[258/578] Compiling sha256-x86_64-apple.S
[259/578] Compiling sha256-armv8-win.S
[260/578] Compiling sha256-armv8-apple.S
[261/578] Compiling d1_pkt.cc
[262/578] Compiling sha256-x86_64-linux.S
[263/578] Compiling sha256-armv8-linux.S
[264/578] Compiling sha256-armv4-linux.S
[265/578] Compiling d1_lib.cc
[266/578] Compiling sha256-586-linux.S
[267/578] Compiling sha1-x86_64-apple.S
[268/578] Compiling sha256-586-apple.S
[269/578] Compiling sha1-x86_64-linux.S
[270/578] Compiling sha1-armv8-win.S
[270/578] Compiling sha1-armv8-linux.S
[272/578] Compiling sha1-armv8-apple.S
[273/578] Compiling sha1-586-linux.S
[274/578] Compiling sha1-armv4-large-linux.S
[275/578] Compiling rsaz-avx2-apple.S
[276/578] Compiling sha1-586-apple.S
[277/578] Compiling rdrand-x86_64-linux.S
[278/578] Compiling rsaz-avx2-linux.S
[279/578] Compiling rdrand-x86_64-apple.S
[280/578] Compiling p256_beeu-x86_64-asm-linux.S
[281/578] Compiling p256_beeu-x86_64-asm-apple.S
[282/578] Compiling p256_beeu-armv8-asm-linux.S
[282/578] Compiling p256_beeu-armv8-asm-win.S
[284/578] Compiling p256-x86_64-asm-apple.S
[285/578] Compiling p256_beeu-armv8-asm-apple.S
[286/578] Compiling p256-armv8-asm-win.S
[287/578] Compiling p256-armv8-asm-linux.S
[288/578] Compiling p256-x86_64-asm-linux.S
[289/578] Compiling p256-armv8-asm-apple.S
[290/578] Compiling ghashv8-armv8-linux.S
[291/578] Compiling ghashv8-armv7-linux.S
[292/578] Compiling ghashv8-armv8-win.S
[293/578] Compiling ghashv8-armv8-apple.S
[294/578] Compiling ghash-x86-apple.S
[295/578] Compiling ghash-x86_64-apple.S
[296/578] Compiling ghash-ssse3-x86_64-apple.S
[296/578] Compiling ghash-x86_64-linux.S
[298/578] Compiling ghash-x86-linux.S
[299/578] Compiling ghash-ssse3-x86_64-linux.S
[300/578] Compiling ghash-ssse3-x86-apple.S
[301/578] Compiling ghash-ssse3-x86-linux.S
[302/578] Compiling ghash-neon-armv8-linux.S
[303/578] Compiling ghash-neon-armv8-win.S
[304/578] Compiling ghash-neon-armv8-apple.S
[305/578] Compiling ghash-armv4-linux.S
[306/578] Compiling co-586-linux.S
[307/578] Compiling bsaes-armv7-linux.S
[307/578] Compiling bn-armv8-win.S
[309/578] Compiling co-586-apple.S
[310/578] Compiling bn-armv8-linux.S
[311/578] Compiling bn-armv8-apple.S
[312/578] Compiling bn-586-linux.S
[313/578] Compiling armv8-mont-win.S
[314/578] Compiling bn-586-apple.S
[315/578] Compiling d1_both.cc
[316/578] Compiling armv8-mont-linux.S
[317/578] Compiling armv8-mont-apple.S
[318/578] Compiling armv4-mont-linux.S
[319/578] Compiling aesv8-gcm-armv8-win.S
[320/578] Compiling aesv8-gcm-armv8-linux.S
[321/578] Compiling aesv8-armv8-apple.S
[322/578] Compiling aesv8-gcm-armv8-apple.S
[323/578] Compiling aesv8-armv8-linux.S
[324/578] Compiling aesv8-armv7-linux.S
[325/578] Compiling aesv8-armv8-win.S
[326/578] Compiling aesni-x86_64-apple.S
[327/578] Compiling aesni-x86-linux.S
[328/578] Compiling aesni-x86_64-linux.S
[329/578] Compiling aesni-x86-apple.S
[330/578] Compiling aes-gcm-avx2-x86_64-linux.S
[331/578] Compiling aes-gcm-avx2-x86_64-apple.S
[332/578] Compiling aesni-gcm-x86_64-apple.S
[333/578] Compiling aesni-gcm-x86_64-linux.S
[334/578] Compiling aes-gcm-avx10-x86_64-linux.S
[335/578] Compiling aes-gcm-avx10-x86_64-apple.S
[336/578] Compiling x_pubkey.cc
[337/578] Compiling x_sig.cc
[338/578] Compiling x_x509a.cc
[339/578] Compiling x_spki.cc
[340/578] Compiling x_name.cc
[341/578] Compiling x_x509.cc
[342/578] Compiling x_val.cc
[343/578] Compiling x_req.cc
[344/578] Compiling x_exten.cc
[345/578] Compiling x_all.cc
[346/578] Compiling x509spki.cc
[347/578] Compiling x_attrib.cc
[348/578] Compiling x_algor.cc
[349/578] Compiling x509rset.cc
[350/578] Compiling x509name.cc
[351/578] Compiling x_crl.cc
[352/578] Compiling x509_txt.cc
[353/578] Compiling x509_v3.cc
[354/578] Compiling x509_vpm.cc
[355/578] Compiling x509cset.cc
[356/578] Compiling x509_set.cc
[357/578] Compiling x509_trs.cc
[358/578] Compiling x509_vfy.cc
[359/578] Compiling x509_req.cc
[360/578] Compiling x509_obj.cc
[361/578] Compiling x509_def.cc
[362/578] Compiling x509_d2.cc
[363/578] Compiling x509_ext.cc
[364/578] Compiling x509_lu.cc
[365/578] Compiling x509_cmp.cc
[366/578] Compiling x509.cc
[367/578] Compiling x509_att.cc
[368/578] Compiling v3_prn.cc
[369/578] Compiling v3_skey.cc
[370/578] Compiling v3_purp.cc
[371/578] Compiling v3_utl.cc
[372/578] Compiling v3_ocsp.cc
[373/578] Compiling v3_pmaps.cc
[374/578] Compiling v3_pcons.cc
[375/578] Compiling v3_ncons.cc
[376/578] Compiling v3_int.cc
[377/578] Compiling v3_enum.cc
[378/578] Compiling v3_info.cc
[379/578] Compiling v3_extku.cc
[380/578] Compiling v3_lib.cc
[381/578] Compiling v3_ia5.cc
[382/578] Compiling v3_genn.cc
[383/578] Compiling v3_crld.cc
[384/578] Compiling v3_cpols.cc
[385/578] Compiling v3_bcons.cc
[386/578] Compiling v3_bitst.cc
[387/578] Compiling v3_conf.cc
[388/578] Compiling v3_alt.cc
[389/578] Compiling v3_akeya.cc
[390/578] Compiling v3_akey.cc
[391/578] Compiling t_x509a.cc
[392/578] Compiling i2d_pr.cc
[393/578] Compiling t_x509.cc
[394/578] Compiling t_crl.cc
[395/578] Compiling t_req.cc
[396/578] Compiling rsa_pss.cc
[397/578] Compiling name_print.cc
[398/578] Compiling policy.cc
[399/578] Compiling by_file.cc
[400/578] Compiling by_dir.cc
[401/578] Compiling voprf.cc
[402/578] Compiling a_verify.cc
[403/578] Compiling asn1_gen.cc
[404/578] Compiling a_digest.cc
[405/578] Compiling algorithm.cc
[406/578] Compiling trust_token.cc
[407/578] Compiling a_sign.cc
[408/578] Compiling thread_win.cc
[409/578] Compiling thread.cc
[410/578] Compiling thread_none.cc
[411/578] Compiling thread_pthread.cc
[412/578] Compiling pmbtoken.cc
[413/578] Compiling stack.cc
[414/578] Compiling slhdsa.cc
[415/578] Compiling sha256.cc
[416/578] Compiling sha512.cc
[417/578] Compiling sha1.cc
[418/578] Compiling siphash.cc
[419/578] Compiling spake2plus.cc
[420/578] Compiling rsa_print.cc
[421/578] Compiling rsa_extra.cc
[422/578] Compiling rc4.cc
[423/578] Compiling refcount.cc
[424/578] Compiling windows.cc
[425/578] Compiling rsa_crypt.cc
[426/578] Compiling trusty.cc
[427/578] Compiling rand.cc
[428/578] Compiling urandom.cc
[429/578] Compiling ios.cc
[430/578] Compiling rsa_asn1.cc
[431/578] Compiling getentropy.cc
[432/578] Compiling poly1305_arm_asm.S
[433/578] Compiling passive.cc
[434/578] Compiling forkunsafe.cc
[435/578] Compiling fork_detect.cc
[436/578] Compiling deterministic.cc
[437/578] Compiling poly1305_arm.cc
[438/578] Compiling poly1305.cc
[439/578] Compiling pool.cc
[440/578] Compiling poly1305_vec.cc
[441/578] Compiling pkcs7.cc
[442/578] Compiling pkcs8.cc
[443/578] Compiling pkcs8_x509.cc
[444/578] Compiling p5_pbev2.cc
[445/578] Compiling pkcs7_x509.cc
[446/578] Compiling pem_xaux.cc
[447/578] Compiling pem_x509.cc
[448/578] Compiling pem_pkey.cc
[449/578] Compiling mlkem.cc
[450/578] Compiling obj_xref.cc
[451/578] Compiling pem_pk8.cc
[452/578] Compiling pem_oth.cc
[453/578] Compiling pem_info.cc
[454/578] Compiling pem_lib.cc
[455/578] Compiling mldsa.cc
[456/578] Compiling pem_all.cc
[457/578] Compiling obj.cc
[458/578] Compiling poly_rq_mul.S
[459/578] Compiling fips_shared_support.cc
[460/578] Compiling md5.cc
[461/578] Compiling mem.cc
[462/578] Compiling md4.cc
[463/578] Compiling lhash.cc
[464/578] Compiling hrss.cc
[465/578] Compiling ex_data.cc
[466/578] Compiling sign.cc
[467/578] Compiling kyber.cc
[468/578] Compiling scrypt.cc
[469/578] Compiling hpke.cc
[470/578] Compiling print.cc
[471/578] Compiling pbkdf.cc
[472/578] Compiling p_x25519.cc
[473/578] Compiling p_x25519_asn1.cc
[474/578] Compiling p_ed25519.cc
[475/578] Compiling p_rsa.cc
[476/578] Compiling p_rsa_asn1.cc
[477/578] Compiling p_hkdf.cc
[478/578] Compiling p_ed25519_asn1.cc
[479/578] Compiling p_ec.cc
[480/578] Compiling p_ec_asn1.cc
[481/578] Compiling p_dh_asn1.cc
[481/578] Compiling p_dh.cc
[483/578] Compiling evp_ctx.cc
[484/578] Compiling p_dsa_asn1.cc
[485/578] Compiling err.cc
[486/578] Compiling evp.cc
[487/578] Compiling engine.cc
[488/578] Compiling evp_asn1.cc
[489/578] Compiling ecdh.cc
[490/578] Compiling ecdsa_asn1.cc
[491/578] Compiling hash_to_curve.cc
[492/578] Compiling ec_derive.cc
[493/578] Compiling dsa.cc
[494/578] Compiling dsa_asn1.cc
[495/578] Compiling ec_asn1.cc
[496/578] Compiling params.cc
[497/578] Compiling x25519-asm-arm.S
[498/578] Compiling digest_extra.cc
[499/578] Compiling des.cc
[500/578] Compiling dh_asn1.cc
[501/578] Compiling spake25519.cc
[502/578] Compiling cpu_intel.cc
[503/578] Compiling crypto.cc
[504/578] Compiling cpu_arm_linux.cc
[505/578] Compiling cpu_arm_freebsd.cc
[506/578] Compiling curve25519.cc
[507/578] Compiling cpu_aarch64_win.cc
[508/578] Compiling cpu_aarch64_openbsd.cc
[509/578] Compiling cpu_aarch64_sysreg.cc
[510/578] Compiling bcm.cc
[511/578] Compiling cpu_aarch64_linux.cc
[512/578] Compiling cpu_aarch64_fuchsia.cc
[513/578] Compiling curve25519_64_adx.cc
[514/578] Compiling cpu_aarch64_apple.cc
[515/578] Compiling tls_cbc.cc
[516/578] Compiling conf.cc
[517/578] Compiling get_cipher.cc
[518/578] Compiling e_rc4.cc
[519/578] Compiling e_tls.cc
[520/578] Compiling e_null.cc
[521/578] Compiling e_rc2.cc
[522/578] Compiling e_des.cc
[523/578] Compiling e_chacha20poly1305.cc
[524/578] Compiling e_aesctrhmac.cc
[525/578] Compiling e_aesgcmsiv.cc
[526/578] Compiling derive_key.cc
[527/578] Compiling chacha.cc
[528/578] Compiling unicode.cc
[529/578] Compiling buf.cc
[530/578] Compiling cbb.cc
[531/578] Compiling asn1_compat.cc
[532/578] Compiling ber.cc
[533/578] Compiling cbs.cc
[534/578] Compiling bn_asn1.cc
[535/578] Compiling convert.cc
[536/578] Compiling blake2.cc
[537/578] Compiling socket_helper.cc
[538/578] Compiling socket.cc
[539/578] Compiling printf.cc
[540/578] Compiling pair.cc
[541/578] Compiling hexdump.cc
[542/578] Compiling file.cc
[543/578] Compiling errno.cc
[544/578] Compiling fd.cc
[545/578] Compiling connect.cc
[546/578] Compiling bio_mem.cc
[547/578] Compiling base64.cc
[548/578] Compiling bio.cc
[549/578] Compiling tasn_typ.cc
[550/578] Compiling tasn_fre.cc
[551/578] Compiling tasn_utl.cc
[552/578] Compiling tasn_enc.cc
[553/578] Compiling f_string.cc
[554/578] Compiling posix_time.cc
[555/578] Compiling tasn_new.cc
[556/578] Compiling f_int.cc
[557/578] Compiling asn_pack.cc
[558/578] Compiling tasn_dec.cc
[559/578] Compiling asn1_par.cc
[560/578] Compiling asn1_lib.cc
[561/578] Compiling a_utctm.cc
[562/578] Compiling a_type.cc
[563/578] Compiling a_time.cc
[564/578] Compiling a_octet.cc
[565/578] Compiling a_strnid.cc
[566/578] Compiling a_strex.cc
[567/578] Compiling a_object.cc
[568/578] Compiling a_i2d_fp.cc
[569/578] Compiling a_dup.cc
[570/578] Compiling a_mbstr.cc
[571/578] Compiling a_d2i_fp.cc
[572/578] Compiling a_gentm.cc
[573/578] Compiling a_int.cc
[574/578] Compiling a_bitstr.cc
[575/578] Compiling a_bool.cc
[576/578] Compiling c-nioatomics.c
[577/578] Compiling c-atomics.c
[579/585] Compiling NIOConcurrencyHelpers lock.swift
[580/585] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[581/585] Compiling NIOConcurrencyHelpers atomics.swift
[582/585] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[583/585] Compiling NIOConcurrencyHelpers NIOLock.swift
[584/585] Emitting module NIOConcurrencyHelpers
[585/585] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[587/650] Compiling NIOCore NIOCoreSendableMetatype.swift
[588/650] Compiling NIOCore NIODecodedAsyncSequence.swift
[589/650] Compiling NIOCore NIOLoopBound.swift
[590/650] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[591/650] Compiling NIOCore NIOScheduledCallback.swift
[592/650] Compiling NIOCore NIOSendable.swift
[593/650] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[594/650] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[595/650] Compiling NIOCore RecvByteBufferAllocator.swift
[596/658] Compiling NIOCore IPProtocol.swift
[597/658] Compiling NIOCore IntegerBitPacking.swift
[598/658] Compiling NIOCore IntegerTypes.swift
[599/658] Compiling NIOCore Interfaces.swift
[600/658] Compiling NIOCore Linux.swift
[601/658] Compiling NIOCore MarkedCircularBuffer.swift
[602/658] Compiling NIOCore MulticastChannel.swift
[603/658] Compiling NIOCore NIOAny.swift
[604/658] Compiling NIOCore NIOCloseOnErrorHandler.swift
[605/658] Compiling NIOCore EventLoopFuture+Deprecated.swift
[606/658] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[607/658] Compiling NIOCore EventLoopFuture.swift
[608/658] Compiling NIOCore FileDescriptor.swift
[609/658] Compiling NIOCore FileHandle.swift
[610/658] Compiling NIOCore FileRegion.swift
[611/658] Compiling NIOCore GlobalSingletons.swift
[612/658] Compiling NIOCore IO.swift
[613/658] Compiling NIOCore IOData.swift
[614/658] Compiling NIOCore CircularBuffer.swift
[615/658] Compiling NIOCore Codec.swift
[616/658] Compiling NIOCore ConvenienceOptionSupport.swift
[617/658] Compiling NIOCore DeadChannel.swift
[618/658] Compiling NIOCore DispatchQueue+WithFuture.swift
[619/658] Compiling NIOCore EventLoop+Deprecated.swift
[620/658] Compiling NIOCore EventLoop+SerialExecutor.swift
[621/658] Compiling NIOCore EventLoop.swift
[622/658] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[623/658] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[624/658] Compiling NIOCore SocketAddresses.swift
[625/658] Compiling NIOCore SocketOptionProvider.swift
[626/658] Compiling NIOCore SystemCallHelpers.swift
[627/658] Compiling NIOCore TimeAmount+Duration.swift
[628/658] Compiling NIOCore TypeAssistedChannelHandler.swift
[629/658] Compiling NIOCore UniversalBootstrapSupport.swift
[630/658] Compiling NIOCore Utilities.swift
[631/658] Compiling NIOCore AddressedEnvelope.swift
[632/658] Compiling NIOCore AsyncAwaitSupport.swift
[633/658] Compiling NIOCore AsyncChannel.swift
[634/658] Compiling NIOCore AsyncChannelHandler.swift
[635/658] Compiling NIOCore AsyncChannelInboundStream.swift
[636/658] Compiling NIOCore AsyncChannelOutboundWriter.swift
[637/658] Compiling NIOCore NIOAsyncSequenceProducer.swift
[638/658] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[639/658] Compiling NIOCore NIOAsyncWriter.swift
[640/658] Compiling NIOCore ByteBuffer-multi-int.swift
[641/658] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[642/658] Compiling NIOCore ByteBuffer-views.swift
[643/658] Compiling NIOCore Channel.swift
[644/658] Compiling NIOCore ChannelHandler.swift
[645/658] Compiling NIOCore ChannelHandlers.swift
[646/658] Compiling NIOCore ChannelInvoker.swift
[647/658] Compiling NIOCore ChannelOption.swift
[648/658] Compiling NIOCore ChannelPipeline.swift
[649/658] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[650/658] Compiling NIOCore BSDSocketAPI.swift
[651/658] Compiling NIOCore ByteBuffer-aux.swift
[652/658] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[653/658] Compiling NIOCore ByteBuffer-conversions.swift
[654/658] Compiling NIOCore ByteBuffer-core.swift
[655/658] Compiling NIOCore ByteBuffer-hex.swift
[656/658] Compiling NIOCore ByteBuffer-int.swift
[657/658] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[658/658] Emitting module NIOCore
[660/713] Emitting module NIOEmbedded
[661/713] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[662/713] Compiling NIOEmbedded Embedded.swift
[663/713] Compiling NIOEmbedded AsyncTestingChannel.swift
[665/714] Emitting module NIOPosix
[666/714] Compiling NIOPosix BSDSocketAPICommon.swift
[667/714] Compiling NIOPosix BSDSocketAPIPosix.swift
[668/714] Compiling NIOPosix BSDSocketAPIWindows.swift
[669/714] Compiling NIOPosix BaseSocket.swift
[670/714] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[671/714] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[672/714] Compiling NIOPosix BaseSocketChannel.swift
[673/720] Compiling NIOPosix PipePair.swift
[674/720] Compiling NIOPosix Pool.swift
[675/720] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[676/720] Compiling NIOPosix PosixSingletons.swift
[677/720] Compiling NIOPosix RawSocketBootstrap.swift
[678/720] Compiling NIOPosix Resolver.swift
[679/720] Compiling NIOPosix Selectable.swift
[680/720] Compiling NIOPosix ServerSocket.swift
[681/720] Compiling NIOPosix Socket.swift
[682/720] Compiling NIOPosix SocketChannel.swift
[683/720] Compiling NIOPosix SocketProtocols.swift
[684/720] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[685/720] Compiling NIOPosix System.swift
[686/720] Compiling NIOPosix Thread.swift
[687/720] Compiling NIOPosix SelectableChannel.swift
[688/720] Compiling NIOPosix SelectableEventLoop.swift
[689/720] Compiling NIOPosix SelectorEpoll.swift
[690/720] Compiling NIOPosix SelectorGeneric.swift
[691/720] Compiling NIOPosix SelectorKqueue.swift
[692/720] Compiling NIOPosix SelectorUring.swift
[693/720] Compiling NIOPosix SelectorWSAPoll.swift
[694/720] Compiling NIOPosix ThreadPosix.swift
[695/720] Compiling NIOPosix ThreadWindows.swift
[696/720] Compiling NIOPosix Utilities.swift
[697/720] Compiling NIOPosix VsockAddress.swift
[698/720] Compiling NIOPosix VsockChannelEvents.swift
[699/720] Compiling NIOPosix Windows.swift
[700/720] Compiling NIOPosix HappyEyeballs.swift
[701/720] Compiling NIOPosix IO.swift
[702/720] Compiling NIOPosix IntegerBitPacking.swift
[703/720] Compiling NIOPosix IntegerTypes.swift
[704/720] Compiling NIOPosix Linux.swift
[705/720] Compiling NIOPosix LinuxCPUSet.swift
[706/720] Compiling NIOPosix LinuxUring.swift
[707/720] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[708/720] Compiling NIOPosix NIOPosixSendableMetatype.swift
[709/720] Compiling NIOPosix NIOThreadPool.swift
[710/720] Compiling NIOPosix NonBlockingFileIO.swift
[711/720] Compiling NIOPosix PendingDatagramWritesManager.swift
[712/720] Compiling NIOPosix PendingWritesManager.swift
[713/720] Compiling NIOPosix PipeChannel.swift
[714/720] Compiling NIOPosix BaseStreamSocketChannel.swift
[715/720] Compiling NIOPosix Bootstrap.swift
[716/720] Compiling NIOPosix ControlMessage.swift
[717/720] Compiling NIOPosix DatagramVectorReadManager.swift
[718/720] Compiling NIOPosix Errors+Any.swift
[719/720] Compiling NIOPosix FileDescriptor.swift
[720/720] Compiling NIOPosix GetaddrinfoResolver.swift
[722/723] Emitting module NIO
[723/723] Compiling NIO Exports.swift
[725/730] Compiling NIOTLS TLSEvents.swift
[726/730] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[727/730] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[728/730] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[729/730] Emitting module NIOTLS
[730/730] Compiling NIOTLS SNIHandler.swift
[732/760] Compiling NIOSSL SubjectAlternativeName.swift
[733/760] Compiling NIOSSL NIOSSLSecureBytes.swift
[734/760] Compiling NIOSSL RNG.swift
[735/760] Compiling NIOSSL SafeCompare.swift
[736/760] Compiling NIOSSL SSLPrivateKey.swift
[737/760] Compiling NIOSSL SSLPublicKey.swift
[738/760] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[739/760] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[740/760] Emitting module NIOSSL
[741/760] Compiling NIOSSL AndroidCABundle.swift
[742/760] Compiling NIOSSL ByteBufferBIO.swift
[743/760] Compiling NIOSSL CustomPrivateKey.swift
[744/760] Compiling NIOSSL IdentityVerification.swift
[745/760] Compiling NIOSSL NIOSSLServerHandler.swift
[746/760] Compiling NIOSSL ObjectIdentifier.swift
[747/760] Compiling NIOSSL PosixPort.swift
[748/760] Compiling NIOSSL SSLCallbacks.swift
[749/764] Compiling NIOSSL SSLCertificate.swift
[750/764] Compiling NIOSSL SSLCertificateExtensions.swift
[751/764] Compiling NIOSSL SSLCertificateName.swift
[752/764] Compiling NIOSSL SSLConnection.swift
[753/764] Compiling NIOSSL LinuxCABundle.swift
[754/764] Compiling NIOSSL NIOSSLClientHandler.swift
[755/764] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[756/764] Compiling NIOSSL NIOSSLHandler.swift
[757/764] Compiling NIOSSL SSLContext.swift
[758/764] Compiling NIOSSL SSLErrors.swift
[759/764] Compiling NIOSSL SSLInit.swift
[760/764] Compiling NIOSSL SSLPKCS12Bundle.swift
[761/764] Compiling NIOSSL Zeroization.swift
[762/764] Compiling NIOSSL TLSConfiguration.swift
[763/764] Compiling NIOSSL UniversalBootstrapSupport.swift
[764/764] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[766/799] Compiling RediStack RedisByteDecoder.swift
[767/799] Compiling RediStack RedisCommandHandler.swift
[768/799] Compiling RediStack RedisMessageEncoder.swift
[769/799] Compiling RediStack RedisPubSubHandler.swift
[770/799] Compiling RediStack RedisClusterNodeDescriptionProtocol.swift
[771/803] Emitting module RediStack
[772/803] Compiling RediStack StandardLibrary.swift
[773/803] Compiling RediStack SwiftNIO.swift
[774/803] Compiling RediStack RESPTranslator.swift
[775/803] Compiling RediStack RESPValue.swift
[776/803] Compiling RediStack RESPValueConvertible.swift
[777/803] Compiling RediStack StringCommands.swift
[778/803] Compiling RediStack ConnectionPool.swift
[779/803] Compiling RediStack RedisConnectionPool+Configuration.swift
[780/803] Compiling RediStack RedisConnectionPool.swift
[781/803] Compiling RediStack RedisConnectionPoolError.swift
[782/803] Compiling RediStack RedisConnection+Configuration.swift
[783/803] Compiling RediStack RedisConnection.swift
[784/803] Compiling RediStack RedisError.swift
[785/803] Compiling RediStack RedisKey+TTL.swift
[786/803] Compiling RediStack RedisChannelName.swift
[787/803] Compiling RediStack RedisClient.swift
[788/803] Compiling RediStack RedisCommandEncoder-multi-encode.swift
[789/803] Compiling RediStack RedisCommandEncoder.swift
[790/803] Compiling RediStack RedisKey.swift
[791/803] Compiling RediStack RedisLogging.swift
[792/803] Compiling RediStack RedisMetrics.swift
[793/803] Compiling RediStack _Deprecations.swift
[794/803] Compiling RediStack RedisClusterNodeID.swift
[795/803] Compiling RediStack RedisClusterShardDescriptionProtocol.swift
[796/803] Compiling RediStack RedisHashSlot.swift
[797/803] Compiling RediStack SwiftPolyfill.swift
[798/803] Compiling RediStack BasicCommands.swift
[799/803] Compiling RediStack HashCommands.swift
[800/803] Compiling RediStack ListCommands.swift
[801/803] Compiling RediStack PubSubCommands.swift
[802/803] Compiling RediStack SetCommands.swift
[803/803] Compiling RediStack SortedSetCommands.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[805/806] Emitting module Cachly
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:109:16: warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' has non-sendable type '[[String : Any]]'; this is an error in the Swift 6 language mode
107 | public let hitRate: Double
108 | public let total: Int
109 | public let namespaces: [[String: Any]]
| `- warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' has non-sendable type '[[String : Any]]'; this is an error in the Swift 6 language mode
110 | }
111 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:521:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
519 | var url = vUrl.appendingPathComponent("entries")
520 | url = appendingQuery(url: url, name: "namespace", value: namespace)
521 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
522 | struct Resp: Decodable { let data: [Entry] }
523 | struct Entry: Decodable { let id: String; let prompt: String }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:553:23: error: cannot find 'URLRequest' in scope
551 | var url = vUrl.appendingPathComponent("flush")
552 | url = appendingQuery(url: url, name: "namespace", value: namespace)
553 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
554 | req.httpMethod = "DELETE"
555 | let (data, _) = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:555:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
553 | var req = URLRequest(url: url)
554 | req.httpMethod = "DELETE"
555 | let (data, _) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
556 | struct Resp: Decodable { let deleted: Int }
557 | let resp = (try? JSONDecoder().decode(Resp.self, from: data))
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:573:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
571 | var url = vUrl.appendingPathComponent("size")
572 | url = appendingQuery(url: url, name: "namespace", value: namespace)
573 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
574 | struct Resp: Decodable { let size: Int }
575 | return (try? JSONDecoder().decode(Resp.self, from: data))?.size ?? 0
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1309:19: error: cannot find 'URLRequest' in scope
1307 | struct ServerResponse: Decodable { let results: [ServerResult] }
1308 |
1309 | var req = URLRequest(url: baseURL.appendingPathComponent("batch"))
| `- error: cannot find 'URLRequest' in scope
1310 | req.httpMethod = "POST"
1311 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1313:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1311 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1312 | req.httpBody = try JSONEncoder().encode(["ops": ops])
1313 | let (data, _) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1314 | let resp = try JSONDecoder().decode(ServerResponse.self, from: data)
1315 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1316:39: error: type of expression is ambiguous without a type annotation
1314 | let resp = try JSONDecoder().decode(ServerResponse.self, from: data)
1315 |
1316 | return zip(ops, resp.results).map { op, r in
| `- error: type of expression is ambiguous without a type annotation
1317 | switch op.op {
1318 | case "get":
[806/806] Compiling Cachly CachlyClient.swift
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:109:16: warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' has non-sendable type '[[String : Any]]'; this is an error in the Swift 6 language mode
107 | public let hitRate: Double
108 | public let total: Int
109 | public let namespaces: [[String: Any]]
| `- warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' has non-sendable type '[[String : Any]]'; this is an error in the Swift 6 language mode
110 | }
111 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:284:19: error: cannot find 'URLRequest' in scope
282 | guard let vUrl = vectorUrl, !hitId.isEmpty else { return }
283 | let url = vUrl.appendingPathComponent("feedback")
284 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
285 | req.httpMethod = "POST"
286 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:292:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
290 | ]
291 | req.httpBody = try? JSONSerialization.data(withJSONObject: body)
292 | _ = try? await URLSession.shared.data(for: req) // best-effort
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
293 | }
294 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:301:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
299 | var url = vUrl.appendingPathComponent("threshold")
300 | url = appendingQuery(url: url, name: "namespace", value: namespace)
301 | guard let (data, _) = try? await URLSession.shared.data(from: url),
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
302 | let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any],
303 | let t = json["threshold"] as? Double else { return 0.85 }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:505:23: error: cannot find 'URLRequest' in scope
503 | if let vUrl = vectorUrl {
504 | let url = vUrl.appendingPathComponent("entries").appendingPathComponent(id)
505 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
506 | req.httpMethod = "DELETE"
507 | let (_, resp) = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:507:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
505 | var req = URLRequest(url: url)
506 | req.httpMethod = "DELETE"
507 | let (_, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
508 | return (resp as? HTTPURLResponse)?.statusCode == 200
509 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:508:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
506 | req.httpMethod = "DELETE"
507 | let (_, resp) = try await URLSession.shared.data(for: req)
508 | return (resp as? HTTPURLResponse)?.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
509 | }
510 | // Legacy: also delete the emb key from Valkey
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:521:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
519 | var url = vUrl.appendingPathComponent("entries")
520 | url = appendingQuery(url: url, name: "namespace", value: namespace)
521 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
522 | struct Resp: Decodable { let data: [Entry] }
523 | struct Entry: Decodable { let id: String; let prompt: String }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:553:23: error: cannot find 'URLRequest' in scope
551 | var url = vUrl.appendingPathComponent("flush")
552 | url = appendingQuery(url: url, name: "namespace", value: namespace)
553 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
554 | req.httpMethod = "DELETE"
555 | let (data, _) = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:555:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
553 | var req = URLRequest(url: url)
554 | req.httpMethod = "DELETE"
555 | let (data, _) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
556 | struct Resp: Decodable { let deleted: Int }
557 | let resp = (try? JSONDecoder().decode(Resp.self, from: data))
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:573:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
571 | var url = vUrl.appendingPathComponent("size")
572 | url = appendingQuery(url: url, name: "namespace", value: namespace)
573 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
574 | struct Resp: Decodable { let size: Int }
575 | return (try? JSONDecoder().decode(Resp.self, from: data))?.size ?? 0
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:594:25: error: cannot find 'URLRequest' in scope
592 | // 1. Search via pgvector
593 | let searchUrl = baseUrl.appendingPathComponent("search")
594 | var searchReq = URLRequest(url: searchUrl)
| `- error: cannot find 'URLRequest' in scope
595 | searchReq.httpMethod = "POST"
596 | searchReq.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:611:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
609 | }
610 | searchReq.httpBody = try JSONSerialization.data(withJSONObject: searchBody)
611 | let (searchData, _) = try await URLSession.shared.data(for: searchReq)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
612 |
613 | if let resp = try? JSONDecoder().decode(SearchResp.self, from: searchData),
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:617:47: error: cannot infer contextual base in reference to member 'utf8'
615 | let vk = "\(ns):val:\(id)"
616 | if let rawStr = try? await redis.get(RedisKey(vk), as: String.self).get(),
617 | let data = rawStr.data(using: .utf8),
| `- error: cannot infer contextual base in reference to member 'utf8'
618 | let value = try? JSONDecoder().decode(T.self, from: data) {
619 | let sim = resp.similarity ?? 0.0
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:653:23: error: cannot find 'URLRequest' in scope
651 | }
652 | let entriesUrl = baseUrl.appendingPathComponent("entries")
653 | var req = URLRequest(url: entriesUrl)
| `- error: cannot find 'URLRequest' in scope
654 | req.httpMethod = "POST"
655 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:765:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
763 | public func stats(namespace: String = "cachly:sem", vectorUrl: URL) async throws -> CacheStats {
764 | let url = appendingQuery(url: vectorUrl.appendingPathComponent("stats"), name: "namespace", value: namespace)
765 | guard let (data, _) = try? await URLSession.shared.data(from: url),
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
766 | let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] else {
767 | return CacheStats(hits: 0, misses: 0, hitRate: 0, total: 0, namespaces: [])
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:797:31: error: cannot find 'URLRequest' in scope
795 | ]
796 | let url = vectorUrl.appendingPathComponent("search/stream")
797 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
798 | req.httpMethod = "POST"
799 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:850:19: error: cannot find 'URLRequest' in scope
848 | public func deleteIndex(namespace: String, vectorUrl: URL) async throws {
849 | let url = vectorUrl.appendingPathComponent("indexes/\(namespace)")
850 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
851 | req.httpMethod = "DELETE"
852 | _ = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:852:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
850 | var req = URLRequest(url: url)
851 | req.httpMethod = "DELETE"
852 | _ = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
853 | }
854 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:888:19: error: cannot find 'URLRequest' in scope
886 | public func deleteGuardrail(namespace: String, vectorUrl: URL) async throws {
887 | let url = vectorUrl.appendingPathComponent("guardrails/\(namespace)")
888 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
| `- error: cannot find 'URLRequest' in scope
889 | _ = try await URLSession.shared.data(for: req)
890 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:889:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
887 | let url = vectorUrl.appendingPathComponent("guardrails/\(namespace)")
888 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
889 | _ = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
890 | }
891 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:920:19: error: cannot find 'URLRequest' in scope
918 | @discardableResult
919 | private func httpPost(url: URL, body: [String: Any]) async throws -> [String: Any]? {
920 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
921 | req.httpMethod = "POST"
922 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:924:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
922 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
923 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
924 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
925 | if let httpResp = resp as? HTTPURLResponse, httpResp.statusCode >= 400 {
926 | throw CachlyError.serializationFailed("cachly API POST \(url) → \(httpResp.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1067:75: error: incorrect argument label in call (have 'bulk:', expected 'from:')
1065 | /// Returns `-1` if the key has no expiry, `-2` if the key does not exist.
1066 | public func ttl(_ key: String) async throws -> Int {
1067 | let result = try await redis.send(command: "TTL", with: [RESPValue(bulk: key)]).get()
| `- error: incorrect argument label in call (have 'bulk:', expected 'from:')
1068 | return Int(result.int ?? -2)
1069 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1309:19: error: cannot find 'URLRequest' in scope
1307 | struct ServerResponse: Decodable { let results: [ServerResult] }
1308 |
1309 | var req = URLRequest(url: baseURL.appendingPathComponent("batch"))
| `- error: cannot find 'URLRequest' in scope
1310 | req.httpMethod = "POST"
1311 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1313:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1311 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1312 | req.httpBody = try JSONEncoder().encode(["ops": ops])
1313 | let (data, _) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1314 | let resp = try JSONDecoder().decode(ServerResponse.self, from: data)
1315 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1316:39: error: type of expression is ambiguous without a type annotation
1314 | let resp = try JSONDecoder().decode(ServerResponse.self, from: data)
1315 |
1316 | return zip(ops, resp.results).map { op, r in
| `- error: type of expression is ambiguous without a type annotation
1317 | switch op.op {
1318 | case "get":
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1357:88: error: cannot convert value of type 'Int' to expected argument type 'RedisKey.Lifetime'
1355 | res = BatchOpResult(value: nil, found: false, ok: false, exists: n > 0, ttlSeconds: -2)
1356 | case "ttl":
1357 | let t = (try? await self.redis.ttl(RedisKey(op.key)).get()) ?? -2
| `- error: cannot convert value of type 'Int' to expected argument type 'RedisKey.Lifetime'
1358 | res = BatchOpResult(value: nil, found: false, ok: false, exists: false, ttlSeconds: t)
1359 | default:
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1439:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1437 | guard let base = batchUrl else { throw CachlyError.serializationFailed("batchUrl required for getTags") }
1438 | let url = base.appendingPathComponent("tags/\(key)")
1439 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1440 | let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any]
1441 | return TagsResult(key: json?["key"] as? String ?? key,
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1441:16: error: type of expression is ambiguous without a type annotation
1439 | let (data, _) = try await URLSession.shared.data(from: url)
1440 | let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any]
1441 | return TagsResult(key: json?["key"] as? String ?? key,
| `- error: type of expression is ambiguous without a type annotation
1442 | tags: json?["tags"] as? [String] ?? [], ok: true)
1443 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1448:19: error: cannot find 'URLRequest' in scope
1446 | public func deleteTags(key: String) async throws {
1447 | guard let base = batchUrl else { throw CachlyError.serializationFailed("batchUrl required for deleteTags") }
1448 | var req = URLRequest(url: base.appendingPathComponent("tags/\(key)"))
| `- error: cannot find 'URLRequest' in scope
1449 | req.httpMethod = "DELETE"
1450 | _ = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1450:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1448 | var req = URLRequest(url: base.appendingPathComponent("tags/\(key)"))
1449 | req.httpMethod = "DELETE"
1450 | _ = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1451 | }
1452 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1482:19: error: cannot find 'URLRequest' in scope
1480 | public func swrRemove(key: String) async throws {
1481 | guard let base = batchUrl else { throw CachlyError.serializationFailed("batchUrl required for swrRemove") }
1482 | var req = URLRequest(url: base.appendingPathComponent("swr/\(key)"))
| `- error: cannot find 'URLRequest' in scope
1483 | req.httpMethod = "DELETE"
1484 | _ = try await URLSession.shared.data(for: req)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1484:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1482 | var req = URLRequest(url: base.appendingPathComponent("swr/\(key)"))
1483 | req.httpMethod = "DELETE"
1484 | _ = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1485 | }
1486 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1510:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1508 | public func llmProxyStats() async throws -> LlmProxyStatsResult {
1509 | guard let base = llmProxyUrl else { throw CachlyError.serializationFailed("llmProxyUrl required") }
1510 | let (data, _) = try await URLSession.shared.data(from: base.appendingPathComponent("stats"))
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1511 | let json = (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
1512 | return LlmProxyStatsResult(
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1526:19: error: cannot find 'URLRequest' in scope
1524 | @discardableResult
1525 | private func httpPost(_ url: URL, body: [String: Any]) async throws -> [String: Any]? {
1526 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
1527 | req.httpMethod = "POST"
1528 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1530:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1528 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1529 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
1530 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1531 | if let httpResp = resp as? HTTPURLResponse, httpResp.statusCode >= 400 {
1532 | throw CachlyError.serializationFailed("cachly API POST \(url) → \(httpResp.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1664:19: error: cannot find 'URLRequest' in scope
1662 |
1663 | private func httpPost(_ url: URL, body: [String: Any]) async throws -> [String: Any]? {
1664 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
1665 | req.httpMethod = "POST"
1666 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1668:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1666 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1667 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
1668 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1669 | if let httpResp = resp as? HTTPURLResponse, httpResp.statusCode >= 400 {
1670 | throw CachlyError.serializationFailed("cachly pubsub POST \(url) → \(httpResp.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1687:31: error: cannot find 'URLRequest' in scope
1685 | Task {
1686 | do {
1687 | var req = URLRequest(url: pubsubUrl.appendingPathComponent("subscribe"))
| `- error: cannot find 'URLRequest' in scope
1688 | req.httpMethod = "POST"
1689 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1715:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1713 | /// List active channels. `GET /v1/pubsub/:token/channels`
1714 | public func channels() async throws -> [[String: Any]] {
1715 | let (data, _) = try await URLSession.shared.data(from: pubsubUrl.appendingPathComponent("channels"))
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1716 | let json = (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
1717 | return json["channels"] as? [[String: Any]] ?? []
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1722:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1720 | /// Pub/Sub statistics. `GET /v1/pubsub/:token/stats`
1721 | public func stats() async throws -> [String: Any] {
1722 | let (data, _) = try await URLSession.shared.data(from: pubsubUrl.appendingPathComponent("stats"))
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1723 | return (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
1724 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1735:19: error: cannot find 'URLRequest' in scope
1733 |
1734 | private func httpPost(_ url: URL, body: [String: Any]) async throws -> [String: Any]? {
1735 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
1736 | req.httpMethod = "POST"
1737 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1739:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1737 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1738 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
1739 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1740 | if let httpResp = resp as? HTTPURLResponse, httpResp.statusCode >= 400 {
1741 | throw CachlyError.serializationFailed("cachly workflow POST \(url) → \(httpResp.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1747:19: error: cannot find 'URLRequest' in scope
1745 |
1746 | private func httpDelete(_ url: URL) async throws {
1747 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
| `- error: cannot find 'URLRequest' in scope
1748 | _ = try await URLSession.shared.data(for: req)
1749 | }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1748:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1746 | private func httpDelete(_ url: URL) async throws {
1747 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
1748 | _ = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1749 | }
1750 |
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1794:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1792 | /// List all runs. `GET /v1/workflow/:token/runs`
1793 | public func listRuns() async throws -> [WorkflowRun] {
1794 | let (data, _) = try await URLSession.shared.data(from: workflowUrl.appendingPathComponent("runs"))
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1795 | let json = (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
1796 | return (json["runs"] as? [[String: Any]] ?? []).map { toRun($0) }
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1801:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1799 | /// Get checkpoints for a run. `GET /v1/workflow/:token/runs/:runId`
1800 | public func getRun(_ runId: String) async throws -> WorkflowRun {
1801 | let (data, _) = try await URLSession.shared.data(from: workflowUrl.appendingPathComponent("runs/\(runId)"))
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1802 | let json = (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
1803 | return toRun(json)
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1808:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1806 | /// Get the latest checkpoint. `GET /v1/workflow/:token/runs/:runId/latest`
1807 | public func latestCheckpoint(runId: String) async throws -> WorkflowCheckpoint {
1808 | let (data, _) = try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1809 | from: workflowUrl.appendingPathComponent("runs/\(runId)/latest"))
1810 | let json = (try? JSONSerialization.jsonObject(with: data) as? [String: Any]) ?? [:]
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1978:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1976 |
1977 | private func httpGet(_ url: URL) async throws -> [String: Any] {
1978 | let (data, resp) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1979 | if let r = resp as? HTTPURLResponse, r.statusCode >= 400 {
1980 | throw CachlyError.serializationFailed("cachly edge GET \(url) → \(r.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1986:19: error: cannot find 'URLRequest' in scope
1984 |
1985 | private func httpPut(_ url: URL, body: [String: Any]) async throws -> [String: Any] {
1986 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
1987 | req.httpMethod = "PUT"
1988 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1990:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1988 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
1989 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
1990 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1991 | if let r = resp as? HTTPURLResponse, r.statusCode >= 400 {
1992 | throw CachlyError.serializationFailed("cachly edge PUT \(url) → \(r.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1998:19: error: cannot find 'URLRequest' in scope
1996 |
1997 | private func httpDelete(_ url: URL) async throws -> [String: Any] {
1998 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
| `- error: cannot find 'URLRequest' in scope
1999 | let (data, resp) = try await URLSession.shared.data(for: req)
2000 | if let r = resp as? HTTPURLResponse, r.statusCode >= 400 {
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:1999:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
1997 | private func httpDelete(_ url: URL) async throws -> [String: Any] {
1998 | var req = URLRequest(url: url); req.httpMethod = "DELETE"
1999 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
2000 | if let r = resp as? HTTPURLResponse, r.statusCode >= 400 {
2001 | throw CachlyError.serializationFailed("cachly edge DELETE \(url) → \(r.statusCode)")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:2007:19: error: cannot find 'URLRequest' in scope
2005 |
2006 | private func httpPost(_ url: URL, body: [String: Any]) async throws -> [String: Any] {
2007 | var req = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
2008 | req.httpMethod = "POST"
2009 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:2011:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
2009 | req.setValue("application/json", forHTTPHeaderField: "Content-Type")
2010 | req.httpBody = try JSONSerialization.data(withJSONObject: body)
2011 | let (data, resp) = try await URLSession.shared.data(for: req)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
2012 | if let r = resp as? HTTPURLResponse, r.statusCode >= 400 {
2013 | throw CachlyError.serializationFailed("cachly edge POST \(url) → \(r.statusCode)")
BUILD FAILURE 6.0 linux