The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mint, reference 0.1.0 (ef2e48), with Swift 6.3 for Wasm on 18 Apr 2026 02:10:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CorvidLabs/swift-mint.git
Reference: 0.1.0
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/CorvidLabs/swift-mint
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at ef2e488 ci: rename DocC.yml to docs.yml, standardize workflow name
Cloned https://github.com/CorvidLabs/swift-mint.git
Revision (git rev-parse @):
ef2e48893b0350b3a9fd9907261b3384ee9be435
SUCCESS checkout https://github.com/CorvidLabs/swift-mint.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/CorvidLabs/swift-mint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/CorvidLabs/swift-arc.git
Fetching https://github.com/CorvidLabs/swift-pinata
[1/81] Fetching swift-pinata
[2/217] Fetching swift-pinata, swift-arc
Fetching https://github.com/CorvidLabs/swift-algorand
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/CorvidLabs/swift-arc.git from cache (0.95s)
Fetched https://github.com/CorvidLabs/swift-pinata from cache (0.95s)
[1/187] Fetching swift-algorand
[188/2464] Fetching swift-algorand, swift-docc-plugin
Fetched https://github.com/CorvidLabs/swift-algorand from cache (0.73s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.79s)
Computing version for https://github.com/CorvidLabs/swift-arc.git
Computed https://github.com/CorvidLabs/swift-arc.git at 0.1.1 (2.47s)
Fetching https://github.com/apple/swift-crypto.git
[1/17407] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.05s)
Computing version for https://github.com/CorvidLabs/swift-pinata
Computed https://github.com/CorvidLabs/swift-pinata at 0.2.0 (3.79s)
Computing version for https://github.com/CorvidLabs/swift-algorand
Computed https://github.com/CorvidLabs/swift-algorand at 0.3.2 (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.90s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (4.43s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.03s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (4.63s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/CorvidLabs/swift-algorand
Working copy of https://github.com/CorvidLabs/swift-algorand resolved at 0.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/CorvidLabs/swift-arc.git
Working copy of https://github.com/CorvidLabs/swift-arc.git resolved at 0.1.1
Creating working copy for https://github.com/CorvidLabs/swift-pinata
Working copy of https://github.com/CorvidLabs/swift-pinata resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/376] Write sources
[6/376] Compiling fiat_p256_adx_sqr.S
[7/376] Compiling fiat_p256_adx_mul.S
[8/376] Compiling fiat_curve25519_adx_square.S
[9/376] Compiling fiat_curve25519_adx_mul.S
[10/376] Compiling md5-x86_64-linux.S
[11/376] Compiling md5-x86_64-apple.S
[12/376] Compiling md5-586-linux.S
[13/376] Compiling md5-586-apple.S
[14/376] Compiling chacha20_poly1305_x86_64-linux.S
[15/376] Compiling chacha20_poly1305_x86_64-apple.S
[16/376] Compiling chacha20_poly1305_armv8-win.S
[17/376] Compiling chacha20_poly1305_armv8-linux.S
[18/376] Compiling CCryptoBoringSSLShims shims.c
[19/376] Compiling chacha20_poly1305_armv8-apple.S
[20/376] Compiling chacha-x86_64-linux.S
[21/376] Compiling chacha-x86_64-apple.S
[22/376] Compiling chacha-x86-linux.S
[23/376] Compiling chacha-x86-apple.S
[24/376] Compiling chacha-armv8-win.S
[25/376] Compiling chacha-armv8-apple.S
[26/376] Compiling chacha-armv8-linux.S
[27/376] Compiling chacha-armv4-linux.S
[28/376] Compiling aes128gcmsiv-x86_64-linux.S
[29/376] Compiling aes128gcmsiv-x86_64-apple.S
[30/376] Compiling x86_64-mont5-linux.S
[31/376] Compiling x86_64-mont5-apple.S
[32/376] Compiling x86_64-mont-linux.S
[33/376] Compiling x86_64-mont-apple.S
[34/376] Compiling x86-mont-apple.S
[35/376] Compiling x86-mont-linux.S
[36/376] Compiling vpaes-x86_64-linux.S
[37/376] Compiling pkcs7.cc
[38/376] Compiling vpaes-x86-linux.S
[39/376] Compiling vpaes-x86_64-apple.S
[40/376] Compiling vpaes-x86-apple.S
[41/376] Compiling vpaes-armv8-win.S
[42/376] Compiling err_data.cc
[43/376] Compiling vpaes-armv8-apple.S
[43/376] Compiling pem_xaux.cc
[45/376] Compiling vpaes-armv8-linux.S
[46/376] Compiling pkcs7_x509.cc
[47/376] Compiling vpaes-armv7-linux.S
[48/376] Compiling sha512-x86_64-linux.S
[49/376] Write swift-version-24593BA9C3E375BF.txt
[50/376] Compiling sha512-x86_64-apple.S
[51/376] Compiling sha512-armv8-linux.S
[52/376] Compiling sha512-armv4-linux.S
[53/376] Compiling sha512-586-linux.S
[54/376] Compiling sha512-armv8-win.S
[55/376] Compiling sha512-armv8-apple.S
[56/378] Compiling sha256-x86_64-apple.S
[57/383] Compiling sha512-586-apple.S
[58/383] Compiling sha256-x86_64-linux.S
[59/383] Compiling sha256-armv8-win.S
[60/383] Compiling sha256-armv4-linux.S
[61/383] Compiling sha256-armv8-linux.S
[62/383] Compiling sha256-armv8-apple.S
[63/383] Compiling sha256-586-linux.S
[64/383] Compiling sha1-x86_64-apple.S
[65/383] Compiling sha256-586-apple.S
[66/383] Compiling sha1-x86_64-linux.S
[67/383] Compiling sha1-armv8-win.S
[67/383] Compiling sha1-armv8-apple.S
[69/383] Compiling sha1-armv8-linux.S
[70/383] Compiling sha1-586-apple.S
[71/383] Compiling sha1-586-linux.S
[72/383] Compiling rsaz-avx2-apple.S
[73/383] Compiling sha1-armv4-large-linux.S
[74/383] Compiling rdrand-x86_64-linux.S
[75/383] Compiling p256_beeu-x86_64-asm-linux.S
[75/383] Compiling rsaz-avx2-linux.S
[77/383] Compiling rdrand-x86_64-apple.S
[78/383] Compiling p256_beeu-x86_64-asm-apple.S
[79/383] Compiling v3_skey.cc
[80/383] Compiling p256_beeu-armv8-asm-linux.S
[81/383] Compiling p256_beeu-armv8-asm-win.S
[82/383] Compiling p256_beeu-armv8-asm-apple.S
[83/383] Compiling p256-x86_64-asm-linux.S
[84/383] Compiling p256-armv8-asm-win.S
[85/383] Compiling p256-x86_64-asm-apple.S
[86/383] Compiling p256-armv8-asm-linux.S
[87/383] Compiling p256-armv8-asm-apple.S
[88/383] Compiling ghashv8-armv8-linux.S
[89/383] Compiling ghashv8-armv7-linux.S
[90/383] Compiling ghashv8-armv8-win.S
[91/383] Compiling ghash-x86-linux.S
[92/383] Compiling ghashv8-armv8-apple.S
[93/383] Compiling ghash-x86_64-apple.S
[94/383] Compiling ghash-x86-apple.S
[95/383] Compiling ghash-ssse3-x86-linux.S
[96/383] Compiling ghash-ssse3-x86_64-linux.S
[97/383] Compiling ghash-x86_64-linux.S
[98/383] Compiling ghash-ssse3-x86-apple.S
[99/383] Compiling ghash-ssse3-x86_64-apple.S
[100/383] Compiling ghash-neon-armv8-win.S
[101/383] Compiling ghash-neon-armv8-linux.S
[102/383] Compiling ghash-armv4-linux.S
[103/383] Compiling co-586-apple.S
[104/383] Compiling co-586-linux.S
[105/383] Compiling ghash-neon-armv8-apple.S
[106/383] Compiling bn-armv8-win.S
[107/383] Compiling bsaes-armv7-linux.S
[108/383] Compiling bn-armv8-apple.S
[109/383] Compiling bn-586-linux.S
[110/383] Compiling bn-armv8-linux.S
[111/383] Compiling armv8-mont-linux.S
[111/383] Compiling armv8-mont-win.S
[113/383] Compiling bn-586-apple.S
[114/383] Compiling armv8-mont-apple.S
[115/383] Compiling aesv8-gcm-armv8-win.S
[116/383] Compiling aesv8-gcm-armv8-linux.S
[117/383] Compiling aesv8-armv8-win.S
[118/383] Compiling armv4-mont-linux.S
[119/383] Compiling aesv8-armv8-linux.S
[120/383] Compiling aesv8-gcm-armv8-apple.S
[121/383] Compiling aesv8-armv8-apple.S
[122/383] Compiling aesv8-armv7-linux.S
[123/383] Compiling aesni-x86_64-linux.S
[124/383] Compiling aesni-x86-linux.S
[125/383] Compiling aesni-x86_64-apple.S
[126/383] Compiling aesni-gcm-x86_64-linux.S
[127/383] Compiling aesni-x86-apple.S
[128/383] Compiling aesni-gcm-x86_64-apple.S
[129/383] Compiling aes-gcm-avx2-x86_64-apple.S
[130/383] Compiling aes-gcm-avx2-x86_64-linux.S
[131/383] Compiling aes-gcm-avx512-x86_64-apple.S
[132/383] Compiling aes-gcm-avx512-x86_64-linux.S
[133/383] Compiling xwing.cc
[134/383] Compiling x_x509.cc
[135/383] Compiling x_sig.cc
[136/383] Compiling x_req.cc
[137/383] Compiling x_pubkey.cc
[138/383] Compiling x_spki.cc
[139/383] Compiling x_x509a.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[141/383] Emitting module Pinata
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |
 26 |     /// The URL session used for requests.
 27 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     ) {
 44 |         self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     ) {
 44 |         self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |     ) {
 44 |         self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: value of type '_' expected to be instance of class or class-constrained type
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 87 |     ) {
 88 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 87 |     ) {
 88 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     ) {
107 |         self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: value of type '_' expected to be instance of class or class-constrained type
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
106 |     ) {
107 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 |     ) {
107 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 |     private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 |     private func applyAuthentication(to request: inout URLRequest) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
617 |         request.setValue(
618 |             configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 |     }
625 |
626 |     private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
    |                                                   `- error: cannot find type 'URLRequest' in scope
627 |         let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 |     }
635 |
636 |     private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                                        `- error: cannot find type 'URLRequest' in scope
637 |         var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 |     }
635 |
636 |     private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 |         var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[141/383] Compiling x_name.cc
[142/383] Compiling x_exten.cc
[143/383] Compiling x_attrib.cc
[144/383] Compiling x_algor.cc
[145/383] Compiling x_all.cc
[146/383] Compiling x509spki.cc
[147/383] Compiling x_crl.cc
[148/383] Compiling x509rset.cc
[149/383] Compiling x509name.cc
[150/383] Compiling x509_vpm.cc
[151/383] Compiling x509cset.cc
[152/383] Compiling x509_vfy.cc
[153/383] Compiling x509_v3.cc
[154/383] Compiling x509_txt.cc
[155/383] Compiling x509_trs.cc
[156/383] Compiling x509_obj.cc
[157/383] Compiling x509_set.cc
[158/383] Compiling x509_ext.cc
[159/383] Compiling x509_lu.cc
[160/383] Compiling x509_req.cc
[161/383] Compiling x509_def.cc
[162/383] Compiling x509.cc
[163/383] Compiling x509_d2.cc
[164/383] Compiling x509_cmp.cc
[165/383] Compiling v3_utl.cc
[166/383] Compiling x509_att.cc
[167/383] Compiling v3_purp.cc
[168/383] Compiling v3_pmaps.cc
[169/383] Compiling v3_pcons.cc
[170/383] Compiling v3_ocsp.cc
[171/383] Compiling v3_prn.cc
[172/383] Compiling v3_ncons.cc
[174/383] Compiling Pinata PinataConfiguration.swift
[175/383] Compiling Pinata PinataCredentials.swift
[176/383] Compiling Pinata Pinata.swift
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |
 26 |     /// The URL session used for requests.
 27 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// JSON decoder configured for Pinata API responses.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     ) {
 44 |         self.configuration = configuration
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 43 |     ) {
 44 |         self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:42:32: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     public init(
 41 |         configuration: PinataConfiguration,
 42 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |     ) {
 44 |         self.configuration = configuration
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: value of type '_' expected to be instance of class or class-constrained type
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 87 |     ) {
 88 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:86:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 84 |         jwt: String,
 85 |         gatewayDomain: String? = nil,
 86 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 87 |     ) {
 88 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     ) {
107 |         self.init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
106 |     ) {
107 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:105:32: error: value of type '_' expected to be instance of class or class-constrained type
103 |         apiSecret: String,
104 |         gatewayDomain: String? = nil,
105 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
106 |     ) {
107 |         self.init(
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:616:56: error: cannot find type 'URLRequest' in scope
614 |     private static let baseRetryDelay: UInt64 = 500_000_000
615 |
616 |     private func applyAuthentication(to request: inout URLRequest) {
    |                                                        `- error: cannot find type 'URLRequest' in scope
617 |         request.setValue(
618 |             configuration.credentials.authorizationHeader,
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:626:51: error: cannot find type 'URLRequest' in scope
624 |     }
625 |
626 |     private func perform<T: Decodable>(_ request: URLRequest) async throws -> T {
    |                                                   `- error: cannot find type 'URLRequest' in scope
627 |         let (data, _) = try await performRaw(request)
628 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:40: error: cannot find type 'URLRequest' in scope
634 |     }
635 |
636 |     private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                                        `- error: cannot find type 'URLRequest' in scope
637 |         var lastError: Error?
638 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:636:75: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
634 |     }
635 |
636 |     private func performRaw(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
637 |         var lastError: Error?
638 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:141:23: error: cannot find 'URLRequest' in scope
139 |         let url = PinataConfiguration.uploadBaseURL.appendingPathComponent("v3/files")
140 |
141 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
142 |         request.httpMethod = "POST"
143 |
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:254:23: error: cannot find 'URLRequest' in scope
252 |         }
253 |
254 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
255 |         request.httpMethod = "GET"
256 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:282:23: error: cannot find 'URLRequest' in scope
280 |             .appendingPathComponent(id)
281 |
282 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
283 |         request.httpMethod = "GET"
284 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:308:23: error: cannot find 'URLRequest' in scope
306 |             .appendingPathComponent(id)
307 |
308 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
309 |         request.httpMethod = "DELETE"
310 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:354:23: error: cannot find 'URLRequest' in scope
352 |             .appendingPathComponent(id)
353 |
354 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
355 |         request.httpMethod = "PUT"
356 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:406:23: error: cannot find 'URLRequest' in scope
404 |             .appendingPathComponent(cid)
405 |
406 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
407 |         request.httpMethod = "PUT"
408 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:453:23: error: cannot find 'URLRequest' in scope
451 |         }
452 |
453 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
454 |         request.httpMethod = "GET"
455 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:482:23: error: cannot find 'URLRequest' in scope
480 |             .appendingPathComponent(cid)
481 |
482 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
483 |         request.httpMethod = "DELETE"
484 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:507:23: error: cannot find 'URLRequest' in scope
505 |         let url = PinataConfiguration.apiBaseURL.appendingPathComponent("v3/files/groups")
506 |
507 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
508 |         request.httpMethod = "POST"
509 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:557:23: error: cannot find 'URLRequest' in scope
555 |         }
556 |
557 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
558 |         request.httpMethod = "GET"
559 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:579:23: error: cannot find 'URLRequest' in scope
577 |             .appendingPathComponent(id)
578 |
579 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
580 |         request.httpMethod = "GET"
581 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:599:23: error: cannot find 'URLRequest' in scope
597 |             .appendingPathComponent(id)
598 |
599 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
600 |         request.httpMethod = "DELETE"
601 |         applyAuthentication(to: &request)
/host/spi-builder-workspace/.build/checkouts/swift-pinata/Sources/Pinata/Pinata.swift:641:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
639 |         for attempt in 0..<Self.maxRetries {
640 |             do {
641 |                 let (data, response) = try await session.data(for: request)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
642 |
643 |                 guard let httpResponse = response as? HTTPURLResponse else {
[176/383] Compiling v3_int.cc
[178/383] Compiling Pinata PinataError.swift
[179/383] Compiling Pinata PinataGroup.swift
[179/383] Compiling v3_ia5.cc
[181/383] Compiling Pinata PinataFile.swift
[181/383] Compiling v3_crld.cc
[181/383] Compiling v3_extku.cc
[181/383] Compiling v3_cpols.cc
[181/383] Compiling v3_lib.cc
[181/383] Compiling v3_info.cc
[181/383] Compiling v3_genn.cc
[181/383] Compiling v3_enum.cc
BUILD FAILURE 6.3 wasm