Build Information
Failed to build Cachly, reference 0.1.0-beta.1 (e71a22), with Swift 6.2 for Linux on 22 Apr 2026 12:23:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&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.2
Building package at path: $PWD
https://github.com/cachly-dev/cachly-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/swift-server/RediStack.git
[1/4803] Fetching redistack
Fetched https://github.com/swift-server/RediStack.git from cache (0.40s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (0.87s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[111/5008] Fetching swift-atomics, swift-metrics
[3326/11644] Fetching swift-atomics, swift-metrics, swift-log
[11645/27076] Fetching swift-atomics, swift-metrics, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
[10133/25256] Fetching swift-metrics, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
[4887/101826] Fetching swift-metrics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (7.92s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.96s)
Fetched https://github.com/apple/swift-nio.git from cache (8.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (2.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.21s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23620] Fetching swift-collections
[2/29221] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
[15353/23620] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.97s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.1 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.53s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/430] Write sources
[18/430] Compiling CNIOWindows WSAStartup.c
[19/430] Compiling CNIOOpenBSD shim.c
[20/430] Compiling CNIOWindows shim.c
[21/430] Compiling CNIOWASI CNIOWASI.c
[22/430] Compiling _AtomicsShims.c
[23/430] Compiling CNIOPosix event_loop_id.c
[24/430] Compiling CNIODarwin shim.c
[25/430] Compiling CNIOLinux liburing_shims.c
[26/430] Write swift-version-24593BA9C3E375BF.txt
[27/430] Compiling fiat_p256_adx_mul.S
[28/430] Compiling fiat_curve25519_adx_square.S
[29/430] Compiling fiat_p256_adx_sqr.S
[30/430] Compiling fiat_curve25519_adx_mul.S
[31/432] Compiling CNIOLinux shim.c
[32/465] Compiling CNIOBoringSSLShims shims.c
[34/483] Emitting module _NIODataStructures
[35/483] Emitting module InternalCollectionsUtilities
[35/485] Compiling tls_method.cc
[36/485] Compiling tls_record.cc
[38/485] Emitting module Atomics
[39/487] Compiling Atomics IntegerOperations.swift
[40/487] Compiling Atomics Unmanaged extensions.swift
[41/487] Compiling Atomics OptionalRawRepresentable.swift
[42/487] Compiling Atomics RawRepresentable.swift
[43/487] Compiling Atomics AtomicBool.swift
[44/487] Compiling Atomics AtomicMemoryOrderings.swift
[45/487] Compiling Atomics DoubleWord.swift
[46/487] Compiling Atomics AtomicInteger.swift
[47/487] Compiling Atomics AtomicOptionalWrappable.swift
[48/487] Compiling Atomics AtomicReference.swift
[49/487] Compiling Atomics AtomicStorage.swift
[50/487] Compiling Atomics AtomicValue.swift
[54/487] Compiling Atomics UnsafeAtomic.swift
[55/487] Compiling Atomics UnsafeAtomicLazyReference.swift
[58/487] Compiling Atomics ManagedAtomic.swift
[59/487] Compiling Atomics ManagedAtomicLazyReference.swift
[62/487] Compiling Atomics IntegerConformances.swift
[63/487] Compiling Atomics PointerConformances.swift
[64/487] Compiling Atomics Primitives.native.swift
[74/488] Compiling CoreMetrics WithMetricsFactory.swift
[75/488] Emitting module _NIOBase64
[76/488] Compiling _NIOBase64 Base64.swift
[78/489] Compiling Logging LogEvent.swift
[84/490] Compiling _NIODataStructures _TinyArray.swift
[85/490] Compiling _NIODataStructures PriorityQueue.swift
[86/523] Compiling ContainersPreview Drain+Reduce.swift
[87/523] Compiling ContainersPreview Drain.swift
[88/523] Compiling ContainersPreview Producer+Collect.swift
[89/523] Compiling ContainersPreview Producer+Filter.swift
[90/527] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[91/527] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[92/527] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[93/527] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[94/527] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[95/527] Compiling ContainersPreview Producer+Map.swift
[96/527] Compiling ContainersPreview Producer+Reduce.swift
[97/527] Compiling ContainersPreview Producer.swift
[98/527] Compiling ContainersPreview Borrow.swift
[99/527] Compiling ContainersPreview RandomAccessContainer.swift
[100/527] Compiling ContainersPreview RangeExpression2.swift
[101/527] Compiling ContainersPreview RangeReplaceableContainer.swift
[102/527] Compiling ContainersPreview Drain+Map.swift
[103/527] Compiling ContainersPreview Container.swift
[104/527] Compiling ContainersPreview ContainerIterator.swift
[105/527] Compiling ContainersPreview DynamicContainer.swift
[106/527] Compiling ContainersPreview MutableContainer.swift
[107/527] Compiling ContainersPreview PermutableContainer.swift
[108/527] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[109/527] Compiling ContainersPreview BorrowingSequence.swift
[110/527] Compiling ContainersPreview BidirectionalContainer.swift
[111/527] Compiling ContainersPreview Container+Filter.swift
[112/527] Compiling ContainersPreview Container+SpanwiseZip.swift
[113/527] Compiling CoreMetrics MappingMetricsFactory.swift
[114/527] Compiling CoreMetrics Metrics.swift
[115/527] Compiling ContainersPreview Box.swift
[116/527] Compiling ContainersPreview Inout.swift
[117/527] Compiling ContainersPreview InputSpan.swift
[118/527] Compiling ContainersPreview Shared.swift
[118/527] Compiling tls13_enc.cc
[119/527] Compiling tls13_server.cc
[121/527] Emitting module ContainersPreview
[122/527] Compiling ContainersPreview OutputSpan+Extras.swift
[123/527] Compiling ContainersPreview TemporaryAllocation.swift
[124/527] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[125/527] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[126/527] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[128/528] Emitting module Logging
[129/528] Compiling Logging Locks.swift
[130/528] Emitting module CoreMetrics
[131/528] Compiling CoreMetrics Locks.swift
[132/529] Compiling Logging MetadataProvider.swift
[134/529] Compiling _NIODataStructures Heap.swift
[136/572] Compiling Logging Logging.swift
[137/572] Compiling Logging LogHandler.swift
[139/573] Compiling DequeModule UniqueDeque+Consumption.swift
[140/573] Compiling DequeModule UniqueDeque+Container.swift
[141/573] Compiling DequeModule UniqueDeque+Descriptions.swift
[142/573] Compiling DequeModule UniqueDeque+Equatable.swift
[143/573] Compiling DequeModule UniqueDeque+Experimental.swift
[144/573] Compiling DequeModule UniqueDeque+Hashable.swift
[145/573] Compiling DequeModule UniqueDeque+Initializers.swift
[146/573] Compiling DequeModule UniqueDeque+Insertions.swift
[147/573] Compiling DequeModule UniqueDeque+Prepend.swift
[148/573] Compiling DequeModule UniqueDeque+Removals.swift
[149/578] Compiling DequeModule RigidDeque+Equatable.swift
[150/578] Compiling DequeModule RigidDeque+Experimental.swift
[151/578] Compiling DequeModule RigidDeque+Hashable.swift
[152/578] Compiling DequeModule RigidDeque+Initializers.swift
[153/578] Compiling DequeModule RigidDeque+Insertions.swift
[154/578] Compiling DequeModule RigidDeque+Prepend.swift
[155/578] Compiling DequeModule _DequeBuffer.swift
[156/578] Compiling DequeModule _DequeBufferHeader.swift
[157/578] Compiling DequeModule RigidDeque+Append.swift
[158/578] Compiling DequeModule RigidDeque+Consumption.swift
[159/578] Compiling DequeModule RigidDeque+Container.swift
[160/578] Compiling DequeModule RigidDeque+Descriptions.swift
[161/578] Compiling DequeModule RigidDeque+Removals.swift
[162/578] Compiling DequeModule RigidDeque+Replacements.swift
[163/578] Compiling DequeModule RigidDeque+Testing.swift
[164/578] Compiling DequeModule RigidDeque.swift
[165/578] Compiling DequeModule UniqueDeque+Append.swift
[165/578] Compiling tls13_client.cc
[167/578] Compiling DequeModule Deque+Codable.swift
[168/578] Compiling DequeModule Deque+Collection.swift
[169/578] Compiling DequeModule Deque+CustomReflectable.swift
[170/578] Compiling DequeModule Deque+Descriptions.swift
[171/578] Compiling DequeModule Deque+Equatable.swift
[172/578] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[172/578] Compiling tls13_both.cc
[173/578] Compiling ssl_versions.cc
[174/578] Compiling t1_enc.cc
[176/578] Compiling DequeModule Deque+Extras.swift
[177/578] Compiling DequeModule Deque+Hashable.swift
[178/578] Compiling DequeModule Deque+Testing.swift
[179/578] Compiling DequeModule Deque._Storage.swift
[180/578] Compiling DequeModule Deque._UnsafeHandle.swift
[181/578] Compiling DequeModule Deque.swift
[181/578] Compiling ssl_x509.cc
[183/578] Emitting module Metrics
[184/578] Compiling Metrics Metrics.swift
[185/579] Compiling ssl_transcript.cc
[186/579] Compiling ssl_stat.cc
[187/579] Compiling ssl_privkey.cc
[188/579] Compiling ssl_session.cc
[190/579] Compiling DequeModule UniqueDeque+Replacements.swift
[191/579] Compiling DequeModule UniqueDeque.swift
[192/579] Compiling DequeModule _DequeSlot.swift
[193/579] Compiling DequeModule _UnsafeDequeHandle.swift
[194/579] Compiling DequeModule _UnsafeDequeSegments.swift
[195/579] Emitting module DequeModule
[196/580] Compiling ssl_key_share.cc
[197/580] Compiling ssl_lib.cc
[198/580] Compiling ssl_file.cc
[199/580] Compiling ssl_credential.cc
[200/580] Compiling ssl_cipher.cc
[201/580] Compiling ssl_buffer.cc
[202/580] Compiling ssl_cert.cc
[203/580] Compiling ssl_asn1.cc
[204/580] Compiling ssl_aead_ctx.cc
[205/580] Compiling s3_pkt.cc
[206/580] Compiling s3_lib.cc
[207/580] Compiling s3_both.cc
[208/580] Compiling handshake_server.cc
[209/580] Compiling handshake.cc
[210/580] Compiling handshake_client.cc
[211/580] Compiling handoff.cc
[212/580] Compiling encrypted_client_hello.cc
[213/580] Compiling dtls_record.cc
[214/580] Compiling md5-x86_64-linux.S
[215/580] Compiling extensions.cc
[216/580] Compiling md5-x86_64-apple.S
[217/580] Compiling md5-586-linux.S
[218/580] Compiling md5-586-apple.S
[219/580] Compiling chacha20_poly1305_x86_64-linux.S
[220/580] Compiling chacha20_poly1305_x86_64-apple.S
[221/580] Compiling dtls_method.cc
[222/580] Compiling chacha20_poly1305_armv8-win.S
[223/580] Compiling chacha20_poly1305_armv8-linux.S
[224/580] Compiling chacha20_poly1305_armv8-apple.S
[225/580] Compiling chacha-x86_64-linux.S
[226/580] Compiling chacha-x86_64-apple.S
[227/580] Compiling chacha-x86-linux.S
[228/580] Compiling chacha-x86-apple.S
[229/580] Compiling chacha-armv8-win.S
[229/580] Compiling err_data.cc
[231/580] Compiling chacha-armv8-linux.S
[232/580] Compiling chacha-armv8-apple.S
[233/580] Compiling chacha-armv4-linux.S
[234/580] Compiling aes128gcmsiv-x86_64-linux.S
[235/580] Compiling aes128gcmsiv-x86_64-apple.S
[236/580] Compiling x86_64-mont5-linux.S
[237/580] Compiling x86_64-mont5-apple.S
[238/580] Compiling x86_64-mont-linux.S
[239/580] Compiling x86-mont-linux.S
[240/580] Compiling x86_64-mont-apple.S
[241/580] Compiling x86-mont-apple.S
[242/580] Compiling vpaes-x86_64-linux.S
[243/580] Compiling vpaes-x86_64-apple.S
[244/580] Compiling vpaes-x86-linux.S
[245/580] Compiling vpaes-x86-apple.S
[246/580] Compiling vpaes-armv8-win.S
[247/580] Compiling vpaes-armv8-linux.S
[248/580] Compiling vpaes-armv8-apple.S
[249/580] Compiling vpaes-armv7-linux.S
[250/580] Compiling d1_srtp.cc
[251/580] Compiling sha512-x86_64-linux.S
[252/580] Compiling sha512-x86_64-apple.S
[253/580] Compiling sha512-armv8-linux.S
[254/580] Compiling sha512-armv8-win.S
[255/580] Compiling sha512-armv8-apple.S
[256/580] Compiling sha512-armv4-linux.S
[257/580] Compiling sha512-586-linux.S
[258/580] Compiling sha512-586-apple.S
[259/580] Compiling sha256-x86_64-apple.S
[260/580] Compiling bio_ssl.cc
[261/580] Compiling sha256-x86_64-linux.S
[262/580] Compiling sha256-armv8-win.S
[263/580] Compiling sha256-armv8-linux.S
[264/580] Compiling sha256-586-linux.S
[265/580] Compiling sha256-armv4-linux.S
[266/580] Compiling sha256-armv8-apple.S
[267/580] Compiling sha256-586-apple.S
[268/580] Compiling sha1-armv8-apple.S
[269/580] Compiling sha1-x86_64-apple.S
[270/580] Compiling sha1-armv8-win.S
[271/580] Compiling sha1-x86_64-linux.S
[272/580] Compiling sha1-armv8-linux.S
[273/580] Compiling d1_pkt.cc
[274/580] Compiling sha1-armv4-large-linux.S
[275/580] Compiling sha1-586-apple.S
[276/580] Compiling rdrand-x86_64-linux.S
[277/580] Compiling rsaz-avx2-apple.S
[278/580] Compiling sha1-586-linux.S
[279/580] Compiling rdrand-x86_64-apple.S
[280/580] Compiling rsaz-avx2-linux.S
[281/580] Compiling p256_beeu-x86_64-asm-linux.S
[282/580] Compiling p256_beeu-x86_64-asm-apple.S
[283/580] Compiling p256_beeu-armv8-asm-linux.S
[284/580] Compiling p256_beeu-armv8-asm-win.S
[285/580] Compiling p256-x86_64-asm-apple.S
[286/580] Compiling p256_beeu-armv8-asm-apple.S
[287/580] Compiling p256-armv8-asm-win.S
[288/580] Compiling p256-armv8-asm-apple.S
[289/580] Compiling p256-x86_64-asm-linux.S
[290/580] Compiling p256-armv8-asm-linux.S
[291/580] Compiling ghashv8-armv8-win.S
[292/580] Compiling ghashv8-armv8-apple.S
[293/580] Compiling ghashv8-armv7-linux.S
[294/580] Compiling ghashv8-armv8-linux.S
[294/580] Compiling ghash-x86_64-linux.S
[296/580] Compiling ghash-x86_64-apple.S
[297/580] Compiling ghash-x86-apple.S
[298/580] Compiling ghash-x86-linux.S
[299/580] Compiling ghash-ssse3-x86_64-apple.S
[300/580] Compiling ghash-ssse3-x86_64-linux.S
[301/580] Compiling ghash-ssse3-x86-linux.S
[302/580] Compiling ghash-ssse3-x86-apple.S
[303/580] Compiling ghash-neon-armv8-win.S
[304/580] Compiling ghash-armv4-linux.S
[305/580] Compiling co-586-linux.S
[306/580] Compiling ghash-neon-armv8-apple.S
[307/580] Compiling ghash-neon-armv8-linux.S
[308/580] Compiling d1_lib.cc
[309/580] Compiling co-586-apple.S
[310/580] Compiling bsaes-armv7-linux.S
[311/580] Compiling bn-armv8-apple.S
[312/580] Compiling armv8-mont-win.S
[313/580] Compiling bn-586-linux.S
[314/580] Compiling bn-armv8-win.S
[315/580] Compiling bn-armv8-linux.S
[316/580] Compiling armv8-mont-linux.S
[317/580] Compiling bn-586-apple.S
[318/580] Compiling aesv8-gcm-armv8-linux.S
[319/580] Compiling armv8-mont-apple.S
[320/580] Compiling aesv8-gcm-armv8-win.S
[321/580] Compiling armv4-mont-linux.S
[322/580] Compiling aesv8-gcm-armv8-apple.S
[323/580] Compiling aesv8-armv8-apple.S
[324/580] Compiling aesv8-armv8-win.S
[325/580] Compiling aesv8-armv8-linux.S
[326/580] Compiling aesv8-armv7-linux.S
[327/580] Compiling aesni-x86_64-linux.S
[328/580] Compiling aesni-x86-apple.S
[329/580] Compiling aesni-x86-linux.S
[330/580] Compiling aesni-gcm-x86_64-apple.S
[331/580] Compiling aesni-x86_64-apple.S
[332/580] Compiling aesni-gcm-x86_64-linux.S
[333/580] Compiling aes-gcm-avx2-x86_64-apple.S
[334/580] Compiling aes-gcm-avx10-x86_64-linux.S
[335/580] Compiling aes-gcm-avx2-x86_64-linux.S
[336/580] Compiling aes-gcm-avx10-x86_64-apple.S
[337/580] Compiling d1_both.cc
[338/580] Compiling x_sig.cc
[339/580] Compiling x_val.cc
[340/580] Compiling x_spki.cc
[341/580] Compiling x_pubkey.cc
[342/580] Compiling x_x509a.cc
[343/580] Compiling x_x509.cc
[344/580] Compiling x_req.cc
[345/580] Compiling x_name.cc
[346/580] Compiling x509rset.cc
[347/580] Compiling x_algor.cc
[348/580] Compiling x_crl.cc
[349/580] Compiling x_attrib.cc
[350/580] Compiling x509spki.cc
[351/580] Compiling x_exten.cc
[352/580] Compiling x_all.cc
[353/580] Compiling x509name.cc
[354/580] Compiling x509cset.cc
[355/580] Compiling x509_vpm.cc
[356/580] Compiling x509_txt.cc
[357/580] Compiling x509_v3.cc
[358/580] Compiling x509_trs.cc
[358/580] Compiling x509_set.cc
[360/580] Compiling x509_vfy.cc
[361/580] Compiling x509_req.cc
[362/580] Compiling x509_obj.cc
[363/580] Compiling x509_lu.cc
[364/580] Compiling x509_d2.cc
[365/580] Compiling x509_def.cc
[366/580] Compiling x509_ext.cc
[367/580] Compiling x509_cmp.cc
[368/580] Compiling x509_att.cc
[369/580] Compiling x509.cc
[370/580] Compiling v3_utl.cc
[371/580] Compiling v3_prn.cc
[372/580] Compiling v3_skey.cc
[373/580] Compiling v3_purp.cc
[374/580] Compiling v3_pmaps.cc
[375/580] Compiling v3_ocsp.cc
[376/580] Compiling v3_pcons.cc
[377/580] Compiling v3_ncons.cc
[378/580] Compiling v3_int.cc
[379/580] Compiling v3_lib.cc
[380/580] Compiling v3_info.cc
[381/580] Compiling v3_ia5.cc
[382/580] Compiling v3_genn.cc
[383/580] Compiling v3_extku.cc
[384/580] Compiling v3_enum.cc
[385/580] Compiling v3_crld.cc
[386/580] Compiling v3_conf.cc
[387/580] Compiling v3_bitst.cc
[388/580] Compiling v3_cpols.cc
[389/580] Compiling v3_bcons.cc
[390/580] Compiling v3_alt.cc
[391/580] Compiling v3_akeya.cc
[392/580] Compiling v3_akey.cc
[393/580] Compiling t_x509a.cc
[394/580] Compiling i2d_pr.cc
[395/580] Compiling t_crl.cc
[396/580] Compiling t_x509.cc
[397/580] Compiling t_req.cc
[398/580] Compiling name_print.cc
[399/580] Compiling rsa_pss.cc
[400/580] Compiling policy.cc
[401/580] Compiling by_file.cc
[402/580] Compiling by_dir.cc
[403/580] Compiling asn1_gen.cc
[403/580] Compiling voprf.cc
[405/580] Compiling a_verify.cc
[406/580] Compiling algorithm.cc
[407/580] Compiling a_digest.cc
[408/580] Compiling a_sign.cc
[409/580] Compiling thread_win.cc
[410/580] Compiling thread_none.cc
[411/580] Compiling trust_token.cc
[412/580] Compiling thread.cc
[413/580] Compiling thread_pthread.cc
[414/580] Compiling stack.cc
[415/580] Compiling sha512.cc
[416/580] Compiling sha256.cc
[417/580] Compiling siphash.cc
[418/580] Compiling rsa_print.cc
[419/580] Compiling sha1.cc
[420/580] Compiling pmbtoken.cc
[421/580] Compiling slhdsa.cc
[422/580] Compiling rsa_extra.cc
[423/580] Compiling refcount.cc
[424/580] Compiling rc4.cc
[425/580] Compiling spake2plus.cc
[426/580] Compiling rsa_crypt.cc
[427/580] Compiling windows.cc
[428/580] Compiling passive.cc
[429/580] Compiling trusty.cc
[430/580] Compiling rand.cc
[431/580] Compiling urandom.cc
[432/580] Compiling ios.cc
[433/580] Compiling rsa_asn1.cc
[434/580] Compiling poly1305_arm_asm.S
[435/580] Compiling getentropy.cc
[436/580] Compiling poly1305.cc
[437/580] Compiling deterministic.cc
[438/580] Compiling forkunsafe.cc
[439/580] Compiling fork_detect.cc
[440/580] Compiling poly1305_arm.cc
[441/580] Compiling poly1305_vec.cc
[442/580] Compiling pool.cc
[443/580] Compiling pkcs8.cc
[444/580] Compiling pkcs7.cc
[445/580] Compiling p5_pbev2.cc
[446/580] Compiling pkcs8_x509.cc
[447/580] Compiling pkcs7_x509.cc
[448/580] Compiling pem_xaux.cc
[449/580] Compiling pem_x509.cc
[450/580] Compiling pem_pkey.cc
[451/580] Compiling pem_pk8.cc
[452/580] Compiling mlkem.cc
[453/580] Compiling obj_xref.cc
[454/580] Compiling pem_oth.cc
[455/580] Compiling pem_info.cc
[456/580] Compiling mldsa.cc
[457/580] Compiling pem_lib.cc
[458/580] Compiling pem_all.cc
[459/580] Compiling obj.cc
[460/580] Compiling mem.cc
[461/580] Compiling fips_shared_support.cc
[462/580] Compiling poly_rq_mul.S
[463/580] Compiling md5.cc
[464/580] Compiling md4.cc
[465/580] Compiling lhash.cc
[466/580] Compiling sign.cc
[467/580] Compiling ex_data.cc
[468/580] Compiling kyber.cc
[469/580] Compiling scrypt.cc
[470/580] Compiling hrss.cc
[471/580] Compiling hpke.cc
[472/580] Compiling pbkdf.cc
[473/580] Compiling print.cc
[474/580] Compiling p_x25519.cc
[475/580] Compiling p_x25519_asn1.cc
[476/580] Compiling p_ed25519.cc
[477/580] Compiling p_rsa_asn1.cc
[478/580] Compiling p_rsa.cc
[479/580] Compiling p_ec.cc
[480/580] Compiling p_hkdf.cc
[481/580] Compiling p_ed25519_asn1.cc
[482/580] Compiling p_dh.cc
[483/580] Compiling p_ec_asn1.cc
[484/580] Compiling p_dh_asn1.cc
[485/580] Compiling evp.cc
[486/580] Compiling err.cc
[487/580] Compiling evp_ctx.cc
[488/580] Compiling p_dsa_asn1.cc
[489/580] Compiling engine.cc
[490/580] Compiling ecdh.cc
[491/580] Compiling evp_asn1.cc
[492/580] Compiling ec_derive.cc
[493/580] Compiling hash_to_curve.cc
[494/580] Compiling ecdsa_asn1.cc
[495/580] Compiling ec_asn1.cc
[496/580] Compiling dsa.cc
[497/580] Compiling dsa_asn1.cc
[498/580] Compiling params.cc
[499/580] Compiling x25519-asm-arm.S
[500/580] Compiling des.cc
[501/580] Compiling digest_extra.cc
[502/580] Compiling dh_asn1.cc
[503/580] Compiling cpu_intel.cc
[504/580] Compiling crypto.cc
[505/580] Compiling cpu_arm_linux.cc
[506/580] Compiling spake25519.cc
[507/580] Compiling cpu_arm_freebsd.cc
[508/580] Compiling curve25519.cc
[509/580] Compiling bcm.cc
[510/580] Compiling cpu_aarch64_openbsd.cc
[511/580] Compiling cpu_aarch64_sysreg.cc
[512/580] Compiling cpu_aarch64_win.cc
[513/580] Compiling cpu_aarch64_linux.cc
[514/580] Compiling cpu_aarch64_fuchsia.cc
[515/580] Compiling cpu_aarch64_apple.cc
[516/580] Compiling tls_cbc.cc
[517/580] Compiling curve25519_64_adx.cc
[518/580] Compiling conf.cc
[519/580] Compiling get_cipher.cc
[520/580] Compiling e_rc4.cc
[521/580] Compiling e_tls.cc
[522/580] Compiling e_null.cc
[523/580] Compiling e_rc2.cc
[524/580] Compiling e_des.cc
[525/580] Compiling e_chacha20poly1305.cc
[526/580] Compiling e_aesgcmsiv.cc
[527/580] Compiling derive_key.cc
[528/580] Compiling e_aesctrhmac.cc
[529/580] Compiling chacha.cc
[530/580] Compiling unicode.cc
[531/580] Compiling buf.cc
[532/580] Compiling cbb.cc
[533/580] Compiling cbs.cc
[534/580] Compiling ber.cc
[535/580] Compiling asn1_compat.cc
[536/580] Compiling bn_asn1.cc
[537/580] Compiling convert.cc
[538/580] Compiling blake2.cc
[539/580] Compiling socket.cc
[540/580] Compiling socket_helper.cc
[541/580] Compiling printf.cc
[542/580] Compiling file.cc
[543/580] Compiling hexdump.cc
[544/580] Compiling pair.cc
[545/580] Compiling errno.cc
[546/580] Compiling fd.cc
[547/580] Compiling connect.cc
[548/580] Compiling bio_mem.cc
[549/580] Compiling tasn_typ.cc
[550/580] Compiling base64.cc
[551/580] Compiling bio.cc
[552/580] Compiling f_int.cc
[553/580] Compiling tasn_fre.cc
[554/580] Compiling tasn_utl.cc
[555/580] Compiling posix_time.cc
[556/580] Compiling tasn_new.cc
[557/580] Compiling tasn_enc.cc
[558/580] Compiling f_string.cc
[559/580] Compiling asn_pack.cc
[560/580] Compiling tasn_dec.cc
[561/580] Compiling asn1_par.cc
[562/580] Compiling asn1_lib.cc
[563/580] Compiling a_type.cc
[564/580] Compiling a_utctm.cc
[565/580] Compiling a_octet.cc
[566/580] Compiling a_time.cc
[567/580] Compiling a_strnid.cc
[568/580] Compiling a_object.cc
[569/580] Compiling a_mbstr.cc
[570/580] Compiling a_strex.cc
[571/580] Compiling a_bool.cc
[572/580] Compiling a_i2d_fp.cc
[573/580] Compiling a_dup.cc
[574/580] Compiling a_d2i_fp.cc
[575/580] Compiling a_int.cc
[576/580] Compiling a_gentm.cc
[577/580] Compiling a_bitstr.cc
[578/580] Compiling c-nioatomics.c
[579/580] Compiling c-atomics.c
[581/587] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[582/587] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[583/587] Compiling NIOConcurrencyHelpers NIOLock.swift
[584/587] Compiling NIOConcurrencyHelpers lock.swift
[585/587] Emitting module NIOConcurrencyHelpers
[586/587] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[587/587] Compiling NIOConcurrencyHelpers atomics.swift
[589/652] Compiling NIOCore NIOCoreSendableMetatype.swift
[590/652] Compiling NIOCore NIODecodedAsyncSequence.swift
[591/652] Compiling NIOCore NIOLoopBound.swift
[592/652] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[593/652] Compiling NIOCore NIOScheduledCallback.swift
[594/652] Compiling NIOCore NIOSendable.swift
[595/652] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[596/652] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[597/652] Compiling NIOCore RecvByteBufferAllocator.swift
[598/660] Compiling NIOCore IPProtocol.swift
[599/660] Compiling NIOCore IntegerBitPacking.swift
[600/660] Compiling NIOCore IntegerTypes.swift
[601/660] Compiling NIOCore Interfaces.swift
[602/660] Compiling NIOCore Linux.swift
[603/660] Compiling NIOCore MarkedCircularBuffer.swift
[604/660] Compiling NIOCore MulticastChannel.swift
[605/660] Compiling NIOCore NIOAny.swift
[606/660] Compiling NIOCore NIOCloseOnErrorHandler.swift
[607/660] Compiling NIOCore EventLoopFuture+Deprecated.swift
[608/660] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[609/660] Compiling NIOCore EventLoopFuture.swift
[610/660] Compiling NIOCore FileDescriptor.swift
[611/660] Compiling NIOCore FileHandle.swift
[612/660] Compiling NIOCore FileRegion.swift
[613/660] Compiling NIOCore GlobalSingletons.swift
[614/660] Compiling NIOCore IO.swift
[615/660] Compiling NIOCore IOData.swift
[616/660] Compiling NIOCore CircularBuffer.swift
[617/660] Compiling NIOCore Codec.swift
[618/660] Compiling NIOCore ConvenienceOptionSupport.swift
[619/660] Compiling NIOCore DeadChannel.swift
[620/660] Compiling NIOCore DispatchQueue+WithFuture.swift
[621/660] Compiling NIOCore EventLoop+Deprecated.swift
[622/660] Compiling NIOCore EventLoop+SerialExecutor.swift
[623/660] Compiling NIOCore EventLoop.swift
[624/660] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[625/660] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[626/660] Compiling NIOCore SocketAddresses.swift
[627/660] Compiling NIOCore SocketOptionProvider.swift
[628/660] Compiling NIOCore SystemCallHelpers.swift
[629/660] Compiling NIOCore TimeAmount+Duration.swift
[630/660] Compiling NIOCore TypeAssistedChannelHandler.swift
[631/660] Compiling NIOCore UniversalBootstrapSupport.swift
[632/660] Compiling NIOCore Utilities.swift
[633/660] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[634/660] Compiling NIOCore BSDSocketAPI.swift
[635/660] Compiling NIOCore ByteBuffer-aux.swift
[636/660] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[637/660] Compiling NIOCore ByteBuffer-conversions.swift
[638/660] Compiling NIOCore ByteBuffer-core.swift
[639/660] Compiling NIOCore ByteBuffer-hex.swift
[640/660] Compiling NIOCore ByteBuffer-int.swift
[641/660] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[642/660] Compiling NIOCore AddressedEnvelope.swift
[643/660] Compiling NIOCore AsyncAwaitSupport.swift
[644/660] Compiling NIOCore AsyncChannel.swift
[645/660] Compiling NIOCore AsyncChannelHandler.swift
[646/660] Compiling NIOCore AsyncChannelInboundStream.swift
[647/660] Compiling NIOCore AsyncChannelOutboundWriter.swift
[648/660] Compiling NIOCore NIOAsyncSequenceProducer.swift
[649/660] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[650/660] Compiling NIOCore NIOAsyncWriter.swift
[651/660] Compiling NIOCore ByteBuffer-multi-int.swift
[652/660] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[653/660] Compiling NIOCore ByteBuffer-views.swift
[654/660] Compiling NIOCore Channel.swift
[655/660] Compiling NIOCore ChannelHandler.swift
[656/660] Compiling NIOCore ChannelHandlers.swift
[657/660] Compiling NIOCore ChannelInvoker.swift
[658/660] Compiling NIOCore ChannelOption.swift
[659/660] Compiling NIOCore ChannelPipeline.swift
[660/660] Emitting module NIOCore
[662/715] Emitting module NIOEmbedded
[663/715] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[664/715] Compiling NIOEmbedded AsyncTestingChannel.swift
[665/715] Compiling NIOEmbedded Embedded.swift
[667/716] Compiling NIOPosix HappyEyeballs.swift
[668/716] Compiling NIOPosix IO.swift
[669/716] Compiling NIOPosix IntegerBitPacking.swift
[670/716] Compiling NIOPosix IntegerTypes.swift
[671/716] Compiling NIOPosix Linux.swift
[672/716] Compiling NIOPosix LinuxCPUSet.swift
[673/716] Compiling NIOPosix LinuxUring.swift
[674/722] Compiling NIOPosix ThreadPosix.swift
[675/722] Compiling NIOPosix ThreadWindows.swift
[676/722] Compiling NIOPosix Utilities.swift
[677/722] Compiling NIOPosix VsockAddress.swift
[678/722] Compiling NIOPosix VsockChannelEvents.swift
[679/722] Compiling NIOPosix Windows.swift
[680/722] Compiling NIOPosix SelectableChannel.swift
[681/722] Compiling NIOPosix SelectableEventLoop.swift
[682/722] Compiling NIOPosix SelectorEpoll.swift
[683/722] Compiling NIOPosix SelectorGeneric.swift
[684/722] Compiling NIOPosix SelectorKqueue.swift
[685/722] Compiling NIOPosix SelectorUring.swift
[686/722] Compiling NIOPosix SelectorWSAPoll.swift
[687/722] Compiling NIOPosix PipePair.swift
[688/722] Compiling NIOPosix Pool.swift
[689/722] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[690/722] Compiling NIOPosix PosixSingletons.swift
[691/722] Compiling NIOPosix RawSocketBootstrap.swift
[692/722] Compiling NIOPosix Resolver.swift
[693/722] Compiling NIOPosix Selectable.swift
[694/722] Compiling NIOPosix ServerSocket.swift
[695/722] Compiling NIOPosix Socket.swift
[696/722] Compiling NIOPosix SocketChannel.swift
[697/722] Compiling NIOPosix SocketProtocols.swift
[698/722] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[699/722] Compiling NIOPosix System.swift
[700/722] Compiling NIOPosix Thread.swift
[701/722] Compiling NIOPosix BSDSocketAPICommon.swift
[702/722] Compiling NIOPosix BSDSocketAPIPosix.swift
[703/722] Compiling NIOPosix BSDSocketAPIWindows.swift
[704/722] Compiling NIOPosix BaseSocket.swift
[705/722] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[706/722] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[707/722] Compiling NIOPosix BaseSocketChannel.swift
[708/722] Emitting module NIOPosix
[709/722] Compiling NIOPosix BaseStreamSocketChannel.swift
[710/722] Compiling NIOPosix Bootstrap.swift
[711/722] Compiling NIOPosix ControlMessage.swift
[712/722] Compiling NIOPosix DatagramVectorReadManager.swift
[713/722] Compiling NIOPosix Errors+Any.swift
[714/722] Compiling NIOPosix FileDescriptor.swift
[715/722] Compiling NIOPosix GetaddrinfoResolver.swift
[716/722] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[717/722] Compiling NIOPosix NIOPosixSendableMetatype.swift
[718/722] Compiling NIOPosix NIOThreadPool.swift
[719/722] Compiling NIOPosix NonBlockingFileIO.swift
[720/722] Compiling NIOPosix PendingDatagramWritesManager.swift
[721/722] Compiling NIOPosix PendingWritesManager.swift
[722/722] Compiling NIOPosix PipeChannel.swift
[724/725] Emitting module NIO
[725/725] Compiling NIO Exports.swift
[727/732] Compiling NIOTLS TLSEvents.swift
[728/732] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[729/732] Emitting module NIOTLS
[730/732] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[731/732] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[732/732] Compiling NIOTLS SNIHandler.swift
[734/762] Compiling NIOSSL SubjectAlternativeName.swift
[735/762] Compiling NIOSSL NIOSSLSecureBytes.swift
[736/762] Compiling NIOSSL RNG.swift
[737/762] Compiling NIOSSL SafeCompare.swift
[738/762] Emitting module NIOSSL
[739/766] Compiling NIOSSL NIOSSLServerHandler.swift
[740/766] Compiling NIOSSL ObjectIdentifier.swift
[741/766] Compiling NIOSSL PosixPort.swift
[742/766] Compiling NIOSSL SSLCallbacks.swift
[743/766] Compiling NIOSSL AndroidCABundle.swift
[744/766] Compiling NIOSSL ByteBufferBIO.swift
[745/766] Compiling NIOSSL CustomPrivateKey.swift
[746/766] Compiling NIOSSL IdentityVerification.swift
[747/766] Compiling NIOSSL SSLCertificate.swift
[748/766] Compiling NIOSSL SSLCertificateExtensions.swift
[749/766] Compiling NIOSSL SSLCertificateName.swift
[750/766] Compiling NIOSSL SSLConnection.swift
[751/766] Compiling NIOSSL SSLPrivateKey.swift
[752/766] Compiling NIOSSL SSLPublicKey.swift
[753/766] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[754/766] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[755/766] Compiling NIOSSL LinuxCABundle.swift
[756/766] Compiling NIOSSL NIOSSLClientHandler.swift
[757/766] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[758/766] Compiling NIOSSL NIOSSLHandler.swift
[759/766] Compiling NIOSSL SSLContext.swift
[760/766] Compiling NIOSSL SSLErrors.swift
[761/766] Compiling NIOSSL SSLInit.swift
[762/766] Compiling NIOSSL SSLPKCS12Bundle.swift
[763/766] Compiling NIOSSL Zeroization.swift
[764/766] Compiling NIOSSL TLSConfiguration.swift
[765/766] Compiling NIOSSL UniversalBootstrapSupport.swift
[766/766] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[768/801] Compiling RediStack RedisChannelName.swift
[769/801] Compiling RediStack RedisClient.swift
[770/801] Compiling RediStack RedisCommandEncoder-multi-encode.swift
[771/801] Compiling RediStack RedisCommandEncoder.swift
[772/801] Compiling RediStack RedisConnection+Configuration.swift
[773/801] Compiling RediStack RedisConnection.swift
[774/801] Compiling RediStack RedisError.swift
[775/801] Compiling RediStack RedisKey+TTL.swift
[776/805] Compiling RediStack StringCommands.swift
[777/805] Compiling RediStack ConnectionPool.swift
[778/805] Compiling RediStack RedisConnectionPool+Configuration.swift
[779/805] Compiling RediStack RedisConnectionPool.swift
[780/805] Compiling RediStack RedisConnectionPoolError.swift
[781/805] Compiling RediStack StandardLibrary.swift
[782/805] Compiling RediStack SwiftNIO.swift
[783/805] Compiling RediStack RESPTranslator.swift
[784/805] Compiling RediStack RESPValue.swift
[785/805] Compiling RediStack RESPValueConvertible.swift
[786/805] Compiling RediStack RedisKey.swift
[787/805] Compiling RediStack RedisLogging.swift
[788/805] Compiling RediStack RedisMetrics.swift
[789/805] Compiling RediStack _Deprecations.swift
[790/805] Compiling RediStack RedisClusterNodeID.swift
[791/805] Compiling RediStack RedisClusterShardDescriptionProtocol.swift
[792/805] Compiling RediStack RedisHashSlot.swift
[793/805] Compiling RediStack SwiftPolyfill.swift
[794/805] Compiling RediStack BasicCommands.swift
[795/805] Compiling RediStack RedisByteDecoder.swift
[796/805] Compiling RediStack RedisCommandHandler.swift
[797/805] Compiling RediStack RedisMessageEncoder.swift
[798/805] Compiling RediStack RedisPubSubHandler.swift
[799/805] Compiling RediStack RedisClusterNodeDescriptionProtocol.swift
[800/805] Emitting module RediStack
[801/805] Compiling RediStack HashCommands.swift
[802/805] Compiling RediStack ListCommands.swift
[803/805] Compiling RediStack PubSubCommands.swift
[804/805] Compiling RediStack SetCommands.swift
[805/805] Compiling RediStack SortedSetCommands.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[807/808] Emitting module Cachly
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:109:16: warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' contains non-Sendable type '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' contains non-Sendable type '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":
[808/808] Compiling Cachly CachlyClient.swift
/host/spi-builder-workspace/Sources/Cachly/CachlyClient.swift:109:16: warning: stored property 'namespaces' of 'Sendable'-conforming struct 'CacheStats' contains non-Sendable type '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' contains non-Sendable type '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:85: error: binary operator '??' cannot be applied to operands of type 'RedisKey.Lifetime?' and 'Int'
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: binary operator '??' cannot be applied to operands of type 'RedisKey.Lifetime?' and 'Int'
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.2 linux